build(deps): upgrade TypeScript to 6.0.3 - #55
Merged
Conversation
Bump typescript from 5.9.3 to 6.0.3 (latest stable), pinned exact. This became possible after migrating off typescript-eslint, whose peer range capped TypeScript at <6.1.0. TS6 compiles the codebase with zero type errors. It only flags two tsconfig options as deprecated ahead of TS7 (baseUrl and moduleResolution node10), silenced with `ignoreDeprecations: "6.0"` — the official TS6 transition switch. Migrating those options (e.g. to bundler resolution) is a separate modernization, not this upgrade. Verified: tsc exits 0, 246 tests pass, biome check exits 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ignoreDeprecations: "6.0"totsconfig.jsonfor the two optionsTS6 deprecates ahead of TS7.
Why now
The previous cap was
typescript-eslint's peer range (<6.1.0). Aftermigrating to Biome (PR #53), that constraint is gone, so TS6 is now
reachable.
What TS6 reported
TS6 compiles the codebase with zero type errors. The only issues
were two deprecation warnings about
tsconfigoptions being removed inTS7:
baseUrl(TS5101)moduleResolution: "node"/ node10 (TS5107)Both are silenced with
ignoreDeprecations: "6.0", the switch TypeScriptitself documents for the 6.0 transition. Actually migrating these
(
baseUrlaffectssrc/...imports;node→bundlerfor Bun) is aseparate modernization and out of scope here.
Test plan
bun run build(tsc 6.0.3) — exit 0, no type errorsbun test— 246 pass / 0 failbun run lint(biome check) — exit 0