62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "stream",
|
|
"globalDependencies": [".env"],
|
|
"globalEnv": ["DATABASE_URL", "SKIP_ENV_CHECK"],
|
|
"globalPassThroughEnv": ["ENCRYPTION_SECRET"],
|
|
"tasks": {
|
|
"lint": {
|
|
"outputs": []
|
|
},
|
|
"format:check": {
|
|
"outputs": []
|
|
},
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^dev",
|
|
"@typebot.io/prisma#db:generate",
|
|
"@typebot.io/prisma#db:push"
|
|
],
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"build": {
|
|
"env": ["VERCEL_*", "NEXTAUTH_URL", "SENTRY_*", "LANDING_PAGE_URL"],
|
|
"dependsOn": ["^build", "@typebot.io/prisma#db:generate"],
|
|
"outputs": [
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"dist/**",
|
|
"build/**",
|
|
"public/__ENV.js"
|
|
],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env"],
|
|
"outputLogs": "new-only"
|
|
},
|
|
"docs#build": {
|
|
"dependsOn": ["api:generate"],
|
|
"outputs": ["build/**"],
|
|
"outputLogs": "new-only"
|
|
},
|
|
"api:generate": {
|
|
"dependsOn": ["bot-engine#build", "@typebot.io/prisma#db:generate"],
|
|
"cache": false
|
|
},
|
|
"db:generate": {
|
|
"cache": false
|
|
},
|
|
"db:push": {
|
|
"cache": false
|
|
},
|
|
"db:cleanDatabase": {
|
|
"dependsOn": ["@typebot.io/prisma#db:generate"],
|
|
"cache": false
|
|
},
|
|
"checkAndReportChatsUsage": {
|
|
"env": ["STRIPE_*", "NEXTAUTH_URL", "SMTP_*"],
|
|
"dependsOn": ["@typebot.io/prisma#db:generate"],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|