Uh oh!
There was an error while loading. Please reload this page.
Bump TypeScript in template from 4.8.4 to 5.0.4 - #36862
Conversation
Base commit: 14b2b1c |
There was a problem hiding this comment.
Do we also need to bump the version of the typescript eslint plug-in we bring in as well?
Previously, using TS 4.9 was enough to generate a warning with the resolved plug-in, but I don't recall how loose our constraints were, so maybe new apps will use a compatible version of the plug-in now.
Could we confirm linting a new project doesn't result in any warnings? Otherwise this LGTM.
great point ^ fixing the ESLint warning (to support TS 5) only needed bumping ref: https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.55.0
|
can confirm no warnings in |
leotm
commented
Apr 11, 2023
➜ RN0720RC1 git:(main) npm list @typescript-eslint/parserRN0720RC1@0.0.1 /Users/leo/Documents/GitHub/RN0720RC1└─┬ @react-native/eslint-config@0.72.1 ├─┬ @typescript-eslint/eslint-plugin@5.57.1 │ └── @typescript-eslint/parser@5.57.1 deduped └── @typescript-eslint/parser@5.57.1👌 |
kelset
commented
Apr 11, 2023
cc @lunaleaps |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Luna <lunaleaps@gmail.com>
kelset
commented
Apr 12, 2023
Hey @leotm when you say
what do you mean? What is the "everything" here? I'm surprised that bumping to 5.x didn't need any types changes 🤔 |
NickGerleman
commented
Apr 12, 2023
This eslint config is also in the repo, so it can be bumped alongside this change. |
leotm
commented
Apr 12, 2023
my bad ^ was referring to
and gave android/ios a test run in repro |
been monitoring TS 5 nightly/dev/rc in https://github.com/leotm/react-native-template-new-architecture past few mo which types changes we expecting? edit: oops worth noting, template above on 0.71.6 atm (not 0.72.0-rc.1 like the repro) |
bumped @react-native/eslint-config from 0.72.1 to 0.73.0 in repro, still LGTM we're already on done in
|
leotm
commented
Apr 12, 2023
while we're at it bumped eslint from 8.19.0 to 8.38.0 in repro, still LGTM also done alongside in this pr, feel free to revert if needed |
kelset
commented
Apr 12, 2023
these types of bumps needs to be done repo wide, we can't misalign the template from the rest of the codebase. |
sry bk from node congress berlin ^ makes sense like before and should be small w/o pkg lockfiles now i'll bump remaining relevant pkgs and pray CI passes |
kelset
commented
Apr 17, 2023
Headsup, for typescript, you are missing the root package.json - it's still at 4.x there. |
leotm
commented
Apr 24, 2023
ci/circleci: test_android_template-NewArch-Release-JSC ci/circleci: test_ios_template-NewArch-Release-WithoutFlipper-Hermes-StaticLibraries ci/circleci: test_windows
|
facebook-github-bot
commented
May 10, 2023
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0 ## Changelog: [GENERAL] [CHANGED] - Bump TypeScript in template from 4.8.4 to 5.0.4 and ESLint pkgs from 8.19.0 to 8.38.0 X-link: react/react-native#36862 Reviewed By: cortinico Differential Revision: D45720238 Pulled By: NickGerleman fbshipit-source-id: d38b60110434760fdedc84ad941e0918bb986a40
facebook-github-bot
commented
May 10, 2023
@NickGerleman merged this pull request in d2e446d. |
Summary: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0 ## Changelog: [GENERAL] [CHANGED] - Bump TypeScript in template from 4.8.4 to 5.0.4 and ESLint pkgs from 8.19.0 to 8.38.0 Pull Request resolved: react/react-native#36862 Test Plan: Everything builds and runs as expected Reviewed By: cortinico Differential Revision: D45720238 Pulled By: NickGerleman fbshipit-source-id: d38b60110434760fdedc84ad941e0918bb986a40 Original: react/react-native@d2e446d
Summary: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0 ## Changelog: [GENERAL] [CHANGED] - Bump TypeScript in template from 4.8.4 to 5.0.4 and ESLint pkgs from 8.19.0 to 8.38.0 Pull Request resolved: react/react-native#36862 Test Plan: Everything builds and runs as expected Reviewed By: cortinico Differential Revision: D45720238 Pulled By: NickGerleman fbshipit-source-id: d38b60110434760fdedc84ad941e0918bb986a40 Original-Commit: react/react-native@d2e446d
Summary: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0 ## Changelog: [GENERAL] [CHANGED] - Bump TypeScript in template from 4.8.4 to 5.0.4 and ESLint pkgs from 8.19.0 to 8.38.0 Pull Request resolved: react/react-native#36862 Test Plan: Everything builds and runs as expected Reviewed By: cortinico Differential Revision: D45720238 Pulled By: NickGerleman fbshipit-source-id: d38b60110434760fdedc84ad941e0918bb986a40 Original-Commit: react/react-native@d2e446d
Summary:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0
Changelog:
[GENERAL] [CHANGED] - Bump TypeScript in template from 4.8.4 to 5.0.4 and ESLint pkgs from 8.19.0 to 8.38.0
Test Plan:
Everything builds and runs as expected