-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 TypeScript to 5.5 #63012
Upgrade TypeScript to 5.5 #63012
Conversation
a90c9c6
to
44e4802
Compare
854e0f9
to
e7970e3
Compare
2db8ac7
to
9b6211c
Compare
9b6211c
to
fbad0f8
Compare
492096b
to
9b2f8e8
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -49 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
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.
The lockfile dedupe is quite radical, many unrelated changes, even package upgrades. But why not, we should do such updates regularly.
- Upgrade TypeScript to 5.5. - Add a jsonc langauge hint for tsconfig files. - Dedupes npm packages. --- Co-authored-by: sirreal <jonsurrell@git.wordpress.org> Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
What?
Why?
TypeScript 5.5 brings a number of nice changes, upgrade it:
https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/
#63605 is a follow-up to leverage some of the new TS 5.5 features.
Deduping packages is a good idea in general. Npm is supposed to try to dedupe, but we seem to wind up with duplicates anyways:
gutenberg/.npmrc
Line 4 in 4730e12
The jsonc language hint will allow better rendering of tsconfig files in GitHub UI for things like comments in JSON (allowed in tsconfig.json files).
Testing Instructions
CI passes.