Skip to content

Commit 05b67bd

Browse files
authored
fix!: align to npm 11 node engine range (#219)
BREAKING CHANGE: `write-file-atomic` now supports node `^20.17.0 || >=22.9.0`
1 parent 602f2ad commit 05b67bd

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
@@ -88,20 +88,17 @@ jobs:
8888
os: macos-13
8989
shell: bash
9090
node-version:
91-
- 18.17.0
92-
- 18.x
93-
- 20.5.0
91+
- 20.17.0
9492
- 20.x
93+
- 22.9.0
9594
- 22.x
9695
exclude:
9796
- platform: { name: macOS, os: macos-13, shell: bash }
98-
node-version: 18.17.0
99-
- platform: { name: macOS, os: macos-13, shell: bash }
100-
node-version: 18.x
101-
- platform: { name: macOS, os: macos-13, shell: bash }
102-
node-version: 20.5.0
97+
node-version: 20.17.0
10398
- platform: { name: macOS, os: macos-13, shell: bash }
10499
node-version: 20.x
100+
- platform: { name: macOS, os: macos-13, shell: bash }
101+
node-version: 22.9.0
105102
- platform: { name: macOS, os: macos-13, shell: bash }
106103
node-version: 22.x
107104
runs-on: ${{ matrix.platform.os }}

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,17 @@ jobs:
6464
os: macos-13
6565
shell: bash
6666
node-version:
67-
- 18.17.0
68-
- 18.x
69-
- 20.5.0
67+
- 20.17.0
7068
- 20.x
69+
- 22.9.0
7170
- 22.x
7271
exclude:
7372
- platform: { name: macOS, os: macos-13, shell: bash }
74-
node-version: 18.17.0
75-
- platform: { name: macOS, os: macos-13, shell: bash }
76-
node-version: 18.x
77-
- platform: { name: macOS, os: macos-13, shell: bash }
78-
node-version: 20.5.0
73+
node-version: 20.17.0
7974
- platform: { name: macOS, os: macos-13, shell: bash }
8075
node-version: 20.x
76+
- platform: { name: macOS, os: macos-13, shell: bash }
77+
node-version: 22.9.0
8178
- platform: { name: macOS, os: macos-13, shell: bash }
8279
node-version: 22.x
8380
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
@@ -41,7 +41,7 @@
4141
"lib/"
4242
],
4343
"engines": {
44-
"node": "^18.17.0 || >=20.5.0"
44+
"node": "^20.17.0 || >=22.9.0"
4545
},
4646
"templateOSS": {
4747
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",

0 commit comments

Comments
 (0)