Skip to content

fix(build): align TypeScript dependency and lockfile - #218

Merged
jerome-benoit merged 4 commits into
masterfrom
renovate/lock-file-maintenance
Nov 7, 2026
Merged

jerome-benoit merged 4 commits into
masterfrom
renovate/lock-file-maintenance

Conversation

@renovate

@renovate renovate Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

PR Checklist

  • Conventional Commits title and description provided.
  • Build constraint documented; runtime source and tests unchanged.
  • Original lock-maintenance issue diagnosed below.

Does this PR introduce a breaking change?

  • Yes
  • No

Changes

  • Use TypeScript 6.0.3, the supported JavaScript compiler API, and regenerate the Bun lockfile.
  • Remove redundant overrides instead of declaring TypeScript 7 while installing another version.
  • Restrict Renovate to TypeScript <7 for build/package.json only. Consumer peer dependencies remain unchanged.
  • Document the build-only compiler constraint in CONTRIBUTING.md.

Root cause

All three bundle jobs failed at ts.sys.readFile. The lockfile still recorded TypeScript 5.9.3 while the manifest requested 7.0.2. Installation reconciled this mismatch and selected TypeScript 7, whose package root no longer exposes the legacy compiler API used by the build. The original manifest also contained duplicate override keys. An isolated installation of the base commit with Bun 1.4.4 resolves TypeScript 5.9.3, confirming why the base build passed despite its inconsistent declarations.

No diagnostics, declaration generation or DOM/Web Worker consumer checks are removed.

Verification

  • Complete browser/Bun build and public declaration checks pass with CI's Bun 1.4.4.
  • Frozen-lockfile install, formatting and lint pass.
  • Strict Renovate config validation passes.
  • Resolved TypeScript 6.0.3 exposes every compiler API used by the build.
  • Actual rebuilt Bun consumer returns the submitted value through a real worker.
  • CI on the correction: 15/15 checks passed on d75b21bd6fba629eb6bcc0d5a6d72969fa86d2c9.

@renovate
renovate Bot requested a review from jerome-benoit as a code owner November 2, 2026 01:06
@renovate

renovate Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Use the supported JavaScript compiler API from TypeScript 6 instead of
the incompatible TypeScript 7 package root. Remove redundant overrides,
refresh the lockfile and constrain Renovate for build dependencies only.
@jerome-benoit jerome-benoit changed the title chore(deps): lock file maintenance fix(build): align TypeScript dependency and lockfile Nov 7, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 7, 2026

Copy link
Copy Markdown

@jerome-benoit
jerome-benoit merged commit 3e4afef into master Nov 7, 2026
15 checks passed
@jerome-benoit
jerome-benoit deleted the renovate/lock-file-maintenance branch November 7, 2026 00:37
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