File tree Expand file tree Collapse file tree 9 files changed +419
-36
lines changed
Expand file tree Collapse file tree 9 files changed +419
-36
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ rush add -p @vbs/magic-cli-utils -all
7272npm run start
7373```
7474
75+ ## 开发环境调试
76+
77+ ``` shell
78+ npm run dev
79+ ```
80+
7581## 打包
7682
7783``` shell
Original file line number Diff line number Diff line change 1212 "bootstrap" : " zi && rush update" ,
1313 "build" : " rush build" ,
1414 "start" : " zr build && cd packages/core && pnpm link -g" ,
15+ "dev" : " pnpm -r --parallel --filter=./packages/* run stub" ,
1516 "docs" : " pnpm -C docs run dev" ,
1617 "docs:build" : " pnpm run -C docs build" ,
1718 "lint" : " eslint packages --fix" ,
2627 "@vbs/eslint-config" : " ^1.0.0" ,
2728 "bumpp" : " ^8.2.1" ,
2829 "consola" : " ^2.15.3" ,
29- "eslint" : " ^8.23 .0" ,
30+ "eslint" : " ^8.34 .0" ,
3031 "husky" : " ^7.0.4" ,
3132 "lint-staged" : " ^10.5.4" ,
3233 "vitepress" : " 1.0.0-alpha.12" ,
33- "vitest" : " ^0.10 .5" ,
34+ "vitest" : " ^0.28 .5" ,
3435 "za-zi" : " ^0.0.10"
3536 },
3637 "lint-staged" : {
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ export async function prepare() {
6666
6767 spinner . start ( )
6868 try {
69- // TODO: 构建环境异常测试
7069 rootCheck ( )
7170 checkUserHome ( homePath )
7271 checkEnv ( )
Original file line number Diff line number Diff line change 2222 "scripts" : {
2323 "dev" : " unbuild -w" ,
2424 "build" : " unbuild" ,
25- "test" : " vitest"
25+ "test" : " vitest" ,
26+ "stub" : " unbuild --stub"
2627 },
2728 "publishConfig" : {
2829 "access" : " public"
Original file line number Diff line number Diff line change 2323 "scripts" : {
2424 "dev" : " unbuild -w" ,
2525 "build" : " unbuild" ,
26- "test" : " vitest"
26+ "test" : " vitest" ,
27+ "stub" : " unbuild --stub"
2728 },
2829 "publishConfig" : {
2930 "access" : " public"
Original file line number Diff line number Diff line change 2222 "scripts" : {
2323 "dev" : " unbuild -w" ,
2424 "build" : " unbuild" ,
25- "test" : " vitest"
25+ "test" : " vitest" ,
26+ "stub" : " unbuild --stub"
2627 },
2728 "publishConfig" : {
2829 "access" : " public"
Original file line number Diff line number Diff line change 2222 "scripts" : {
2323 "dev" : " unbuild -w" ,
2424 "build" : " unbuild" ,
25- "test" : " vitest"
25+ "test" : " vitest" ,
26+ "stub" : " unbuild --stub"
2627 },
2728 "publishConfig" : {
2829 "access" : " public"
You can’t perform that action at this time.
0 commit comments