build: run TypeScript 6 and 7 side by side
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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:*",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user