Skip to content

Commit 293a2da

Browse files
committed
Reverting changes
1 parent a560d85 commit 293a2da

File tree

329 files changed

+11213
-13967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+11213
-13967
lines changed

.azure-pipelines/1esmain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extends:
5151
credscan:
5252
suppressionsFile: $(Build.SourcesDirectory)/.azure-pipelines/compliance/CredScanSuppressions.json
5353
codeql:
54-
language: javascript # only build a codeql database for javascript, since the jsoncli pipeline handles csharp
54+
language: javascript
5555
# enabled: true # TODO: would like to enable only on scheduled builds but CodeQL cannot currently be disabled per https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/1es-codeql
5656
pool:
5757
name: VSEngSS-MicroBuild2022-1ES # Name of your hosted pool

.azure-pipelines/common/test.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,6 @@ steps:
77
displayName: 'Start X Virtual Frame Buffer'
88
condition: eq(variables['Agent.OS'], 'Linux')
99

10-
# Tempoary workaround for https://github.com/ballerina-platform/ballerina-distribution/issues/4537
11-
- script: |
12-
curl -o ballerina.deb 'https://dist.ballerina.io/downloads/2201.6.0/ballerina-2201.6.0-swan-lake-linux-x64.deb'
13-
sudo dpkg -i ballerina.deb
14-
rm -f ballerina.deb
15-
displayName: Install Ballerina(Linux)
16-
condition: eq(variables['Agent.OS'], 'Linux')
17-
18-
- script: |
19-
curl -o ballerina.pkg 'https://dist.ballerina.io/downloads/2201.6.0/ballerina-2201.6.0-swan-lake-macos-x64.pkg'
20-
sudo installer -pkg ballerina.pkg -target /
21-
rm -f ballerina.pkg
22-
echo '##vso[task.prependpath]/Library/Ballerina/bin'
23-
displayName: Install Ballerina(MacOS)
24-
condition: eq(variables['Agent.OS'], 'Darwin')
25-
26-
- script: |
27-
curl -o ballerina.msi https://dist.ballerina.io/downloads/2201.6.0/ballerina-2201.6.0-swan-lake-windows-x64.msi
28-
msiexec /i ballerina.msi /quiet /qr /L*V "C:\Temp\msilog.log"
29-
del ballerina.msi
30-
echo "##vso[task.setvariable variable=PATH]C:\Program Files\Ballerina\bin;$(PATH)"
31-
displayName: Install Ballerina(Windows)
32-
condition: eq(variables['Agent.OS'], 'Windows_NT')
33-
3410
- task: UsePythonVersion@0
3511
displayName: 'Use Python 3.7.x'
3612
inputs:

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/info-needed-closer.yml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,10 @@ on:
44
- cron: 30 5 * * * # 10:30pm PT
55
workflow_dispatch:
66

7+
permissions:
8+
issues: write
9+
contents: read
10+
711
jobs:
812
main:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout Actions
12-
uses: actions/checkout@v2
13-
with:
14-
repository: "microsoft/vscode-github-triage-actions"
15-
path: ./actions
16-
ref: stable
17-
- name: Install Actions
18-
run: npm install --production --prefix ./actions
19-
- name: Run Info Needed Closer
20-
uses: ./actions/needs-more-info-closer
21-
with:
22-
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
23-
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
24-
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
25-
label: info-needed
26-
closeDays: 14
27-
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/azcodeissuereporting) guidelines.\n\nHappy Coding!"
28-
pingDays: 80
29-
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
13+
uses: microsoft/vscode-azuretools/.github/workflows/info-needed-closer.yml@main

.github/workflows/locker.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,9 @@ on:
44
- cron: 0 5 * * * # 10:00pm PT
55
workflow_dispatch:
66

7+
permissions:
8+
issues: write
9+
710
jobs:
811
main:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout Actions
12-
uses: actions/checkout@v2
13-
with:
14-
repository: "microsoft/vscode-github-triage-actions"
15-
path: ./actions
16-
ref: stable
17-
- name: Install Actions
18-
run: npm install --production --prefix ./actions
19-
- name: Run Locker
20-
uses: ./actions/locker
21-
with:
22-
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
23-
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
24-
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
25-
daysSinceClose: 45
26-
daysSinceUpdate: 7
12+
uses: microsoft/vscode-azuretools/.github/workflows/locker.yml@main

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.18.1
1+
22

.vscode-test.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
export { azExtTestConfig as default } from '@microsoft/vscode-azext-eng/vscode-test'; // Other configurations exist

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"recommendations": [
33
"dbaeumer.vscode-eslint",
4+
"connor4312.esbuild-problem-matchers",
45
"ms-azuretools.vscode-azureresourcegroups"
56
]
67
}

.vscode/launch.json

