File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 - uses : actions/checkout@v3
1212 - uses : actions/setup-node@v2
1313 with :
14- node-version : 14
14+ node-version : 16
1515
1616 - run : npm install
17- - run : npm run hoist
17+ - run : npm install --workspaces
1818 - run : npm run build
1919 - run : npm run doc
2020
Original file line number Diff line number Diff line change 33 "private" : true ,
44 "scripts" : {
55 "⬇️⬇️⬇️⬇️⬇️ package ⬇️⬇️⬇️⬇️⬇️" : " ▼▼▼▼▼ package ▼▼▼▼▼" ,
6- "build" : " npm run build:loader" ,
7- "build:loader" : " lerna exec --scope markdown-react-code-preview-loader -- npm run build" ,
8- "watch:loader" : " lerna exec --scope markdown-react-code-preview-loader -- npm run watch" ,
6+ "watch" : " npm run-script watch --workspace markdown-react-code-preview-loader" ,
7+ "build" : " npm run-script build --workspace markdown-react-code-preview-loader" ,
8+ "doc" : " npm run-script build --workspace website" ,
9+ "start" : " npm run-script start --workspace website" ,
910 "⬆️⬆️⬆️⬆️⬆️ package ⬆️⬆️⬆️⬆️⬆️" : " ▲▲▲▲▲ package ▲▲▲▲▲" ,
10- "start" : " lerna exec --scope website -- npm run start" ,
11- "doc" : " lerna exec --scope website -- npm run build" ,
12- "bootstrap" : " lerna bootstrap" ,
13- "hoist" : " lerna bootstrap --hoist" ,
1411 "test" : " tsbb test" ,
1512 "coverage" : " tsbb test --coverage --bail" ,
1613 "prepare" : " husky install" ,
2421 " prettier --write"
2522 ]
2623 },
24+ "workspaces" : [
25+ " core" ,
26+ " website"
27+ ],
2728 "jest" : {
2829 "collectCoverageFrom" : [
2930 " <rootDir>/core/src/**/*.{js,jsx,ts,tsx}"
You can’t perform that action at this time.
0 commit comments