Skip to content

Commit 581efeb

Browse files
authored
(fix) run npm i
because if preblish runs twice it will remove the dev dep of tsconfig/node16 which will fail the subsequent run
1 parent cdd1558 commit 581efeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build:grammar": "npx js-yaml syntaxes/svelte.tmLanguage.src.yaml > syntaxes/svelte.tmLanguage.json && npx js-yaml syntaxes/postcss.src.yaml > syntaxes/postcss.json",
88
"build:ts": "tsc -p ./",
99
"build": "npm run build:ts && npm run build:grammar",
10-
"vscode:prepublish": "npm run build && npm prune --production",
10+
"vscode:prepublish": "npm install && npm run build && npm prune --production",
1111
"watch": "npm run build:grammar && tsc -w -p ./",
1212
"test": "npm run build:grammar && node test/grammar/test.js"
1313
},

0 commit comments

Comments
 (0)