chore: upgrade TypeScript to 7.0 - #66
Conversation
TypeScript 7.0 is a native Go port delivering 8-12x faster builds, parallel type-checking (--checkers), and LSP support. https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
There was a problem hiding this comment.
Only the root workspace was bumped to TS 7. The 4 packages that actually invoke tsc (pbkit, pbkit-realtime, pbkit-tanstack, pbkit-zod) all still declare "typescript": "^6.0.0" in devDependencies and resolve to 6.0.3 in the lockfile. The upgrade is incomplete — every build, typecheck, and lint still runs on TS 6.
Blocking: 1 · Nits: 0 · Questions: 0 · mergeable once the 4 sub-package devDependencies are bumped to "typescript": "^7.0.0"
|
|
||
| "@expressive-code/plugin-shiki/shiki": ["shiki@3.23.0", "", { "dependencies": { "@shikijs/core": "3.23.0", "@shikijs/engine-javascript": "3.23.0", "@shikijs/engine-oniguruma": "3.23.0", "@shikijs/langs": "3.23.0", "@shikijs/themes": "3.23.0", "@shikijs/types": "3.23.0", "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "sha512-55Dj73uq9ZXL5zyeRPzHQsK7Nbyt6Y10k5s7OjuFZGMhpp4r/rsLBH0o/0fstIzX1Lep9VxefWljK/SKCzygIA=="], | ||
|
|
||
| "@karnak19/pbkit/typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], |
There was a problem hiding this comment.
The lockfile confirms the problem: @karnak19/pbkit/typescript, pbkit-realtime, pbkit-tanstack, and pbkit-zod all still resolve typescript@6.0.3. The root got bumped to 7.0.2 but the4 packages that actually run tsc (build, typecheck, lint) are still on 6. Each package's package.json needs "typescript": "^7.0.0" in devDependencies to complete this upgrade.
There was a problem hiding this comment.
Fixed in 78538eb — bumped typescript to ^7.0.0 in devDependencies of all four packages (pbkit, pbkit-realtime, pbkit-tanstack, pbkit-zod) and reinstalled. Lockfile now resolves typescript@7.0.2 everywhere; no typescript@6 entries remain.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
All 5 package.json files (root + 4 sub-packages) now declare "typescript": "^7.0.0". Lockfile resolves typescript@7.0.2 everywhere — no typescript@6 entries remain. The prior blocking issue is fully addressed.
Blocking: 0 · Nits: 0 · Questions: 0 · mergeable once nothing
TypeScript 7.0 Upgrade
Upgrades TypeScript from ^6.0.0 to ^7.0.0.
What's new
TypeScript 7.0 is a native Go port delivering:
--checkersflag--buildersflag📋 Announcement: https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
Build status
✅ Build passes with no changes needed.