tpmjs/turbo.json
Ajax Davis e92f652679 fix(ci): ensure type-check runs after build to generate Prisma client
- Add "build" to type-check dependsOn in turbo.json
- Ensures packages run their own build before type-checking
- Fixes @tpmjs/db type-check failing due to missing Prisma client
- Maintains existing "^build" dependency on workspace dependencies

This ensures Prisma client generation (via db package build script)
completes before TypeScript type-checking runs, preventing CI failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 04:09:07 +10:00

32 lines
669 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local", "tsconfig.json"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**", "storybook-static/**"]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {
"dependsOn": ["^build"]
},
"type-check": {
"dependsOn": ["build", "^build"],
"outputs": []
},
"test": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"test:ui": {
"cache": false,
"persistent": true
},
"clean": {
"cache": false
}
}
}