38 lines
827 B
JSON
38 lines
827 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": [".env"],
|
|
"globalEnv": [
|
|
"NODE_ENV",
|
|
"DATABASE_URL",
|
|
"DATABASE_HOST",
|
|
"DATABASE_NAME",
|
|
"DATABASE_USER",
|
|
"DATABASE_PASSWORD",
|
|
"DATABASE_PORT",
|
|
"BRIDGE_FRONTEND_URL"
|
|
],
|
|
"tasks": {
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"build/**",
|
|
"dist/**",
|
|
"docker/zammad/addons/**"
|
|
]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["build"],
|
|
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
|
|
},
|
|
"lint": {
|
|
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
|
|
}
|
|
}
|
|
}
|