dc87b884e7
## Summary Upgrades the workspace to TypeScript 6.0.3 and applies the compiler, type, and build configuration changes required to preserve package layouts and existing runtime behavior, apart from correcting the HTTP status field used for deployment connection errors. ## Compatibility - Centralizes TypeScript 6.0.3 through the pnpm workspace catalog. - Replaces compiler options and module resolution modes that TypeScript 6 no longer accepts. - Restores explicit Node types where TypeScript 6 no longer includes them transitively. - Adds explicit declaration build roots that preserve each package's existing output layout. - Patches tsup to stop injecting the removed `baseUrl` option during declaration builds. - Uses type-only assertions for stricter typed-array and stream definitions without changing runtime behavior. - Reads the EventSource v3 HTTP status from `code`, so deployment connection errors include it correctly. - Keeps standalone CLI compatibility fixtures pinned to their existing TypeScript version and lockfiles. `turbo run typecheck` and the complete PR test suite are green.
12 lines
270 B
JSON
12 lines
270 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"include": ["./test/**/*.ts"],
|
|
"references": [{ "path": "./tsconfig.src.json" }],
|
|
"compilerOptions": {
|
|
"isolatedDeclarations": false,
|
|
"composite": true,
|
|
"sourceMap": true,
|
|
"types": ["vitest/globals", "node"]
|
|
}
|
|
}
|