v2.18.5
Changed
- TypeScript bumped to 7.0.2 — Dev-dependency upgrade from 5.9.3 (closes Dependabot PR #51). TS 7.0 locked down its
exportsmap and changed ambient-global auto-inclusion; the bump required two accompanying fixes (below) to keep the build green.
Fixed
- Build script tsc resolution updated for TS 7.0 —
scripts/build.mjsusedrequire.resolve("typescript/bin/tsc"), which fails under TS 7.0 because./bin/tscis no longer an importable subpath (theexportsmap only exposes.,./package.json, and./unstable/*). Now resolves the package root viarequire.resolve("typescript/package.json")and joinsbin/tscrelative to it — exports-safe and stable across TS versions. - tsconfig pinned
types: ["bun"]— TS 7.0 no longer auto-includes@types/bun's ambientBunglobal when notypesfield is set, breakingplatform-server.ts(Cannot find name 'Bun'). Added an explicittypes: ["bun"]so the Bun global resolves deterministically regardless of TS version.
Contributors
- @dependabot (PR #51 — proposed the typescript 5.9.3 → 7.0.2 bump; landed on
mainwith the two build-tooling fixes above)
Full Changelog: v2.18.4...v2.18.5