Skip to content

Commit 341c2f9

Browse files
authored
chore: upgrade typescript (#219)
BREAKING CHANGE: Node versions 14, 16 and 21 are no longer supported
1 parent b149f59 commit 341c2f9

File tree

3 files changed

+126
-145
lines changed

3 files changed

+126
-145
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node-version: [14.x, 16.x, 18.x, 20.x, 21.x, 22.x]
21+
node-version: [18.x, 20.x, 22.x, 23.x]
2222
runs-on: ubuntu-latest
2323

2424
steps:

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@
5656
"@semantic-release/git": "^10.0.0",
5757
"@tsconfig/node14": "^14.1.2",
5858
"@types/jest": "^29.0.0",
59-
"@types/node": "^14.0.0",
59+
"@types/node": "^16.0.0",
6060
"@types/react": "^18.0.0",
61-
"@typescript-eslint/eslint-plugin": "^5.0.0",
62-
"@typescript-eslint/parser": "^5.0.0",
61+
"@typescript-eslint/eslint-plugin": "^6.0.0",
62+
"@typescript-eslint/parser": "^6.0.0",
6363
"@vercel/ncc": "^0.38.0",
6464
"chalk": "^4.0.0",
6565
"eslint": "^8.0.0",
6666
"eslint-config-prettier": "^10.0.0",
6767
"eslint-plugin-import": "^2.18.2",
68-
"eslint-plugin-jest": "^27.0.0",
68+
"eslint-plugin-jest": "^28.0.0",
6969
"eslint-plugin-n": "^15.0.0",
7070
"eslint-plugin-prettier": "^5.0.0",
7171
"eslint-plugin-react": "^7.16.0",
@@ -80,11 +80,14 @@
8080
"semantic-release": "^24.0.0",
8181
"slash": "^3.0.0",
8282
"ts-jest": "^29.0.0",
83-
"typescript": "^4.0.0"
83+
"typescript": "^5.0.0"
8484
},
8585
"peerDependencies": {
8686
"jest": "^27.0.0 || ^28.0.0 || ^29.0.0"
8787
},
88+
"resolutions": {
89+
"eslint-plugin-jest/@typescript-eslint/utils": "^6.0.0"
90+
},
8891
"engines": {
8992
"node": ">=14"
9093
},

0 commit comments

Comments
 (0)