Skip to content

Commit

Permalink
feat: drop support for Node 14 and 16 (#1510)
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
G-Rath authored Feb 17, 2024
1 parent 509e1d2 commit 2de1e20
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,10 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 19.x, 20.x, 21.x]
node-version: [18.x, 19.x, 20.x, 21.x]
eslint-version: [7, 8]
ts-eslint-plugin-version: [5, 6, 7]
exclude:
# ts-eslint/plugin@6 doesn't support node@14
- node-version: 14.x
ts-eslint-plugin-version: 6
# ts-eslint/plugin@7 doesn't support node@14
- node-version: 14.x
ts-eslint-plugin-version: 7
# ts-eslint/plugin@7 doesn't support node@16
- node-version: 16.x
ts-eslint-plugin-version: 7
# ts-eslint/plugin@7 doesn't support node@19
- node-version: 19.x
ts-eslint-plugin-version: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- run: |
npm install --legacy-peer-deps
npm run build
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"@schemastore/package": "^0.0.10",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@tsconfig/node14": "^14.1.0",
"@tsconfig/node18": "^18.2.2",
"@types/eslint": "^8.4.6",
"@types/jest": "^29.0.0",
"@types/node": "^14.18.26",
Expand Down Expand Up @@ -156,7 +156,7 @@
},
"packageManager": "yarn@3.8.0",
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
"node": ">=18.0.0"
},
"publishConfig": {
"provenance": true
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node14/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"noEmit": true,
"stripInternal": true,
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2691,20 +2691,20 @@ __metadata:
languageName: node
linkType: hard

"@tsconfig/node14@npm:^14.1.0":
version: 14.1.0
resolution: "@tsconfig/node14@npm:14.1.0"
checksum: 8342dc30edbfaed11d1659b1a9819779bb69df210974a9e8a337b0624b1d9f5026f37e2dcc1d555adb3e4246a0ec35896b3ae5fe3fc69f3382d3bc11069cecc1
languageName: node
linkType: hard

"@tsconfig/node16@npm:^1.0.2":
version: 1.0.4
resolution: "@tsconfig/node16@npm:1.0.4"
checksum: 202319785901f942a6e1e476b872d421baec20cf09f4b266a1854060efbf78cde16a4d256e8bc949d31e6cd9a90f1e8ef8fb06af96a65e98338a2b6b0de0a0ff
languageName: node
linkType: hard

"@tsconfig/node18@npm:^18.2.2":
version: 18.2.2
resolution: "@tsconfig/node18@npm:18.2.2"
checksum: 1c4b04b570e33de14bf518492e077079db2dcfba738c8d40c6ff916d94c9410246f4cb56f0802d9771423862140bf714c35d4a5f6cec2446d851cf61d3f8f9df
languageName: node
linkType: hard

"@tufjs/canonical-json@npm:2.0.0":
version: 2.0.0
resolution: "@tufjs/canonical-json@npm:2.0.0"
Expand Down Expand Up @@ -4967,7 +4967,7 @@ __metadata:
"@schemastore/package": ^0.0.10
"@semantic-release/changelog": ^6.0.0
"@semantic-release/git": ^10.0.0
"@tsconfig/node14": ^14.1.0
"@tsconfig/node18": ^18.2.2
"@types/eslint": ^8.4.6
"@types/jest": ^29.0.0
"@types/node": ^14.18.26
Expand Down

0 comments on commit 2de1e20

Please sign in to comment.