managarten/turbo.json
Wuesteon 307f1ae22e fix: add ^build dependency to type-check task
Packages that export types from dist/ (like @mana-core/nestjs-integration)
need to be built before dependent packages can type-check against them.
The ^type-check dependency alone doesn't produce the dist/ output files.
2025-12-10 21:34:07 +01:00

36 lines
655 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"concurrency": "5",
"globalEnv": [
"NODE_ENV",
"MANA_CORE_AUTH_URL",
"JWT_PUBLIC_KEY",
"AZURE_OPENAI_ENDPOINT",
"AZURE_OPENAI_API_KEY"
],
"tasks": {
"dev": {
"cache": false,
"persistent": true
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "build/**", ".next/**", ".svelte-kit/**", ".astro/**"]
},
"lint": {
"dependsOn": ["^lint"],
"outputs": []
},
"type-check": {
"dependsOn": ["^type-check", "^build"],
"outputs": []
},
"test": {
"dependsOn": ["^build"],
"outputs": ["coverage/**"]
},
"clean": {
"cache": false
}
}
}