Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions appservice/.eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions appservice/.eslintrc.js

This file was deleted.

2 changes: 2 additions & 0 deletions appservice/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ testWorkspace
.eslintignore
.eslintrc.js
*.tsbuildinfo
.vscode-test.mjs
eslint.config.mjs
6 changes: 6 additions & 0 deletions appservice/.vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/

export { azExtTestConfig as default } from '@microsoft/vscode-azext-eng/vscode-test'; // Other configurations exist
21 changes: 7 additions & 14 deletions appservice/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,14 @@
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/test/extension",
"--extensionTestsPath=${workspaceFolder}/dist/cjs/test/index",
"${workspaceFolder}/test/test.code-workspace"
],
"outFiles": [
"${workspaceFolder}/dist/cjs/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}",
"testConfiguration": "${workspaceFolder}/.vscode-test.mjs",
"env": {
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
"MOCHA_timeout": "0", // Disable time-outs
"DEBUGTELEMETRY": "v",
"NODE_DEBUG": ""
}
}
},
"outFiles": [
"${workspaceFolder}/src/**/*.{ts,mts,cts}",
"${workspaceFolder}/test/**/*.{ts,mts,cts}", // We are using TSX so out files *are* the source files
],
},
]
}
21 changes: 12 additions & 9 deletions appservice/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"label": "Build+Watch",
"type": "shell",
"command": "npm",
"args": [
"run",
"build:esm",
"--",
"--watch",
],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": true,
"presentation": {
"reveal": "never"
"revealProblems": "onProblem"
},
"problemMatcher": "$tsc"
"problemMatcher": "$tsc-watch",
},
{
"type": "npm",
"script": "lint",
"problemMatcher": "$eslint-stylish"
}
]
}
6 changes: 6 additions & 0 deletions appservice/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/

export { azExtEslintRecommendedTypeChecked as default } from '@microsoft/vscode-azext-eng/eslint'; // Other configurations exist
Loading
Loading