File tree 2 files changed +10
-9
lines changed 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
- uses : actions/checkout@v3
12
12
- uses : actions/setup-node@v2
13
13
with :
14
- node-version : 14
14
+ node-version : 16
15
15
16
16
- run : npm install
17
- - run : npm run hoist
17
+ - run : npm install --workspaces
18
18
- run : npm run build
19
19
- run : npm run doc
20
20
Original file line number Diff line number Diff line change 3
3
"private" : true ,
4
4
"scripts" : {
5
5
"⬇️⬇️⬇️⬇️⬇️ 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" ,
9
10
"⬆️⬆️⬆️⬆️⬆️ 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" ,
14
11
"test" : " tsbb test" ,
15
12
"coverage" : " tsbb test --coverage --bail" ,
16
13
"prepare" : " husky install" ,
24
21
" prettier --write"
25
22
]
26
23
},
24
+ "workspaces" : [
25
+ " core" ,
26
+ " website"
27
+ ],
27
28
"jest" : {
28
29
"collectCoverageFrom" : [
29
30
" <rootDir>/core/src/**/*.{js,jsx,ts,tsx}"
You can’t perform that action at this time.
0 commit comments