Skip to content

Commit 35c6558

Browse files
committed
chore(vsc): update launch & tasks
1 parent f133d3e commit 35c6558

File tree

3 files changed

+7
-36
lines changed

3 files changed

+7
-36
lines changed

.vscode/launch.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"configurations": [
88
{
99
// REVIEW: usually does not launch vscode on Windows
10-
// https://github.com/Microsoft/vscode/issues/55620
11-
// https://github.com/microsoft/TypeScript/issues/32086
1210
"name": "Extension w Watch",
1311
"type": "extensionHost",
1412
"request": "launch",
@@ -19,8 +17,7 @@
1917
"runtimeExecutable": "${execPath}",
2018
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
2119
"outFiles": ["${workspaceFolder}/out/**/*.js"],
22-
// "preLaunchTask": "NPM: watch"
23-
"preLaunchTask": "npm: watch"
20+
"preLaunchTask": "NPM: watch"
2421
},
2522
{
2623
"name": "Extension",
@@ -33,7 +30,7 @@
3330
"runtimeExecutable": "${execPath}",
3431
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
3532
"outFiles": ["${workspaceFolder}/out/**/*.js"],
36-
"preLaunchTask": "NPM: compile launch"
33+
"preLaunchTask": "NPM: compile"
3734
},
3835
{
3936
"name": "Tests exec",

.vscode/tasks.json

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tasks": [
66
{
77
"type": "npm",
8-
"script": "compile-launch",
8+
"script": "compile",
99
"label": "NPM: compile launch",
1010
"problemMatcher": "$tsc",
1111
"presentation": {
@@ -33,7 +33,7 @@
3333
{
3434
"type": "npm",
3535
"script": "watch",
36-
// "label": "NPM: watch",
36+
"label": "NPM: watch",
3737
"problemMatcher": "$tsc-watch",
3838
"isBackground": true,
3939
"presentation": {
@@ -45,34 +45,9 @@
4545
}
4646
},
4747
{
48-
"type": "shell",
49-
"command": "yarn compile",
50-
"label": "yarn: compile",
51-
"problemMatcher": "$tsc-watch",
52-
"isBackground": true,
53-
"presentation": {
54-
"reveal": "never"
55-
},
56-
"group": {
57-
"kind": "build"
58-
// "isDefault": true
59-
}
60-
},
61-
{
62-
"type": "shell",
63-
"command": "yarn watch",
64-
"label": "yarn: watch",
65-
"problemMatcher": "$tsc-watch",
66-
"isBackground": true,
67-
"presentation": {
68-
"panel": "dedicated",
69-
"reveal": "never"
70-
}
71-
},
72-
{
73-
"type": "shell",
74-
"command": "yarn test",
75-
"label": "yarn: run mocha tests",
48+
"type": "npm",
49+
"script": "test",
50+
"label": "NPM: run mocha tests",
7651
"presentation": {
7752
"panel": "dedicated",
7853
"clear": true,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"scripts": {
6868
"clean": "rm -rf ./out",
6969
"compile": "tsc -p ./",
70-
"compile-launch": "tsc -p ./",
7170
"lint": "eslint . --ext .ts,.tsx",
7271
"watch": "tsc -watch -p ./",
7372
"_pack": "vsce package",

0 commit comments

Comments
 (0)