Skip to content

Commit 5390013

Browse files
committed
workflow: adjust scripts to avoid reliance on implicit pre-scripts
pnpm does not support implicit pre/post scripts without config
1 parent 0580ae2 commit 5390013

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2222
"dev-esm": "node scripts/dev.js -if esm-bundler-runtime",
2323
"dev-compiler": "run-p \"dev template-explorer\" serve",
24+
"dev-sfc": "run-s dev-sfc-prepare dev-sfc-run",
2425
"dev-sfc-prepare": "node scripts/pre-dev-sfc.js || npm run build-compiler-cjs",
25-
"dev-sfc-serve": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev server-renderer -if esm-bundler\" serve-sfc-playground",
26-
"dev-sfc": "run-s \"dev-sfc-prepare\" \"dev-sfc-serve\"",
27-
"serve-sfc-playground": "vite packages/sfc-playground --host",
26+
"dev-sfc-serve": "vite packages/sfc-playground --host",
27+
"dev-sfc-run": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev server-renderer -if esm-bundler\" dev-sfc-serve",
2828
"serve": "serve",
2929
"open": "open http://localhost:5000/packages/template-explorer/local.html",
30+
"build-sfc-playground": "run-s build-compiler-cjs build-runtime-esm build-ssr-esm build-sfc-playground-self",
3031
"build-compiler-cjs": "node scripts/build.js compiler reactivity-transform shared -af cjs",
3132
"build-runtime-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime",
3233
"build-ssr-esm": "node scripts/build.js compiler-sfc server-renderer -f esm-browser",
3334
"build-sfc-playground-self": "cd packages/sfc-playground && npm run build",
34-
"build-sfc-playground": "run-s \"build-compiler-cjs\" \"build-runtime-esm\" \"build-ssr-esm\" \"build-sfc-playground-self\"",
3535
"preinstall": "node ./scripts/preinstall.js",
3636
"postinstall": "simple-git-hooks"
3737
},

0 commit comments

Comments
 (0)