Skip to content

Commit cc5f1a3

Browse files
authored
Merge pull request #71 from fujidana/main
Fix VS Code build task settings
2 parents 559f7a4 + 8332fdc commit cc5f1a3

File tree

5 files changed

+48
-12
lines changed

5 files changed

+48
-12
lines changed

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"dbaeumer.vscode-eslint"
8+
]
9+
}

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"outFiles": [
1414
"${workspaceRoot}/out/**/*.js"
1515
],
16-
"preLaunchTask": "watch"
16+
"preLaunchTask": "watch:webpack"
1717
},
1818
{
1919
"type": "node",

.vscode/tasks.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
]
2424
},
2525
{
26-
"label": "watch",
26+
"label": "watch:webpack",
2727
"type": "npm",
28-
"script": "watch:tsc",
28+
"script": "watch:webpack",
2929
"isBackground": true,
3030
"group": {
3131
"kind": "build",
@@ -35,9 +35,34 @@
3535
"panel": "dedicated",
3636
"reveal": "never"
3737
},
38+
"problemMatcher": [
39+
"$ts-webpack-watch"
40+
]
41+
},
42+
{
43+
"label": "watch:tsc-no-emit",
44+
"type": "npm",
45+
"script": "watch:tsc-no-emit",
46+
"isBackground": true,
47+
"group": "build",
48+
"presentation": {
49+
"panel": "dedicated",
50+
"reveal": "never"
51+
},
3852
"problemMatcher": [
3953
"$tsc-watch"
4054
]
55+
},
56+
{
57+
"label": "watch",
58+
"dependsOn": [
59+
"watch:tsc-no-emit",
60+
"watch:webpack"
61+
],
62+
"presentation": {
63+
"reveal": "never"
64+
},
65+
"group": "build"
4166
}
4267
]
4368
}

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,13 @@
163163
"build": "npm run webpack",
164164
"watch:webpack": "webpack watch --mode development",
165165
"watch:tsc": "tsc -b -w",
166+
"compile:tsc-no-emit": "tsc --noEmit --project tsconfig.json",
167+
"watch:tsc-no-emit": "tsc --watch --noEmit --project tsconfig.json",
166168
"package": "vsce package --no-dependencies"
167169
},
168170
"devDependencies": {
169171
"@peggyjs/eslint-config": "6.0.3",
170-
"@types/node": "24.0.10",
172+
"@types/node": "^22.16.0",
171173
"@types/vscode": "^1.101.0",
172174
"@vscode/vsce": "3.6.0",
173175
"eslint": "^9.30.1",

0 commit comments

Comments
 (0)