File tree 3 files changed +330
-2
lines changed
3 files changed +330
-2
lines changed Original file line number Diff line number Diff line change 32
32
- name : 🔠 Lint project
33
33
run : pnpm lint
34
34
35
+ - name : ⚙️ Check engine ranges
36
+ run : pnpm lint:engines
37
+
35
38
- name : 🛠 Build project
36
39
run : pnpm build
37
40
Original file line number Diff line number Diff line change 12
12
"scripts" : {
13
13
"build" : " bili -t node --format cjs src/index.js" ,
14
14
"lint" : " eslint src test" ,
15
+ "lint:engines" : " installed-check -d" ,
15
16
"prepublish" : " pnpm build" ,
16
17
"release" : " standard-version && git push --follow-tags && npm publish" ,
17
18
"test" : " pnpm lint && pnpm test:coverage" ,
35
36
"ava" : " ^5.3.1" ,
36
37
"bili" : " latest" ,
37
38
"eslint" : " ^8.57.1" ,
38
- "node-fetch" : " npm:node-fetch-native@^1.6.4" ,
39
39
"fetch-mock" : " ^9.11.0" ,
40
+ "installed-check" : " ^9.3.0" ,
40
41
"jiti" : " ^1.21.6" ,
42
+ "node-fetch" : " npm:node-fetch-native@^1.6.4" ,
41
43
"nyc" : " latest" ,
42
44
"sinon" : " ^17.0.1" ,
43
45
"standard-version" : " ^9.5.0"
44
46
},
45
47
"engines" : {
46
- "node" : " >=8.17 .0" ,
48
+ "node" : " ^14.18.0 || >=16.10 .0" ,
47
49
"npm" : " >=5.10.0"
48
50
},
49
51
"packageManager" :
" [email protected] "
You can’t perform that action at this time.
0 commit comments