Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-8474: build: use TypeScript 7 for workspace type checks (#9806)

Multica Evef8554cdba92f
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 90624e6772..b51c640a3a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -47,6 +47,40 @@ This keeps Docker simple while still isolating schema and data.
- Go `1.26.9`
- Docker
+Outside mobile, `pnpm typecheck` uses the native TypeScript 7 compiler (`tsc`,
+provided by the `@typescript/native` npm alias). The `typescript` dependency
+aliases `@typescript/typescript6` so ESLint, Next.js builds, and repository
+scripts retain the compatible TypeScript 6 API. Use `tsc6` to check with that
+compiler explicitly. Keep both dependencies when updating the toolchain;
+replacing the API package with TypeScript 7 breaks API consumers.
+Mobile keeps its own TypeScript dependency.
+When removing TS6 compatibility, update the `typescript` peer range in
+`packages/eslint-config/package.json` together with TypeScript API support in
+`typescript-eslint`.
+
+### Editor TypeScript SDK
+
+The compatibility package provides the compiler API but does not include
+`node_modules/typescript/lib/tsserver.js`. An existing workspace SDK selection
+or `typescript.tsdk` setting pointing to `node_modules/typescript/lib` can
+therefore become invalid or fall back to the editor's bundled TypeScript.
+
+To keep TS6 in VS Code with the repository root open:
+
+1. After `pnpm install`, set the SDK directory to
+ `node_modules/@typescript/old/lib`, the real TS6 installation in this
+ repository's pnpm layout. Use `typescript.tsdk`, or `js/ts.tsdk.path` in
+ versions using that setting name. The selected directory must contain
+ `tsserver.js`.
+2. Open a TypeScript file, run **TypeScript: Select TypeScript Version**, and
+ select the workspace version. Confirm TS6 is selected in the language
+ status item. See [VS Code's SDK selection instructions](https://code.visualstudio.com/docs/typescript/typescript-transpiling#_using-newer-typescript-versions).
+
+To use the TS7 language server instead, remove the TS6 SDK override, install
+the [official TypeScript 7 extension](https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.native-preview),
+and run **TypeScript: Enable TypeScript 7**. The editor language server is
+selected separately from the CLI compiler used by `pnpm typecheck`.
+
## Important Rules
- The main checkout should use `.env`.
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 91f3a5b3cb..2d6ea79b58 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -67,6 +67,7 @@
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "@typescript/native": "catalog:",
"@vitejs/plugin-react": "^5.1.1",
"electron": "^44.9.3",
"electron-builder": "^26.0.12",
diff --git a/apps/desktop/src/renderer/src/env.d.ts b/apps/desktop/src/renderer/src/env.d.ts
index 11f02fe2a0..d74dcb27cf 100644
--- a/apps/desktop/src/renderer/src/env.d.ts
+++ b/apps/desktop/src/renderer/src/env.d.ts
@@ -1 +1,3 @@
/// <reference types="vite/client" />
+
+declare module "@fontsource-variable/source-serif-4";
diff --git a/apps/desktop/tsconfig.web.json b/apps/desktop/tsconfig.web.json
index fd97d2257c..778741c61d 100644
--- a/apps/desktop/tsconfig.web.json
+++ b/apps/desktop/tsconfig.web.json
@@ -11,10 +11,9 @@
"composite": true,
"noImplicitAny": true,
"jsx": "react-jsx",
- "baseUrl": ".",
"paths": {
"@/*": [
- "src/renderer/src/*"
+ "./src/renderer/src/*"
]
}
}
diff --git a/apps/docs/package.json b/apps/docs/package.json
index e84e43f50a..d152c9fc3e 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -28,6 +28,7 @@
"@tailwindcss/postcss": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "@typescript/native": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
diff --git a/apps/web/package.json b/apps/web/package.json
index 3cf502ea0a..161481d5ce 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -37,6 +37,7 @@
"@testing-library/user-event": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "@typescript/native": "catalog:",
"@vitejs/plugin-react": "catalog:",
"jsdom": "catalog:",
"tailwindcss": "catalog:",
diff --git a/packages/core/package.json b/packages/core/package.json
index 3a74a37668..19331012ad 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -198,6 +198,7 @@
"@multica/tsconfig": "workspace:*",
"@testing-library/react": "catalog:",
"@types/react": "catalog:",
+ "@typescript/native": "catalog:",
"jsdom": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json
index 47b9e056e4..e6da0e8099 100644
--- a/packages/eslint-config/package.json
+++ b/packages/eslint-config/package.json
@@ -20,6 +20,7 @@
"@next/eslint-plugin-next": "^16.2.0"
},
"peerDependencies": {
- "eslint": "^9.0.0"
+ "eslint": "^9.0.0",
+ "typescript": ">=4.8.4 <6.1.0"
}
}
diff --git a/packages/plugin-sdk/package.json b/packages/plugin-sdk/package.json
index 3e756afb81..ef236e30e5 100644
--- a/packages/plugin-sdk/package.json
+++ b/packages/plugin-sdk/package.json
@@ -20,6 +20,7 @@
"devDependencies": {
"@multica/eslint-config": "workspace:*",
"@multica/tsconfig": "workspace:*",
+ "@typescript/native": "catalog:",
"typescript": "catalog:"
}
}
diff --git a/packages/ui/css.d.ts b/packages/ui/css.d.ts
new file mode 100644
index 0000000000..cbe652dbe0
--- /dev/null
+++ b/packages/ui/css.d.ts
@@ -0,0 +1 @@
+declare module "*.css";
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 23531caf64..d9ffb5c526 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -72,6 +72,7 @@
"@types/linkify-it": "^5.0.0",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
+ "@typescript/native": "catalog:",
"@vitejs/plugin-react": "catalog:",
"esbuild": "^0.25.12",
"jsdom": "catalog:",
diff --git a/packages/views/css.d.ts b/packages/views/css.d.ts
new file mode 100644
index 0000000000..cbe652dbe0
--- /dev/null
+++ b/packages/views/css.d.ts
@@ -0,0 +1 @@
+declare module "*.css";
diff --git a/packages/views/package.json b/packages/views/package.json
index 74ab0eb6f6..11f0b5ed30 100644
--- a/packages/views/package.json
+++ b/packages/views/package.json
@@ -147,6 +147,7 @@
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@typescript-eslint/parser": "^8.35.0",
+ "@typescript/native": "catalog:",
"@vitejs/plugin-react": "catalog:",
"eslint": "^9.0.0",
"eslint-plugin-i18next": "catalog:",
diff --git a/packages/views/settings/components/wecom-scan-install-dialog.test.tsx b/packages/views/settings/components/wecom-scan-install-dialog.test.tsx
index ff912489ee..a116d8e3ec 100644
--- a/packages/views/settings/components/wecom-scan-install-dialog.test.tsx
+++ b/packages/views/settings/components/wecom-scan-install-dialog.test.tsx
@@ -285,7 +285,7 @@ describe("WecomScanInstallDialog", () => {
const realCrypto = globalThis.crypto;
// A non-secure context keeps getRandomValues and loses randomUUID.
vi.stubGlobal("crypto", {
- getRandomValues: (b: Uint8Array) => realCrypto.getRandomValues(b),
+ getRandomValues: (b: Uint8Array<ArrayBuffer>) => realCrypto.getRandomValues(b),
});
try {
mockBegin.mockResolvedValue({
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3c32119684..7f4bc23dd8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -33,6 +33,9 @@ catalogs:
'@types/node':
specifier: ^25.0.10
version: 25.5.0
+ '@typescript/native':
+ specifier: npm:[email protected]
+ version: 7.0.2
'@vitejs/plugin-react':
specifier: ^6.0.1
version: 6.0.1
@@ -88,8 +91,8 @@ catalogs:
specifier: ^4
version: 4.2.2
typescript:
- specifier: ^5.9.3
- version: 5.9.3
+ specifier: npm:@typescript/[email protected]
+ version: 6.0.2
unicode-animations:
specifier: ^1.0.3
version: 1.0.3
@@ -148,7 +151,7 @@ importers:
version: 2.9.5
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
apps/desktop:
dependencies:
@@ -211,7 +214,7 @@ importers:
shadcn:
specifier: ^4.1.0
- version: 4.1.0(@types/[email protected])([email protected])
+ version: 4.1.0(@types/[email protected])(@typescript/[email protected])
sonner:
specifier: ^2.0.7
@@ -249,6 +252,9 @@ importers:
'@types/react-dom':
specifier: ^19.2.0
version: 19.2.3(@types/[email protected])
+ '@typescript/native':
+ specifier: 'catalog:'
'@vitejs/plugin-react':
specifier: ^5.1.1
@@ -272,10 +278,10 @@ importers:
version: 4.2.2
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
apps/docs:
dependencies:
@@ -319,15 +325,18 @@ importers:
'@types/react-dom':
specifier: ^19.2.0
version: 19.2.3(@types/[email protected])
+ '@typescript/native':
+ specifier: 'catalog:'
tailwindcss:
specifier: 'catalog:'
version: 4.2.2
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
apps/mobile:
dependencies:
@@ -577,7 +586,7 @@ importers:
version: 19.2.3([email protected])
shadcn:
specifier: ^4.1.0
- version: 4.1.0(@types/[email protected])([email protected])
+ version: 4.1.0(@types/[email protected])(@typescript/[email protected])
tw-animate-css:
specifier: ^1.4.0
version: 1.4.0
@@ -606,6 +615,9 @@ importers:
'@types/react-dom':
specifier: ^19.2.0
version: 19.2.3(@types/[email protected])
+ '@typescript/native':
+ specifier: 'catalog:'
'@vitejs/plugin-react':
specifier: 'catalog:'
@@ -620,10 +632,10 @@ importers:
version: 4.2.2
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
packages/core:
dependencies:
@@ -635,13 +647,13 @@ importers:
version: 5.96.2([email protected])
i18next:
specifier: 'catalog:'
- version: 26.0.8([email protected])
+ version: 26.0.8(@typescript/[email protected])
posthog-js:
specifier: 'catalog:'
version: 1.369.3
react-i18next:
specifier: 'catalog:'
yaml:
specifier: 'catalog:'
version: 2.9.0
@@ -664,6 +676,9 @@ importers:
'@types/react':
specifier: ^19.2.0
version: 19.2.14
+ '@typescript/native':
+ specifier: 'catalog:'
jsdom:
specifier: 'catalog:'
version: 29.0.1(@noble/[email protected])
@@ -675,10 +690,10 @@ importers:
version: 19.2.3([email protected])
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
packages/eslint-config:
dependencies:
@@ -700,6 +715,9 @@ importers:
eslint-plugin-react-hooks:
specifier: ^5.2.0
+ typescript:
+ specifier: '>=4.8.4 <6.1.0'
+ version: 6.0.3
typescript-eslint:
specifier: ^8.35.0
@@ -712,9 +730,12 @@ importers:
'@multica/tsconfig':
specifier: workspace:*
version: link:../tsconfig
+ '@typescript/native':
+ specifier: 'catalog:'
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
packages/tsconfig: {}
@@ -749,7 +770,7 @@ importers:
version: 5.6.0
i18next:
specifier: 'catalog:'
- version: 26.0.8([email protected])
+ version: 26.0.8(@typescript/[email protected])
input-otp:
specifier: ^1.4.2
@@ -773,7 +794,7 @@ importers:
version: 19.2.3([email protected])
react-i18next:
specifier: 'catalog:'
react-markdown:
specifier: ^10.1.0
version: 10.1.0(@types/[email protected])([email protected])
@@ -835,6 +856,9 @@ importers:
'@types/react-dom':
specifier: ^19.2.0
version: 19.2.3(@types/[email protected])
+ '@typescript/native':
+ specifier: 'catalog:'
'@vitejs/plugin-react':
specifier: 'catalog:'
@@ -846,10 +870,10 @@ importers:
version: 29.0.1(@noble/[email protected])
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
packages/views:
dependencies:
@@ -957,7 +981,7 @@ importers:
version: 9.0.5
i18next:
specifier: 'catalog:'
- version: 26.0.8([email protected])
+ version: 26.0.8(@typescript/[email protected])
katex:
specifier: 'catalog:'
version: 0.16.45
@@ -999,7 +1023,7 @@ importers:
react-i18next:
specifier: 'catalog:'
react-markdown:
specifier: ^10.1.0
version: 10.1.0(@types/[email protected])([email protected])
@@ -1081,7 +1105,10 @@ importers:
version: 19.2.3(@types/[email protected])
'@typescript-eslint/parser':
specifier: ^8.35.0
+ '@typescript/native':
+ specifier: 'catalog:'
'@vitejs/plugin-react':
specifier: 'catalog:'
@@ -1096,10 +1123,10 @@ importers:
version: 29.0.1(@noble/[email protected])
typescript:
specifier: 'catalog:'
- version: 5.9.3
+ version: '@typescript/[email protected]'
vitest:
specifier: 'catalog:'
packages:
@@ -5081,6 +5108,130 @@ packages:
resolution: {integrity: sha512-0GxiUGqMU0qXJt58cBsiG3DP8lUmBaFo2vChtUX+CT7PnR3v/VGLLrzVP4K9r1lNiZXjHYefMBbPunplr09v6w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [aix]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [loong64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [mips64el]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [ppc64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==}
+ engines: {node: '>=16.20.0'}
+ cpu: [s390x]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [linux]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [netbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [openbsd]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [sunos]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==}
+ engines: {node: '>=16.20.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==}
+ engines: {node: '>=16.20.0'}
+ cpu: [x64]
+ os: [win32]
+
+ '@typescript/[email protected]':
+ resolution: {integrity: sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w==}
+ hasBin: true
+
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
@@ -10961,16 +11112,16 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
- resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
- engines: {node: '>=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
engines: {node: '>=14.17'}
hasBin: true
+ resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
+ engines: {node: '>=16.20.0'}
+ hasBin: true
+
resolution: {integrity: sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==}
hasBin: true
@@ -15531,15 +15682,15 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.58.1
'@typescript-eslint/types': 8.58.1
- '@typescript-eslint/typescript-estree': 8.58.1([email protected])
+ '@typescript-eslint/typescript-estree': 8.58.1(@typescript/[email protected])
'@typescript-eslint/visitor-keys': 8.58.1
debug: 4.4.3
eslint: 9.39.4([email protected])
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
transitivePeerDependencies:
- supports-color
@@ -15567,12 +15718,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected](@typescript/[email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.58.1([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.58.1(@typescript/[email protected])
'@typescript-eslint/types': 8.58.1
debug: 4.4.3
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
transitivePeerDependencies:
- supports-color
@@ -15604,9 +15755,9 @@ snapshots:
'@typescript-eslint/types': 8.71.1
'@typescript-eslint/visitor-keys': 8.71.1
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected](@typescript/[email protected])':
dependencies:
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
'@typescript-eslint/[email protected]([email protected])':
dependencies:
@@ -15644,18 +15795,18 @@ snapshots:
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected](@typescript/[email protected])':
dependencies:
- '@typescript-eslint/project-service': 8.58.1([email protected])
- '@typescript-eslint/tsconfig-utils': 8.58.1([email protected])
+ '@typescript-eslint/project-service': 8.58.1(@typescript/[email protected])
+ '@typescript-eslint/tsconfig-utils': 8.58.1(@typescript/[email protected])
'@typescript-eslint/types': 8.58.1
'@typescript-eslint/visitor-keys': 8.58.1
debug: 4.4.3
minimatch: 10.2.4
semver: 7.7.4
tinyglobby: 0.2.15
- ts-api-utils: 2.5.0([email protected])
- typescript: 5.9.3
+ ts-api-utils: 2.5.0(@typescript/[email protected])
+ typescript: '@typescript/[email protected]'
transitivePeerDependencies:
- supports-color
@@ -15733,6 +15884,70 @@ snapshots:
'@typescript-eslint/types': 8.71.1
eslint-visitor-keys: 5.0.1
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ optional: true
+
+ '@typescript/[email protected]':
+ dependencies:
+ '@typescript/old': [email protected]
+
'@ungap/[email protected]': {}
@@ -15839,31 +16054,31 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.0
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- msw: 2.12.14(@types/[email protected])([email protected])
+ msw: 2.12.14(@types/[email protected])(@typescript/[email protected])
dependencies:
'@vitest/spy': 4.1.0
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- msw: 2.12.14(@types/[email protected])([email protected])
+ msw: 2.12.14(@types/[email protected])(@typescript/[email protected])
dependencies:
'@vitest/spy': 4.1.0
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- msw: 2.12.14(@types/[email protected])([email protected])
+ msw: 2.12.14(@types/[email protected])(@typescript/[email protected])
@@ -16721,14 +16936,14 @@ snapshots:
dependencies:
layout-base: 2.0.1
dependencies:
env-paths: 2.2.1
import-fresh: 3.3.1
js-yaml: 4.1.1
parse-json: 5.2.0
optionalDependencies:
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
dependencies:
@@ -19029,9 +19244,9 @@ snapshots:
optionalDependencies:
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
optionalDependencies:
@@ -20746,7 +20961,7 @@ snapshots:
dependencies:
'@inquirer/confirm': 5.1.21(@types/[email protected])
'@mswjs/interceptors': 0.41.3
@@ -20767,7 +20982,7 @@ snapshots:
until-async: 3.0.2
yargs: 17.7.2
optionalDependencies:
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
transitivePeerDependencies:
- '@types/node'
@@ -21634,16 +21849,16 @@ snapshots:
dependencies:
react: 19.2.3
dependencies:
'@babel/runtime': 7.29.2
html-parse-stringify: 3.0.1
- i18next: 26.0.8([email protected])
+ i18next: 26.0.8(@typescript/[email protected])
react: 19.2.3
use-sync-external-store: 1.6.0([email protected])
optionalDependencies:
react-dom: 19.2.3([email protected])
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
dependencies:
@@ -22462,7 +22677,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@babel/parser': 7.29.2
@@ -22473,7 +22688,7 @@ snapshots:
'@types/validate-npm-package-name': 4.0.2
browserslist: 4.28.1
commander: 14.0.3
- cosmiconfig: 9.0.1([email protected])
+ cosmiconfig: 9.0.1(@typescript/[email protected])
dedent: 1.7.2
deepmerge: 4.3.1
diff: 8.0.3
@@ -22483,7 +22698,7 @@ snapshots:
fuzzysort: 3.1.0
https-proxy-agent: 7.0.6
kleur: 4.1.5
- msw: 2.12.14(@types/[email protected])([email protected])
+ msw: 2.12.14(@types/[email protected])(@typescript/[email protected])
node-fetch: 3.3.2
open: 11.0.0
ora: 8.2.0
@@ -23032,9 +23247,9 @@ snapshots:
dependencies:
utf8-byte-length: 1.0.5
dependencies:
- typescript: 5.9.3
+ typescript: '@typescript/[email protected]'
dependencies:
@@ -23140,10 +23355,31 @@ snapshots:
transitivePeerDependencies:
- supports-color
-
+ optionalDependencies:
+ '@typescript/typescript-aix-ppc64': 7.0.2
+ '@typescript/typescript-darwin-arm64': 7.0.2
+ '@typescript/typescript-darwin-x64': 7.0.2
+ '@typescript/typescript-freebsd-arm64': 7.0.2
+ '@typescript/typescript-freebsd-x64': 7.0.2
+ '@typescript/typescript-linux-arm': 7.0.2
+ '@typescript/typescript-linux-arm64': 7.0.2
+ '@typescript/typescript-linux-loong64': 7.0.2
+ '@typescript/typescript-linux-mips64el': 7.0.2
+ '@typescript/typescript-linux-ppc64': 7.0.2
+ '@typescript/typescript-linux-riscv64': 7.0.2
+ '@typescript/typescript-linux-s390x': 7.0.2
+ '@typescript/typescript-linux-x64': 7.0.2
+ '@typescript/typescript-netbsd-arm64': 7.0.2
+ '@typescript/typescript-netbsd-x64': 7.0.2
+ '@typescript/typescript-openbsd-arm64': 7.0.2
+ '@typescript/typescript-openbsd-x64': 7.0.2
+ '@typescript/typescript-sunos-x64': 7.0.2
+ '@typescript/typescript-win32-arm64': 7.0.2
+ '@typescript/typescript-win32-x64': 7.0.2
+
@@ -23415,10 +23651,10 @@ snapshots:
- '@emnapi/core'
- '@emnapi/runtime'
dependencies:
'@vitest/expect': 4.1.0
'@vitest/pretty-format': 4.1.0
'@vitest/runner': 4.1.0
'@vitest/snapshot': 4.1.0
@@ -23444,10 +23680,10 @@ snapshots:
transitivePeerDependencies:
- msw
dependencies:
'@vitest/expect': 4.1.0
'@vitest/pretty-format': 4.1.0
'@vitest/runner': 4.1.0
'@vitest/snapshot': 4.1.0
@@ -23473,10 +23709,10 @@ snapshots:
transitivePeerDependencies:
- msw
dependencies:
'@vitest/expect': 4.1.0
'@vitest/pretty-format': 4.1.0
'@vitest/runner': 4.1.0
'@vitest/snapshot': 4.1.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 0a9262e6f4..5272a770f4 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -15,6 +15,7 @@ catalog:
'@types/node': ^25.0.10
'@types/react': ^19.2.0
'@types/react-dom': ^19.2.0
+ '@typescript/native': npm:[email protected]
'@vitejs/plugin-react': ^6.0.1
class-variance-authority: ^0.7.1
clsx: ^2.1.1
@@ -34,7 +35,8 @@ catalog:
remark-math: ^6.0.0
tailwind-merge: ^3.4.0
tailwindcss: ^4
- typescript: ^5.9.3
+ # Keep the compiler API for ESLint, Next.js, and repository scripts; tsc uses @typescript/native.
+ typescript: npm:@typescript/[email protected]
unicode-animations: ^1.0.3
vitest: ^4.1.0
yaml: ^2.6.0