Skip to content

Commit 664a48e

Browse files
committed
chore: update engine ranges to match dependencies
1 parent 95a59ff commit 664a48e

File tree

3 files changed

+330
-2
lines changed

3 files changed

+330
-2
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: 🔠 Lint project
3333
run: pnpm lint
3434

35+
- name: ⚙️ Check engine ranges
36+
run: pnpm lint:engines
37+
3538
- name: 🛠 Build project
3639
run: pnpm build
3740

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"build": "bili -t node --format cjs src/index.js",
1414
"lint": "eslint src test",
15+
"lint:engines": "installed-check -d",
1516
"prepublish": "pnpm build",
1617
"release": "standard-version && git push --follow-tags && npm publish",
1718
"test": "pnpm lint && pnpm test:coverage",
@@ -35,15 +36,16 @@
3536
"ava": "^5.3.1",
3637
"bili": "latest",
3738
"eslint": "^8.57.1",
38-
"node-fetch": "npm:node-fetch-native@^1.6.4",
3939
"fetch-mock": "^9.11.0",
40+
"installed-check": "^9.3.0",
4041
"jiti": "^1.21.6",
42+
"node-fetch": "npm:node-fetch-native@^1.6.4",
4143
"nyc": "latest",
4244
"sinon": "^17.0.1",
4345
"standard-version": "^9.5.0"
4446
},
4547
"engines": {
46-
"node": ">=8.17.0",
48+
"node": "^14.18.0 || >=16.10.0",
4749
"npm": ">=5.10.0"
4850
},
4951
"packageManager": "[email protected]"

0 commit comments

Comments
 (0)