Lines changed: 10 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -6,102 +6,49 @@
66
"name": "Launch Extension",
77
"type": "extensionHost",
88
"request": "launch",
9-
"runtimeExecutable": "${execPath}",
109
"args": [
1110
"--extensionDevelopmentPath=${workspaceFolder}"
1211
],
1312
"outFiles": [
14-
"${workspaceFolder}/out/**/*.js"
13+
"${workspaceFolder}/dist/**/*.{js,mjs,cjs}",
1514
],
16-
"preLaunchTask": "${defaultBuildTask}",
15+
"preLaunchTask": "Watch: ESBuild",
1716
"env": {
18-
"DEBUGTELEMETRY": "v",
19-
"NODE_DEBUG": ""
17+
"DEBUGTELEMETRY": "v"
2018
}
2119
},
2220
{
2321
"name": "Launch Extension + Host",
2422
"type": "extensionHost",
2523
"request": "launch",
26-
"runtimeExecutable": "${execPath}",
2724
"args": [
2825
"--extensionDevelopmentPath=${workspaceFolder}",
2926
"--extensionDevelopmentPath=${workspaceFolder}/../vscode-azureresourcegroups"
3027
],
3128
"outFiles": [
32-
"${workspaceFolder}/out/**/*.js"
29+
"${workspaceFolder}/dist/**/*.{js,mjs,cjs}",
3330
],
34-
"preLaunchTask": "${defaultBuildTask}",
31+
"preLaunchTask": "Watch: ESBuild",
3532
"env": {
36-
"DEBUGTELEMETRY": "v",
37-
"NODE_DEBUG": ""
38-
}
39-
},
40-
{
41-
"name": "Launch Extension (webpack)",
42-
"type": "extensionHost",
43-
"request": "launch",
44-
"runtimeExecutable": "${execPath}",
45-
"args": [
46-
"--extensionDevelopmentPath=${workspaceFolder}"
47-
],
48-
"outFiles": [
49-
"${workspaceFolder}/dist/**/*.js"
50-
],
51-
"preLaunchTask": "npm: webpack",
52-
"env": {
53-
"DEBUGTELEMETRY": "v",
54-
"NODE_DEBUG": "",
55-
"DEBUG_WEBPACK": "1"
33+
"DEBUGTELEMETRY": "v"
5634
}
5735
},
5836
{
5937
"name": "Launch Tests",
6038
"type": "extensionHost",
6139
"request": "launch",
62-
"runtimeExecutable": "${execPath}",
63-
"args": [
64-
"--extensionDevelopmentPath=${workspaceFolder}",
65-
"--extensionTestsPath=${workspaceFolder}/out/test/index",
66-
"${workspaceFolder}/test/test.code-workspace"
67-
],
40+
"testConfiguration": "${workspaceFolder}/.vscode-test.mjs",
6841
"outFiles": [
69-
"${workspaceFolder}/out/**/*.js"
42+
"${workspaceFolder}/dist/**/*.{js,mjs,cjs}",
43+
"${workspaceFolder}/test/**/*.{ts,mts,cts}", // We are using TSX so out files *are* the source files
7044
],
71-
"preLaunchTask": "${defaultBuildTask}",
45+
"preLaunchTask": "Watch: ESBuild",
7246
"env": {
73-
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
74-
"MOCHA_timeout": "0", // Disable time-outs
7547
"DEBUGTELEMETRY": "v",
76-
"NODE_DEBUG": "",
7748
"FUNC_PATH": "func",
7849
"AZFUNC_UPDATE_BACKUP_TEMPLATES": "",
7950
"AzCode_EnableLongRunningTestsLocal": "",
8051
}
81-
},
82-
{
83-
"name": "Launch Tests (webpack)",
84-
"type": "extensionHost",
85-
"request": "launch",
86-
"runtimeExecutable": "${execPath}",
87-
"args": [
88-
"--extensionDevelopmentPath=${workspaceFolder}",
89-
"--extensionTestsPath=${workspaceFolder}/dist/test/index",
90-
"${workspaceFolder}/test/test.code-workspace"
91-
],
92-
"outFiles": [
93-
"${workspaceFolder}/dist/**/*.js"
94-
],
95-
"preLaunchTask": "npm: webpack",
96-
"env": {
97-
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
98-
"MOCHA_timeout": "0", // Disable time-outs
99-
"DEBUGTELEMETRY": "v",
100-
"NODE_DEBUG": "",
101-
"DEBUG_WEBPACK": "1",
102-
"ENABLE_LONG_RUNNING_TESTS": "",
103-
"FUNC_PATH": "func"
104-
}
10552
}
10653
]
10754
}

.vscode/settings.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77
"editor.formatOnSave": true,
88
"editor.insertSpaces": true,
99
"editor.tabSize": 4,
10-
"files.exclude": {
11-
"tools/JsonCli/src/**": true
12-
},
1310
"files.insertFinalNewline": true,
1411
"files.trimTrailingWhitespace": true,
1512
"search.exclude": {
1613
"out": true,
1714
"**/node_modules": true,
1815
".vscode-test": true,
1916
"resources/backup*Templates": true
20-
},
21-
"typescript.preferences.importModuleSpecifier": "relative",
22-
"typescript.tsdk": "node_modules/typescript/lib"
17+
}
2318
}

0 commit comments

Comments
 (0)