Skip to content

Commit d0ab675

Browse files
authored
fix!: align to npm 11 node engine range (#99)
This PR updates the Node.js engine requirement to align with npm 11. ## Changes - Updated `engines.node` in package.json to `^20.17.0 || >=22.9.0` ## Breaking Change This is a breaking change as it drops support for Node.js versions outside the specified range. **New requirement:** Node.js `^20.17.0 || >=22.9.0`
1 parent 19a6ff9 commit d0ab675

File tree

4 files changed

+12
-18
lines changed

4 files changed

+12
-18
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 }}

.github/workflows/post-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
else
5555
# strip leading slash from directory so it works as a
5656
# a path to the workspace flag
57-
echo "workspace=-w ${dependabot_dir#/}" >> $GITHUB_OUTPUT
57+
echo "workspace=--workspace ${dependabot_dir#/}" >> $GITHUB_OUTPUT
5858
fi
5959
6060
- name: Apply Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lib/"
3030
],
3131
"engines": {
32-
"node": "^18.17.0 || >=20.5.0"
32+
"node": "^20.17.0 || >=22.9.0"
3333
},
3434
"templateOSS": {
3535
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",

0 commit comments

Comments
 (0)