Skip to content

Commit f50584e

Browse files
authored
fix!: align to npm 11 node engine range (#78)
BREAKING CHANGE: `json-parse-even-better-errors` now supports node `^20.17.0 || >=22.9.0`
1 parent 6112f07 commit f50584e

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

.github/workflows/ci-release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,17 @@ jobs:
9191
os: windows-latest
9292
shell: cmd
9393
node-version:
94-
- 18.17.0
95-
- 18.x
96-
- 20.5.0
94+
- 20.17.0
9795
- 20.x
96+
- 22.9.0
9897
- 22.x
9998
exclude:
10099
- platform: { name: macOS, os: macos-13, shell: bash }
101-
node-version: 18.17.0
102-
- platform: { name: macOS, os: macos-13, shell: bash }
103-
node-version: 18.x
104-
- platform: { name: macOS, os: macos-13, shell: bash }
105-
node-version: 20.5.0
100+
node-version: 20.17.0
106101
- platform: { name: macOS, os: macos-13, shell: bash }
107102
node-version: 20.x
103+
- platform: { name: macOS, os: macos-13, shell: bash }
104+
node-version: 22.9.0
108105
- platform: { name: macOS, os: macos-13, shell: bash }
109106
node-version: 22.x
110107
runs-on: ${{ matrix.platform.os }}

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,17 @@ jobs:
6767
os: windows-latest
6868
shell: cmd
6969
node-version:
70-
- 18.17.0
71-
- 18.x
72-
- 20.5.0
70+
- 20.17.0
7371
- 20.x
72+
- 22.9.0
7473
- 22.x
7574
exclude:
7675
- platform: { name: macOS, os: macos-13, shell: bash }
77-
node-version: 18.17.0
78-
- platform: { name: macOS, os: macos-13, shell: bash }
79-
node-version: 18.x
80-
- platform: { name: macOS, os: macos-13, shell: bash }
81-
node-version: 20.5.0
76+
node-version: 20.17.0
8277
- platform: { name: macOS, os: macos-13, shell: bash }
8378
node-version: 20.x
79+
- platform: { name: macOS, os: macos-13, shell: bash }
80+
node-version: 22.9.0
8481
- platform: { name: macOS, os: macos-13, shell: bash }
8582
node-version: 22.x
8683
runs-on: ${{ matrix.platform.os }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
]
4141
},
4242
"engines": {
43-
"node": "^18.17.0 || >=20.5.0"
43+
"node": "^20.17.0 || >=22.9.0"
4444
},
4545
"templateOSS": {
4646
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",

0 commit comments

Comments
 (0)