|
1 | 1 | { |
2 | 2 | "private": true, |
3 | 3 | "description": "Minimalistic doc generator with Vue component based layout system", |
4 | | -"workspaces": [ |
5 | | -"packages/@vuepress/*", |
6 | | -"packages/vuepress", |
7 | | -"packages/docs" |
8 | | - ], |
9 | 4 | "scripts":{ |
10 | 5 | "boot": "node scripts/bootstrap.js", |
11 | | -"build": "yarn tsc && yarn build:docs", |
12 | | -"build:docs": "yarn workspace docs build", |
| 6 | +"bootstrap": "pnpm install --prefer-offline", |
| 7 | +"build": "npm run tsc && npm run build:docs", |
| 8 | +"build:docs": "lerna exec --scope=docs -- npm run build", |
13 | 9 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2", |
14 | | -"clean": "lerna clean && rm -rf node_modules", |
15 | | -"dev": "yarn tsc && yarn dev:docs", |
16 | | -"dev:docs": "yarn workspace docs dev", |
| 10 | +"clean": "lerna clean --yes && rm -rf node_modules", |
| 11 | +"dev": "npm run tsc && npm run dev:docs", |
| 12 | +"dev:docs": "lerna exec --scope=docs -- npm run dev", |
17 | 13 | "lint": "eslint packages --ext .js,.ts,.vue", |
18 | 14 | "packages:changed": "lerna changed", |
19 | 15 | "packages:diff": "lerna diff", |
20 | 16 | "packages:list": "lerna ls -l", |
21 | | -"register-vuepress": "lerna exec --scope vuepress -- yarn link", |
22 | | -"release": "yarn lint && yarn build && yarn test && node scripts/release.js", |
| 17 | +"register-vuepress": "lerna exec --scope vuepress -- npm run link", |
| 18 | +"release": "npm run lint && npm run build && npm run test && node scripts/release.js", |
23 | 19 | "remote-version": "node scripts/remote-version.js", |
24 | | -"show-help": "yarn workspace docs show-help", |
| 20 | +"show-help": "lerna exec --scope=docs -- npm run show-help", |
25 | 21 | "test": "node scripts/test.js", |
26 | | -"tsc": "yarn workspace @vuepress/shared-utils tsc", |
27 | | -"unregister-vuepress": "lerna exec --scope vuepress -- yarn unlink", |
| 22 | +"tsc": "lerna exec --scope @vuepress/shared-utils -- npm run tsc", |
| 23 | +"unregister-vuepress": "lerna exec --scope vuepress -- npm run unlink", |
28 | 24 | "update-core-team": "all-contributors generate", |
29 | | -"view-info": "yarn tsc && yarn workspace docs view-info" |
| 25 | +"view-info": "npm run tsc && lerna exec --scope docs -- npm run view-info" |
30 | 26 | }, |
31 | 27 | "husky":{ |
32 | 28 | "hooks":{ |
|
0 commit comments