-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to TS 5 #8937
Upgrade to TS 5 #8937
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
|
||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"warnOnUnsupportedTypeScriptVersion": false | ||
}, | ||
"extends": ["react-app", "plugin:prettier/recommended"], | ||
"plugins": [ | ||
"@typescript-eslint", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FMI, why did you disable this plugin? |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,33 +34,36 @@ | |
"@storybook/react": "^7.0.12", | ||
"@storybook/react-webpack5": "^7.0.12", | ||
"@storybook/testing-react": "^2.0.0", | ||
"@types/jest": "^26.0.19", | ||
"@types/jest": "^29.5.2", | ||
"@types/react": "^17.0.20", | ||
"@typescript-eslint/eslint-plugin": "^5.9.1", | ||
"@typescript-eslint/parser": "^5.9.1", | ||
"@typescript-eslint/eslint-plugin": "^5.60.0", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"concurrently": "^5.1.0", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^8.19.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
"eslint-plugin-cypress": "^2.12.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-testing-library": "^5.11.0", | ||
"full-icu": "~1.3.1", | ||
"global-jsdom": "^9.0.1", | ||
"husky": "^2.3.0", | ||
"jest": "26.6.0", | ||
"jest-circus": "26.6.0", | ||
"jest-resolve": "26.6.0", | ||
"jest-watch-typeahead": "0.6.1", | ||
"lerna": "~5.5.2", | ||
"jest": "^29.5.0", | ||
"jest-circus": "29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"jest-resolve": "29.5.0", | ||
"jest-watch-typeahead": "2.2.2", | ||
"lerna": "~7.0.2", | ||
"lint-staged": "^13.0.3", | ||
"lolex": "~2.3.2", | ||
"prettier": "~2.1.1", | ||
"raf": "~3.4.1", | ||
"react": "^17.0.0", | ||
"react-dom": "^17.0.0", | ||
"storybook": "^7.0.12", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.4.0", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "^5.1.3", | ||
"wait-on": "^3.2.0", | ||
"whatwg-fetch": "^3.0.0" | ||
}, | ||
|
@@ -75,6 +78,9 @@ | |
} | ||
}, | ||
"resolutions": { | ||
"@typescript-eslint/typescript-estree": "^5.60.0", | ||
"@typescript-eslint/parser": "^5.60.0", | ||
"@typescript-eslint/eslint-plugin": "^5.60.0", | ||
Comment on lines
+81
to
+83
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is required because of |
||
"minimist": "^1.2.6", | ||
"ejs": "^3.1.7" | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use version
5.1.3
when latest supported is5.1.0
. It will be supported soon but we're safe anyway