Skip to content

chore(deps): bump typescript ^5.4.0 → ^6.0#8

Merged
Mlaz-code merged 1 commit into
mainfrom
chore/typescript-6
May 11, 2026
Merged

chore(deps): bump typescript ^5.4.0 → ^6.0#8
Mlaz-code merged 1 commit into
mainfrom
chore/typescript-6

Conversation

@Mlaz-code
Copy link
Copy Markdown
Contributor

Summary

  • Bump typescript ^5.4.0^6.0 (resolves to 6.0.3). TS 6 is the transitional cleanup release ahead of TS 7 (the Go-native compiler) — mostly turns 5.x deprecations into errors.
  • tsc --noEmit passes clean with no source changes.
  • Added "ignoreDeprecations": "6.0" to tsconfig.json: tsup's DTS build internally sets baseUrl (deprecated in 6.0, stops functioning in 7.0), which makes tsup --dts error out and emit no .d.ts files — a regression for a published SDK. ignoreDeprecations: "6.0" is the TS-team-recommended interim silencer (see https://aka.ms/ts6); drop it once tsup stops injecting baseUrl.
  • Verified: npm run typecheck ✅, npm run build (ESM + CJS + DTS) ✅ — dist/index.d.ts emitted.

Test plan

  • npm run typecheck clean
  • npm run build produces ESM + CJS + .d.ts
  • CI green
  • (npm publish is gated separately — version bump not included here)

🤖 Generated with Claude Code

TS 6.0 is the cleanup release before TS 7 (deprecations become errors).
- typecheck (`tsc --noEmit`) passes clean.
- Added `ignoreDeprecations: "6.0"` to tsconfig because tsup's DTS build injects
  `baseUrl` (deprecated in 6.0, removed in 7.0) — without it, `tsup --dts` errors and
  ships no .d.ts files. This is the TS-team-recommended interim silencer; revisit when
  tsup stops injecting baseUrl.
- Full build (ESM + CJS + DTS) and typecheck both green.
@Mlaz-code Mlaz-code merged commit 4aaebc8 into main May 11, 2026
3 checks passed
@Mlaz-code Mlaz-code deleted the chore/typescript-6 branch May 11, 2026 14:58
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