File tree 6 files changed +10
-6
lines changed
6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
with :
29
29
node-version : ${{ matrix.node-version }}
30
30
31
- - run : npm i -g yarn
31
+ - run : npm i -g pnpm
32
32
33
- - run : yarn install --ignore-engines
33
+ - run : pnpm install
34
34
35
- - run : yarn lint
35
+ - run : pnpm lint
36
36
37
- - run : yarn build
37
+ - run : pnpm build
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
. " $( dirname " $0 " ) /_/husky.sh"
3
3
4
- yarn quick # prettify
5
- yarn lint-staged # eslint lint(also include prettify but prettify support more file extensions than eslint, so run prettify first)
4
+ pnpm quick # prettify
5
+ pnpm lint-staged # eslint lint(also include prettify but prettify support more file extensions than eslint, so run prettify first)
Original file line number Diff line number Diff line change 10
10
" components"
11
11
],
12
12
"scripts" : {
13
+ "preinstall" : " npx only-allow pnpm" ,
13
14
"dev" : " kill-port 3000 5173 && pnpm --filter \" ./packages/**\" dev" ,
14
15
"build" : " pnpm --filter \" ./packages/**\" build" ,
15
16
"start" : " kill-port 3000 && run-script-os" ,
Original file line number Diff line number Diff line change 5
5
"main" : " dist/src/index" ,
6
6
"types" : " dist/src/index.d.ts" ,
7
7
"scripts" : {
8
+ "preinstall" : " npx only-allow pnpm" ,
8
9
"build" : " tsc && gulp" ,
9
10
"dev" : " tsc --watch"
10
11
},
Original file line number Diff line number Diff line change 20
20
"commands" : " ./dist/commands"
21
21
},
22
22
"scripts" : {
23
+ "preinstall" : " npx only-allow pnpm" ,
23
24
"build" : " tsc" ,
24
25
"start" : " run-script-os" ,
25
26
"start:windows" : " cd bin && run start" ,
Original file line number Diff line number Diff line change 59
59
"yup" : " ^0.32.9"
60
60
},
61
61
"scripts" : {
62
+ "preinstall" : " npx only-allow pnpm" ,
62
63
"dev" : " vite" ,
63
64
"build" : " vite build"
64
65
},
You can’t perform that action at this time.
0 commit comments