Skip to content

Commit dcade1c

Browse files
authored
appservice: Move to new eng package (#2152)
1 parent ef4ed15 commit dcade1c

63 files changed

Lines changed: 4275 additions & 3991 deletions

Some content is hidden

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

appservice/.eslintignore

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

appservice/.eslintrc.js

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

appservice/.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ testWorkspace
1313
.eslintignore
1414
.eslintrc.js
1515
*.tsbuildinfo
16+
.vscode-test.mjs
17+
eslint.config.mjs

appservice/.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

appservice/.vscode/launch.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,14 @@
55
"name": "Launch Tests",
66
"type": "extensionHost",
77
"request": "launch",
8-
"args": [
9-
"--extensionDevelopmentPath=${workspaceFolder}/test/extension",
10-
"--extensionTestsPath=${workspaceFolder}/dist/cjs/test/index",
11-
"${workspaceFolder}/test/test.code-workspace"
12-
],
13-
"outFiles": [
14-
"${workspaceFolder}/dist/cjs/**/*.js"
15-
],
16-
"preLaunchTask": "${defaultBuildTask}",
8+
"testConfiguration": "${workspaceFolder}/.vscode-test.mjs",
179
"env": {
18-
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
19-
"MOCHA_timeout": "0", // Disable time-outs
2010
"DEBUGTELEMETRY": "v",
21-
"NODE_DEBUG": ""
22-
}
23-
}
11+
},
12+
"outFiles": [
13+
"${workspaceFolder}/src/**/*.{ts,mts,cts}",
14+
"${workspaceFolder}/test/**/*.{ts,mts,cts}", // We are using TSX so out files *are* the source files
15+
],
16+
},
2417
]
2518
}

appservice/.vscode/tasks.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"type": "npm",
6-
"script": "build",
5+
"label": "Build+Watch",
6+
"type": "shell",
7+
"command": "npm",
8+
"args": [
9+
"run",
10+
"build:esm",
11+
"--",
12+
"--watch",
13+
],
714
"group": {
815
"kind": "build",
916
"isDefault": true
1017
},
18+
"isBackground": true,
1119
"presentation": {
12-
"reveal": "never"
20+
"revealProblems": "onProblem"
1321
},
14-
"problemMatcher": "$tsc"
22+
"problemMatcher": "$tsc-watch",
1523
},
16-
{
17-
"type": "npm",
18-
"script": "lint",
19-
"problemMatcher": "$eslint-stylish"
20-
}
2124
]
2225
}

appservice/eslint.config.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 { azExtEslintRecommendedTypeChecked as default } from '@microsoft/vscode-azext-eng/eslint'; // Other configurations exist

0 commit comments

Comments
 (0)