Open
Conversation
- Update typescript from 5.9.3 to 6.0.2 - Remove deprecated baseUrl option (migrate absolute imports to relative) - Remove esModuleInterop (always enabled in TS 6.0) - Change module from CommonJS to preserve (tsup handles bundling) - Add explicit moduleResolution: bundler (node10 deprecated) - Add explicit types: ["node"] (default changed to []) - Add ignoreDeprecations: "6.0" (needed for tsup's internal baseUrl usage) https://claude.ai/code/session_0168r2kkTqkaA39YaV2XPVac
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
baseUrloption and migrate absolute imports (src/types/...) to relative imports (../types/...) in 4 stream filesesModuleInterop: true— always enabled in TS 6.0, no longer configurablemodulefromCommonJStopreserve— tsup handles the actual bundlingmoduleResolution: bundler— the implicitnode10default is deprecatedtypes: ["node"]— new default is[], which would break Node.js global type resolutionignoreDeprecations: "6.0"— needed because tsup internally usesbaseUrlfor DTS generation (can be removed once tsup ships a TS 6.0-compatible update)Test plan
npm run analyzepasses (type-checking + biome linting)npm run buildproducesdist/index.js,dist/index.mjs,dist/index.d.tsnpm run testpasses (requires EventSourcingDB container)https://claude.ai/code/session_0168r2kkTqkaA39YaV2XPVac