Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit abda077

Browse files
authored
deps: upgrade to typescript 5.x (#536)
Also includes upgrades to: * @typescript-eslint/parser and @typescript-eslint/eslint-plugin 6.x (required to support TypeScript 5) * ts-jest 29.1.1 (required to support TypeScript 5) * eslint 8.49.0 (I was in the neighborhood)
1 parent 690d074 commit abda077

File tree

7 files changed

+1465
-609
lines changed

7 files changed

+1465
-609
lines changed

packages/eslint-config/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ module.exports = {
2929
},
3030
},
3131
parser: "@typescript-eslint/parser",
32+
parserOptions: {
33+
// Prefer a ./tsconfig.eslint.json, otherwise fall back to ./tsconfig.json.
34+
project: [ "./tsconfig.eslint.json", "./tsconfig.json" ],
35+
},
3236
overrides: [
3337
{
3438
files: ["**/*.{tsx,ts}"],

packages/eslint-config/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616
],
1717
"license": "MIT",
1818
"dependencies": {
19-
"@typescript-eslint/parser": "5.54.0",
19+
"@typescript-eslint/parser": "6.7.0",
2020
"eslint-config-prettier": "8.6.0"
2121
},
2222
"devDependencies": {
2323
"@snyk/protect": "1.1111.0",
24-
"eslint": "8.35.0",
25-
"typescript": "4.8.4"
24+
"eslint": "8.49.0",
25+
"typescript": "5.x"
2626
},
2727
"peerDependencies": {
28-
"@typescript-eslint/eslint-plugin": "^5.10.2",
28+
"@typescript-eslint/eslint-plugin": ">=6.7.0",
2929
"eslint": ">=8",
3030
"eslint-plugin-prettier": "^4.0.0",
3131
"eslint-plugin-react": "^7.28.0",
3232
"eslint-plugin-react-hooks": "^4.3.0",
33-
"typescript": ">=3.9.0"
33+
"typescript": "5.x"
3434
},
3535
"publishConfig": {
3636
"access": "public"

packages/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"npm-run-all": "4.1.5",
2525
"react": "17.0.2",
2626
"rimraf": "3.0.2",
27-
"typescript": "4.8.4"
27+
"typescript": "5.x"
2828
},
2929
"peerDependencies": {
3030
"react": "^17.0.2"

packages/storybook-ui-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@cockroachlabs/icons": "workspace:../icons",
2222
"@cockroachlabs/ui-components": "workspace:../ui-components",
2323
"ts-loader": "9.4.2",
24-
"typescript": "4.8.4"
24+
"typescript": "5.x"
2525
},
2626
"devDependencies": {
2727
"@babel/core": "7.21.0",

packages/ui-components/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
"@types/react-lines-ellipsis": "0.15.1",
5555
"@types/recharts": "^1.8.23",
5656
"@types/testing-library__jest-dom": "^5.14.6",
57-
"@typescript-eslint/eslint-plugin": "5.54.0",
58-
"@typescript-eslint/parser": "5.54.0",
57+
"@typescript-eslint/eslint-plugin": "6.7.0",
58+
"@typescript-eslint/parser": "6.7.0",
5959
"babel-loader": "8.3.0",
6060
"classnames": "2.3.2",
6161
"css-loader": "^6.8.1",
62-
"eslint": "8.35.0",
62+
"eslint": "8.49.0",
6363
"eslint-config-prettier": "8.6.0",
6464
"eslint-plugin-prettier": "4.2.1",
6565
"eslint-plugin-react": "7.32.2",
@@ -79,8 +79,8 @@
7979
"sass-loader": "13.2.0",
8080
"source-map-loader": "4.0.1",
8181
"style-loader": "3.3.1",
82-
"ts-jest": "29.0.5",
83-
"typescript": "4.8.4",
82+
"ts-jest": "29.1.1",
83+
"typescript": "5.x",
8484
"webpack": "5.75.0",
8585
"webpack-cli": "4.10.0",
8686
"webpackbar": "5.0.2"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"node_modules",
5+
"dist",
6+
],
7+
}

0 commit comments

Comments
 (0)