Skip to content

chore(deps): typescript 5→6 major#64

Merged
terraboops merged 2 commits into
mainfrom
deps/typescript-6
Jul 6, 2026
Merged

chore(deps): typescript 5→6 major#64
terraboops merged 2 commits into
mainfrom
deps/typescript-6

Conversation

@terraboops

Copy link
Copy Markdown
Owner

Bump typescript ^5.3.0^6.0.3 in root + all workspaces (installed 6.0.3).

TS 6 migration fixes

  • types: ["node"] (root) / ["node","react"] (autonav) — TS 6 no longer auto-includes all @types packages. Without an explicit types array, node/react globals (console, node:* imports, Error.captureStackTrace, JSX) were dropped. Confirmed by probe: explicit types compiles clean, auto-inclusion fails.
  • ignoreDeprecations: "6.0" in packages/communication-layer/tsconfig.json — its moduleResolution: "node" (node10) is deprecated in TS 6 (TS5107). This is TS's own sanctioned interim flag; a real resolution migration is blocked here because the package does a dual CJS+ESM build (module: commonjs), and bundler/node16 resolution are incompatible with module: commonjs. Flagging for follow-up before TS 7.0 removes node10.

No source changes; no blanket any/@ts-ignore.

Test

  • npm run typecheck (builds + tsc --noEmit all workspaces) — pass
  • npm test — autonav 112 passed / 9 skipped; communication-layer 45 passed / 13 skipped; pack-server no tests

Bump typescript ^5.3.0 → ^6.0.3 in root + all workspaces.

TS 6 migration fixes:
- Explicit types: ["node"] (root) / ["node","react"] (autonav): TS 6
  no longer auto-includes all @types packages, so node/react globals
  (console, node:*, Error.captureStackTrace, JSX) were dropped.
- ignoreDeprecations: "6.0" in communication-layer tsconfig: its
  moduleResolution "node" (node10) is deprecated in TS 6; kept for the
  dual CJS+ESM build (bundler/node16 are incompatible with module:commonjs).
@terraboops
terraboops merged commit af66127 into main Jul 6, 2026
5 checks passed
@terraboops
terraboops deleted the deps/typescript-6 branch July 6, 2026 15:09
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