Skip to content

Commit a72774a

Browse files
authored
feat: update engines to ^14.17.0 || ^16.13.0 || >=18.0.0 (#184)
BREAKING CHANGE: this updates this package and the templated engines for node to `^14.17.0 || ^16.13.0 || >=18.0.0`
1 parent ae75f91 commit a72774a

File tree

11 files changed

+96
-96
lines changed

11 files changed

+96
-96
lines changed

.github/workflows/audit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
git config --global user.name "npm CLI robot"
2020
- uses: actions/setup-node@v3
2121
with:
22-
node-version: 16.x
22+
node-version: 18.x
2323
- name: Update npm to latest
2424
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
2525
- run: npm -v

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
git config --global user.name "npm CLI robot"
2727
- uses: actions/setup-node@v3
2828
with:
29-
node-version: 16.x
29+
node-version: 18.x
3030
- name: Update npm to latest
3131
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3232
- run: npm -v
@@ -38,12 +38,12 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
node-version:
41-
- 12.13.0
42-
- 12.x
43-
- 14.15.0
41+
- 14.17.0
4442
- 14.x
45-
- 16.0.0
43+
- 16.13.0
4644
- 16.x
45+
- 18.0.0
46+
- 18.x
4747
platform:
4848
- os: ubuntu-latest
4949
shell: bash

.github/workflows/post-dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git config --global user.name "npm CLI robot"
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 16.x
25+
node-version: 18.x
2626
- name: Update npm to latest
2727
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
2828
- run: npm -v

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
git config --global user.name "npm CLI robot"
2525
- uses: actions/setup-node@v3
2626
with:
27-
node-version: 16.x
27+
node-version: 18.x
2828
- name: Update npm to latest
2929
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3030
- run: npm -v

.github/workflows/release-please.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
git config --global user.name "npm CLI robot"
2727
- uses: actions/setup-node@v3
2828
with:
29-
node-version: 16.x
29+
node-version: 18.x
3030
- name: Update npm to latest
3131
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3232
- run: npm -v
@@ -57,7 +57,7 @@ jobs:
5757
git config --global user.name "npm CLI robot"
5858
- uses: actions/setup-node@v3
5959
with:
60-
node-version: 16.x
60+
node-version: 18.x
6161
- name: Update npm to latest
6262
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
6363
- run: npm -v
@@ -89,7 +89,7 @@ jobs:
8989
git config --global user.name "npm CLI robot"
9090
- uses: actions/setup-node@v3
9191
with:
92-
node-version: 16.x
92+
node-version: 18.x
9393
- name: Update npm to latest
9494
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
9595
- run: npm -v

.github/workflows/release-test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git config --global user.name "npm CLI robot"
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: 16.x
25+
node-version: 18.x
2626
- name: Update npm to latest
2727
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
2828
- run: npm -v
@@ -34,12 +34,12 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
node-version:
37-
- 12.13.0
38-
- 12.x
39-
- 14.15.0
37+
- 14.17.0
4038
- 14.x
41-
- 16.0.0
39+
- 16.13.0
4240
- 16.x
41+
- 18.0.0
42+
- 18.x
4343
platform:
4444
- os: ubuntu-latest
4545
shell: bash

lib/content/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = {
102102
// setting allows us to call a workflow by any name during release
103103
releaseTest: 'release-test.yml',
104104
distPaths: ['bin/', 'lib/'],
105-
ciVersions: ['12.13.0', '12.x', '14.15.0', '14.x', '16.0.0', '16.x'],
105+
ciVersions: ['14.17.0', '14.x', '16.13.0', '16.x', '18.0.0', '18.x'],
106106
lockfile: false,
107107
npmBin: 'npm',
108108
unwantedPackages: [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@
6565
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten."
6666
},
6767
"engines": {
68-
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
68+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
6969
}
7070
}

0 commit comments

Comments
 (0)