next-env.d.ts is a generated file using triple-slash references that TypeScript requires. ESLint exemption added in apps/web-next config only. Also declare CI, DATABASE_URL, PAYLOAD_SECRET, NODE_ENV in turbo.json globalEnv so turbo/no-undeclared-env-vars stops warning. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
28 lines
557 B
JSON
28 lines
557 B
JSON
{
|
|
"$schema": "https://turborepo.dev/schema.json",
|
|
"globalEnv": ["CI", "DATABASE_URL", "PAYLOAD_SECRET", "NODE_ENV"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test:e2e": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^typecheck"]
|
|
}
|
|
}
|
|
}
|