Skip to content

Commit ba575f3

Browse files
authored
feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#339)
* chore!: adopt ESLint 10 node engine range * chore: clean up knip config
1 parent 0b9099f commit ba575f3

5 files changed

Lines changed: 13 additions & 17 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
target: [18, 20, 22, 24]
31+
target: [20, 22, 24, 25]
3232
name: Test on Node ${{ matrix.target }}
3333
uses: ./.github/workflows/reusable-npm-run.yml
3434
with:

.knip.jsonc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"$schema": "https://unpkg.com/knip@5/schema.json",
3-
"entry": [
4-
"index.js",
5-
"index.d.ts"
6-
],
73
"ignore": [
84
"test/should-*/**/*",
95
"test/ts-extension-eslint.config.mjs"

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"keywords": [],
1111
"license": "MIT",
1212
"engines": {
13-
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
13+
"node": "^20.19.0 || ^22.13.0 || >=24"
1414
},
1515
"bin": {
1616
"neostandard": "cli.mjs"
@@ -73,7 +73,7 @@
7373
"test": "run-s check test:*"
7474
},
7575
"devDependencies": {
76-
"@types/node": "^18.19.130",
76+
"@types/node": "^20.19.30",
7777
"@voxpelli/tsconfig": "^16.1.0",
7878
"eslint": "^9.39.2",
7979
"husky": "^9.1.7",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@voxpelli/tsconfig/node18.json",
2+
"extends": "@voxpelli/tsconfig/node20.json",
33
"files": [
44
"cli.mjs",
55
"eslint.config.js",

0 commit comments

Comments
 (0)