Thread

AB
Alexander Balashov11:42 AMOpen in Slack
Hey all,
I’ve been poking at upgrading the repo from TypeScript 5.9 to 6.0, and it looks like a pretty smooth change.
I only ran into two things:
• a tsconfig deprecation warning, already addressed in this PR
• a small TS bug that the stricter compiler checks caught, already fixed in my TS 6 PR
So it feels like we're in a good spot to move to 6.0 without much churn. It also seems like a good prep step for eventually switching to the faster TypeScript 7 toolchain.
😮1

10 replies
J(
joey (archestra team)12:19 PMOpen in Slack
TIL typescript 7 beta was announced yesterday 😅
J(
joey (archestra team)12:20 PMOpen in Slack
pr LGTM - one comment about pnpm lockfile from CI, other than that will merge once that's addressed! 🙏
AB
Alexander Balashov12:31 PMOpen in Slack
TIL typescript 7 beta was announced yesterday
yeah, BTW I've already tested the beta version locally and it gives x8 🚀 performance improvement. Almost the advertised x10
AB
Alexander Balashov12:39 PMOpen in Slack
@user
pr LGTM - one comment about pnpm lockfile from CI, other than that will merge once that's addressed! 🙏
✅ fixed
👀1
J(
joey (archestra team)12:59 PMOpen in Slack
and it gives x8 🚀 performance improvement. Almost the advertised x10
oh wow! merging the ts6 pr now, if you are motivated to open one to upgrade to ts7, I'd certainly review 👀
👍1
J(
joey (archestra team)1:03 PMOpen in Slack
curious why the pnpm.overrides portion is needed in the PR?
AB
Alexander Balashov1:11 PMOpen in Slack
without the override install works, but removing the override causes duplicate TypeScript versions in the tree.
• pnpm install completes successfully (only unrelated peer warnings for @better-auth/passkey and next-runtime-env).
• However, the lockfile now resolves both typescript@5.9.3 and typescript@6.0.2. The override was deduping them.
• Packages pulling in 5.9.3 via peer deps: @tanstack/router-plugin@5.86.0, tsconfck@0.21.3, @hey-api/openapi-ts@0.94.1, and a vite plugin at 6.1.1. They all declare typescript as a peer and prefer 5.x.
• The - typescript 5.9.3 / + typescript 6.0.2 diff pnpm printed confirms the override was actively forcing those consumers onto 6.0.2.
Recommendation: keep the override. It's doing real work — preventing a second TS copy from being hoisted for tooling that hasn't caught up to TS 6 yet.
👍1
J(
joey (archestra team)3:59 PMOpen in Slack
makes sense! :pr-merged:
AB
Alexander Balashov4:20 PMOpen in Slack
after that realized the approach is actually suboptimal.
Here is a proper fix using the pnpm 's Catalogsfeature
👀1
AB
Alexander Balashov6:28 PMOpen in Slack
if you are motivated to open one to upgrade to ts7, I'd certainly review
👀1