chore(deps): typescript 5→6 major#64
Merged
Merged
Conversation
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).
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.
Bump
typescript^5.3.0→^6.0.3in root + all workspaces (installed 6.0.3).TS 6 migration fixes
types: ["node"](root) /["node","react"](autonav) — TS 6 no longer auto-includes all@typespackages. Without an explicittypesarray, node/react globals (console,node:*imports,Error.captureStackTrace,JSX) were dropped. Confirmed by probe: explicittypescompiles clean, auto-inclusion fails.ignoreDeprecations: "6.0"inpackages/communication-layer/tsconfig.json— itsmoduleResolution: "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), andbundler/node16resolution are incompatible withmodule: 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 --noEmitall workspaces) — passnpm test— autonav 112 passed / 9 skipped; communication-layer 45 passed / 13 skipped; pack-server no tests