Skip to content

Commit 124e562

Browse files
authored
Upgrades TypeScript (#6108)
**What's the problem this PR addresses?** For some reason we can't run `yarn prepack` in `@yarnpkg/libzip`. I'm not sure why, but upgrading to TS 5.3.3 fixes the issue. It's also a good opportunity to avoid relying on a RC release. **How did you fix it?** Upgrades TypeScript. It doesn't reveal any new issue in our types. **Checklist** <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
1 parent 6db7b21 commit 124e562

11 files changed

+35
-59
lines changed

.pnp.cjs

Lines changed: 16 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.

.yarn/versions/ee91c169.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declined:
2+
- "@yarnpkg/builder"
3+
- "@yarnpkg/doctor"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"jest": "^29.2.1",
2929
"pirates": "^4.0.5",
3030
"tslib": "^2.4.0",
31-
"typescript": "5.3.1-rc"
31+
"typescript": "^5.3.3"
3232
},
3333
"resolutions": {
3434
"ink": "patch:ink@npm%3A3.0.8#~/.yarn/patches/ink-npm-3.0.8-3a8005f59f.patch",

packages/docusaurus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"esbuild-loader": "^2.20.0",
9797
"fast-glob": "^3.2.2",
9898
"typedoc": "^0.25.3",
99-
"typescript": "5.3.0-beta"
99+
"typescript": "^5.3.3"
100100
},
101101
"browserslist": {
102102
"production": [

packages/yarnpkg-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"devDependencies": {
2222
"@types/semver": "^7.1.0",
2323
"@yarnpkg/monorepo": "workspace:^",
24-
"typescript": "5.3.1-rc"
24+
"typescript": "^5.3.3"
2525
},
2626
"scripts": {
2727
"postpack": "rm -rf lib",

packages/yarnpkg-doctor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"micromatch": "^4.0.2",
1717
"p-limit": "^2.2.0",
1818
"tslib": "^2.4.0",
19-
"typescript": "5.3.1-rc"
19+
"typescript": "^5.3.3"
2020
},
2121
"devDependencies": {
2222
"@types/micromatch": "^4.0.1",

0 commit comments

Comments
 (0)