Skip to content

build(deps): upgrade TypeScript to 6.0.3 - #55

Merged
diangogav merged 1 commit into
mainfrom
build/upgrade-typescript-6
Jun 19, 2026
Merged

build(deps): upgrade TypeScript to 6.0.3#55
diangogav merged 1 commit into
mainfrom
build/upgrade-typescript-6

Conversation

@diangogav

Copy link
Copy Markdown
Owner

Summary

  • Upgrade TypeScript 5.9.3 → 6.0.3 (latest stable), pinned exact.
  • Add ignoreDeprecations: "6.0" to tsconfig.json for the two options
    TS6 deprecates ahead of TS7.

Why now

The previous cap was typescript-eslint's peer range (<6.1.0). After
migrating 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 tsconfig options being removed in
TS7:

  • baseUrl (TS5101)
  • moduleResolution: "node" / node10 (TS5107)

Both are silenced with ignoreDeprecations: "6.0", the switch TypeScript
itself documents for the 6.0 transition. Actually migrating these
(baseUrl affects src/... imports; nodebundler for Bun) is a
separate modernization and out of scope here.

Test plan

  • bun run build (tsc 6.0.3) — exit 0, no type errors
  • bun test — 246 pass / 0 fail
  • bun run lint (biome check) — exit 0

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.
@diangogav
diangogav merged commit 6ac3079 into main Jun 19, 2026
1 check passed
@diangogav
diangogav deleted the build/upgrade-typescript-6 branch June 19, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant