chore: standardize TypeScript version to 6.0.2 across workspace

- Updated pnpm-workspace.yaml to enforce TypeScript version 6.0.2.
- Replaced legacy TypeScript import with the current version in comparison tools.
- Added ignoreDeprecations setting in tsconfig.base.json to suppress deprecation warnings for baseUrl.
- Introduced TypeScript version policy documentation outlining the rationale and upgrade gate for moving to TypeScript 7.
This commit is contained in:
2026-07-25 06:39:04 +00:00
parent 0da9c46f66
commit 2cb6bc8e96
14 changed files with 269 additions and 519 deletions
+8
View File
@@ -48,6 +48,14 @@
## Planned Runtime & Tooling
- TypeScript: `6.0.2` (workspace-wide fixed version)
- TypeScript 7 is temporarily excluded because compiler/tooling APIs required
by this repository and its toolchain are not yet available or compatible.
- Keep `app/*`, `packages/*`, and `tools/*` on the same exact TypeScript
version. Do not add a package-local TypeScript 5 or 7 override.
- Upgrade to TypeScript 7 only after the required APIs and dependent tooling
are available and the repository-wide typecheck, lint, build, tests, and
comparison tools pass. See `docs/architecture/typescript-version.md`.
- Backend: Node.js + Fastify, with Prisma ORM.
- Turn daemon: turn scheduler/resolver service for game ticks.
- Turn daemon and API server communicate via Redis Stream or Redis pub/sub.