build: run TypeScript 6 and 7 side by side

This commit is contained in:
2026-08-12 23:34:23 +00:00
parent f12fe77408
commit 4329cbbbcf
27 changed files with 499 additions and 239 deletions
+5 -2
View File
@@ -13,6 +13,7 @@
"test:integration:conditional": "./tools/run-conditional-integration.sh",
"build": "turbo build",
"typecheck": "turbo typecheck",
"tsc7": "node_modules/@typescript/native/bin/tsc",
"dev": "turbo dev",
"build:server": "pnpm --filter ./tools/build-scripts build:server --",
"generate:resource-schemas": "pnpm --filter @sammo-ts/tools-scripts generate:resource-schemas",
@@ -23,10 +24,11 @@
"check:legacy:general": "node tools/compare-command-constraints.mjs --include '^General/' --check && node tools/compare-command-logs.mjs --include '^General/' --mode action --check && node tools/compare-general-turn-contracts.mjs --check",
"check:ref-compat-markers": "node tools/check-ref-compat-markers.mjs",
"check:architecture": "node tools/check-package-boundaries.mjs",
"check:typescript-toolchain": "node tools/check-typescript-toolchain.mjs",
"test:architecture": "node --test tools/check-package-boundaries.test.mjs",
"test:image-sync": "node --test tools/sync-image-repository.test.mjs",
"test:e2e:frontend-legacy": "playwright test --config tools/frontend-legacy-parity/playwright.config.mjs --tsconfig tools/frontend-legacy-parity/tsconfig.json",
"typecheck:e2e:frontend-legacy": "tsc -p tools/frontend-legacy-parity/tsconfig.json --noEmit",
"typecheck:e2e:frontend-legacy": "pnpm tsc7 -p tools/frontend-legacy-parity/tsconfig.json --noEmit",
"test:e2e:main-front-status-live": "node tools/frontend-legacy-parity/run-main-front-status-live.mjs",
"test:e2e:main-records-live": "node tools/frontend-legacy-parity/run-main-records-live.mjs",
"migrate:legacy": "pnpm --filter @sammo-ts/legacy-db-migration migrate",
@@ -49,7 +51,8 @@
"prettier": "^3.9.6",
"tsdown": "^0.22.14",
"turbo": "^2.10.9",
"typescript": "6.0.2",
"@typescript/native": "npm:typescript@7.0.2",
"typescript": "6.0.3",
"typescript-eslint": "^8.67.0",
"vitepress": "1.6.4",
"vue-eslint-parser": "^10.4.1"