Skip to content

fix(build): constrain TypeScript compiler API - #167

Closed
jerome-benoit wants to merge 2 commits into
masterfrom
fix/constrain-build-typescript
Closed

fix(build): constrain TypeScript compiler API#167
jerome-benoit wants to merge 2 commits into
masterfrom
fix/constrain-build-typescript

Conversation

@jerome-benoit

Copy link
Copy Markdown
Contributor

PR Checklist

Does this PR introduce a breaking change?

  • Yes
  • No

Root cause

dts-bundle-generator@9.5.1 accepts typescript >=5.0.2, but TypeScript 7 does not expose the compiler API it calls (ts.sys). A lock refresh could therefore resolve an incompatible nested TypeScript 7 package.

Changes

  • override all build-tree TypeScript resolutions to 5.9.3
  • record the override in build/bun.lock
  • keep the existing declaration-generation toolchain unchanged

Verification

  • bunx bun@1.4.0 install --frozen-lockfile
  • Bun 1.4.0 browser and Bun build scripts
  • deno task test: 17 passed, 250 steps, 0 failed
  • deno task format:check
  • deno task lint

@sonarqubecloud

Copy link
Copy Markdown

@jerome-benoit

Copy link
Copy Markdown
Contributor Author

Closing as unnecessary. master passes the separated runtime and bundle CI without this override. A global exact TypeScript 5.9.3 override would create a second version source and could mask future TypeScript compatibility work, including #155. The incompatible lock refresh should remain rejected instead of pinning the whole build tree.

@jerome-benoit
jerome-benoit deleted the fix/constrain-build-typescript branch August 21, 2026 23:39
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