Skip to content

Commit

Permalink
chore: missing deps on publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
cpreston321 committed Feb 6, 2023
1 parent 3f4c1d5 commit 9216e53
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"publish": "esno ./scripts/publish.ts"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.11.19",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
Expand All @@ -156,6 +157,7 @@
"eslint": "^8.33.0",
"esno": "^0.16.3",
"execa": "^6.1.0",
"fs-extra": "^11.1.0",
"jiti": "^1.16.2",
"pathe": "^1.1.0",
"prettier": "^2.8.3",
Expand Down
55 changes: 55 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function publish() {
pkg.name = 'nuxt-vscode';
await fs.writeJSON(pkgPath, pkg, { spaces: 2 });

await execa('pnpm', ['run', 'build'], { cwd: root, stdio: 'inherit' });
await execa('pnpm', ['build'], { cwd: root, stdio: 'inherit' });

try {
console.log('\nPublish to VSCE...\n');
Expand Down

0 comments on commit 9216e53

Please sign in to comment.