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
+1 -1
View File
@@ -29,7 +29,7 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -b"
"typecheck": "pnpm -w tsc7 -b packages/common/tsconfig.json"
},
"dependencies": {
"@noble/hashes": "^2.0.1",
+1 -1
View File
@@ -12,7 +12,7 @@
"lint:fix": "eslint . --fix",
"test": "node -e \"console.log('test not configured')\"",
"prisma:generate": "pnpm prisma:generate:game && pnpm prisma:generate:gateway",
"typecheck": "tsc -b",
"typecheck": "pnpm -w tsc7 -b packages/infra/tsconfig.json",
"prisma:generate:game": "prisma generate --schema prisma/game.prisma",
"prisma:generate:gateway": "prisma generate --schema prisma/gateway.prisma",
"prisma:migrate:deploy:game": "prisma migrate deploy --schema prisma/game.prisma",
+1 -1
View File
@@ -18,7 +18,7 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc -b"
"typecheck": "pnpm -w tsc7 -b packages/logic/tsconfig.json"
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
+2 -2
View File
@@ -6,7 +6,7 @@
"scripts": {
"generate:resource-schemas": "tsx src/generate-resource-schemas.ts",
"validate:resources": "tsx src/validate-resources.ts",
"typecheck": "tsc -p tsconfig.json --noEmit"
"typecheck": "pnpm -w tsc7 -p packages/tools-scripts/tsconfig.json --noEmit"
},
"dependencies": {
"@sammo-ts/logic": "workspace:*",
@@ -15,6 +15,6 @@
"devDependencies": {
"@types/node": "^26.2.0",
"tsx": "^4.23.12",
"typescript": "6.0.2"
"typescript": "6.0.3"
}
}