Skip to content

Commit 1bf9f80

Browse files
committed
feat: update build scripts with client generation and release process
1 parent fbdbda0 commit 1bf9f80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222
"dist"
2323
],
2424
"scripts": {
25-
"prepack": "nuxt-module-build build",
25+
"build": "nuxt-module-build build && pnpm build:client",
26+
"build:client": "nuxi generate client",
2627
"dev": "nuxi dev playground",
2728
"dev:client": "concurrently \"nuxi dev client --port 3300\" \"nuxi dev playground\"",
2829
"dev:build": "nuxi build playground",
2930
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
30-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
31+
"release": "pnpm lint && pnpm build && changelogen --release && npm publish && git push --follow-tags",
3132
"lint": "eslint .",
3233
"test": "vitest run",
3334
"test:watch": "vitest watch",

0 commit comments

Comments
 (0)