Skip to content

Commit ad3bdf2

Browse files
committed
chore: update launch config to run extension with correct command and path
1 parent 40e150e commit ad3bdf2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packages/textlint/.vscode/tasks.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
"version": "2.0.0",
1111
"tasks": [
1212
{
13-
"type": "npm",
14-
"script": "tsc",
13+
"label": "npm: tsc",
14+
"type": "shell",
15+
"command": "npm run tsc",
1516
"group": "build",
1617
"presentation": {
1718
"panel": "dedicated",
@@ -20,8 +21,9 @@
2021
"problemMatcher": ["$tsc", "$ts-webpack"]
2122
},
2223
{
23-
"type": "npm",
24-
"script": "watch",
24+
"label": "npm: watch",
25+
"type": "shell",
26+
"command": "npm --prefix ${workspaceFolder}/../../ run watch",
2527
"isBackground": true,
2628
"group": {
2729
"kind": "build",

vscode-textlint.code-workspace

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"editor.defaultFormatter": "esbenp.prettier-vscode",
3838
"editor.formatOnSave": true
3939
},
40-
"typescript.tsdk": "./node_modules/typescript/lib"
40+
"typescript.tsdk": "./node_modules/typescript/lib",
41+
"npm.packageManager": "npm"
4142
},
4243
"extensions": {
4344
"recommendations": [

0 commit comments

Comments
 (0)