From 31f906a3e7a2505367e596d5aa00feb07260aba9 Mon Sep 17 00:00:00 2001 From: terra tauri Date: Mon, 6 Jul 2026 07:12:08 -0700 Subject: [PATCH] =?UTF-8?q?chore(deps):=20typescript=205=E2=86=926=20major?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- package-lock.json | 30 +++++++++++---------- package.json | 2 +- packages/autonav/package.json | 2 +- packages/autonav/tsconfig.json | 1 + packages/communication-layer/package.json | 2 +- packages/communication-layer/tsconfig.json | 1 + packages/knowledge-pack-server/package.json | 2 +- tsconfig.json | 1 + 8 files changed, 23 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1004621..033130e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@types/marked": "^5.0.2", "@types/node": "^20.0.0", "tsx": "^4.7.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "engines": { @@ -16259,23 +16259,23 @@ } }, "node_modules/twoslash": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/twoslash/-/twoslash-0.3.6.tgz", - "integrity": "sha512-VuI5OKl+MaUO9UIW3rXKoPgHI3X40ZgB/j12VY6h98Ae1mCBihjPvhOPeJWlxCYcmSbmeZt5ZKkK0dsVtp+6pA==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/twoslash/-/twoslash-0.3.9.tgz", + "integrity": "sha512-rDclk+OtzuTX+tnea7DYLCkqGQ3eP0IyfD+kzUJ7t46X/NzlaxwrhecmEBNuSCuEn3V+n1PhcjUUQQ7gUJzX5Q==", "license": "MIT", "optional": true, "dependencies": { - "@typescript/vfs": "^1.6.2", - "twoslash-protocol": "0.3.6" + "@typescript/vfs": "^1.6.4", + "twoslash-protocol": "0.3.9" }, "peerDependencies": { - "typescript": "^5.5.0" + "typescript": "^5.5.0 || ^6.0.0" } }, "node_modules/twoslash-protocol": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/twoslash-protocol/-/twoslash-protocol-0.3.6.tgz", - "integrity": "sha512-FHGsJ9Q+EsNr5bEbgG3hnbkvEBdW5STgPU824AHUjB4kw0Dn4p8tABT7Ncg1Ie6V0+mDg3Qpy41VafZXcQhWMA==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/twoslash-protocol/-/twoslash-protocol-0.3.9.tgz", + "integrity": "sha512-9/iwp+CXOnjFMPQuPL5PkuRbZnDoNpBvtJCLs9t8kDYkL3YHujbvnHfZA1i5fApDftVEdBw+T/4F+dH5kIzpYQ==", "license": "MIT", "optional": true }, @@ -16387,7 +16387,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -17828,7 +17830,7 @@ "@types/react": "^18.3.0", "@types/tar": "^6.1.0", "ink-testing-library": "^4.0.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "optionalDependencies": { @@ -17852,7 +17854,7 @@ }, "devDependencies": { "@types/node": "^20.0.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "engines": { @@ -17874,7 +17876,7 @@ "@types/express": "^4.17.21", "@types/node": "^20.0.0", "tsx": "^4.7.0", - "typescript": "^5.3.0" + "typescript": "^6.0.3" } } } diff --git a/package.json b/package.json index 265674e..d054d32 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@types/marked": "^5.0.2", "@types/node": "^20.0.0", "tsx": "^4.7.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "engines": { diff --git a/packages/autonav/package.json b/packages/autonav/package.json index 4bbb02c..f57f115 100644 --- a/packages/autonav/package.json +++ b/packages/autonav/package.json @@ -72,7 +72,7 @@ "@types/react": "^18.3.0", "@types/tar": "^6.1.0", "ink-testing-library": "^4.0.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "optionalDependencies": { diff --git a/packages/autonav/tsconfig.json b/packages/autonav/tsconfig.json index b468df6..bc8e8da 100644 --- a/packages/autonav/tsconfig.json +++ b/packages/autonav/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "./dist", + "types": ["node", "react"], "rootDir": "./src", "declaration": true, "declarationMap": true, diff --git a/packages/communication-layer/package.json b/packages/communication-layer/package.json index 91024d0..3fe7916 100644 --- a/packages/communication-layer/package.json +++ b/packages/communication-layer/package.json @@ -46,7 +46,7 @@ }, "devDependencies": { "@types/node": "^20.0.0", - "typescript": "^5.3.0", + "typescript": "^6.0.3", "vitest": "^1.2.0" }, "engines": { diff --git a/packages/communication-layer/tsconfig.json b/packages/communication-layer/tsconfig.json index 232e883..76ebe24 100644 --- a/packages/communication-layer/tsconfig.json +++ b/packages/communication-layer/tsconfig.json @@ -10,6 +10,7 @@ "target": "ES2020", "lib": ["ES2020"], "moduleResolution": "node", + "ignoreDeprecations": "6.0", "esModuleInterop": true, "skipLibCheck": true, "strict": true, diff --git a/packages/knowledge-pack-server/package.json b/packages/knowledge-pack-server/package.json index eedbb49..f9c9c03 100644 --- a/packages/knowledge-pack-server/package.json +++ b/packages/knowledge-pack-server/package.json @@ -35,6 +35,6 @@ "@types/express": "^4.17.21", "@types/node": "^20.0.0", "tsx": "^4.7.0", - "typescript": "^5.3.0" + "typescript": "^6.0.3" } } diff --git a/tsconfig.json b/tsconfig.json index 663c142..c9cc022 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "target": "ES2022", + "types": ["node"], "module": "ESNext", "lib": ["ES2022"], "moduleResolution": "bundler",