chore(deps): bump typescript ^5.4.0 → ^6.0#8
Merged
Conversation
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.
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
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 --noEmitpasses clean with no source changes."ignoreDeprecations": "6.0"totsconfig.json:tsup's DTS build internally setsbaseUrl(deprecated in 6.0, stops functioning in 7.0), which makestsup --dtserror out and emit no.d.tsfiles — a regression for a published SDK.ignoreDeprecations: "6.0"is the TS-team-recommended interim silencer (see https://aka.ms/ts6); drop it oncetsupstops injectingbaseUrl.npm run typecheck✅,npm run build(ESM + CJS + DTS) ✅ —dist/index.d.tsemitted.Test plan
npm run typecheckcleannpm run buildproduces ESM + CJS +.d.ts🤖 Generated with Claude Code