Skip to content

Commit ebcc5ef

Browse files
committedDec 5, 2024··
chore: use installed-check to keep engines.node in sync
1 parent bb4345a commit ebcc5ef

File tree

4 files changed

+170
-7
lines changed

4 files changed

+170
-7
lines changed
 

‎.github/workflows/autofix.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ jobs:
2626
- name: Lint (code)
2727
run: pnpm lint:fix
2828

29+
- name: Check engine ranges, peer dependency ranges and installed versions
30+
run: pnpm installed-check --no-workspaces --fix
31+
2932
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c

‎.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
- name: Lint
4444
run: pnpm lint
4545

46+
- name: Check engine ranges, peer dependency ranges and installed versions
47+
run: pnpm installed-check --no-workspaces
48+
4649
test:
4750
strategy:
4851
matrix:

‎package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080
"@types/estree": "1.0.6",
8181
"@types/jsdom": "21.1.7",
8282
"@types/semver": "7.5.8",
83-
"@vitest/ui": "2.1.8",
8483
"@vue/test-utils": "2.4.6",
8584
"changelogen": "0.5.7",
8685
"compatx": "0.1.8",
8786
"eslint": "9.16.0",
87+
"installed-check": "^9.3.0",
8888
"jiti": "2.4.0",
8989
"knip": "^5.39.2",
9090
"nitropack": "2.10.4",
@@ -104,7 +104,6 @@
104104
"@jest/globals": "^29.5.0",
105105
"@playwright/test": "^1.43.1",
106106
"@testing-library/vue": "^7.0.0 || ^8.0.1",
107-
"@vitest/ui": "^0.34.6 || ^1.0.0 || ^2.0.0",
108107
"@vue/test-utils": "^2.4.2",
109108
"happy-dom": "^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
110109
"jsdom": "^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0",
@@ -156,7 +155,7 @@
156155
"vue": "^3.5.13"
157156
},
158157
"engines": {
159-
"node": ">=18.20.4"
158+
"node": "^18.20.4 || ^20.9.0 || ^22.0.0 || >=23.0.0"
160159
},
161160
"packageManager": "pnpm@9.14.2"
162161
}

‎pnpm-lock.yaml

+162-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.