Skip to content

Commit e95017a

Browse files
authored
feat(workspaces): update supported node engines in package.json (#5485)
BREAKING CHANGE: all workspace packages are now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0`
1 parent fe926ed commit e95017a

30 files changed

+154
-154
lines changed

.github/workflows/ci-libnpmaccess.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmdiff.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmexec.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmfund.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmhook.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmorg.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmpack.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmpublish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmsearch.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmteam.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-libnpmversion.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.github/workflows/ci-npmcli-arborist.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config --global user.name "npm CLI robot"
3131
- uses: actions/setup-node@v3
3232
with:
33-
node-version: 16.x
33+
node-version: 18.x
3434
- name: Update npm to latest
3535
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3636
- run: npm -v
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node-version:
45-
- 12.13.0
46-
- 12.x
47-
- 14.15.0
45+
- 14.17.0
4846
- 14.x
49-
- 16.0.0
47+
- 16.13.0
5048
- 16.x
49+
- 18.0.0
50+
- 18.x
5151
platform:
5252
- os: ubuntu-latest
5353
shell: bash

.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

docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@npmcli/eslint-config": "^3.1.0",
2323
"@npmcli/fs": "^2.1.0",
2424
"@npmcli/promise-spawn": "^3.0.0",
25-
"@npmcli/template-oss": "3.8.1",
25+
"@npmcli/template-oss": "4.0.0",
2626
"cmark-gfm": "^0.9.0",
2727
"jsdom": "^18.1.0",
2828
"marked-man": "^0.7.0",
@@ -59,6 +59,6 @@
5959
"ciVersions": [
6060
"16"
6161
],
62-
"version": "3.8.1"
62+
"version": "4.0.0"
6363
}
6464
}

0 commit comments

Comments
 (0)