-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
62 lines (62 loc) · 1.5 KB
/
turbo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"$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": {
"env": ["NEXTAUTH_URL"],
"dependsOn": ["@typebot.io/prisma#db:generate"],
"cache": false
},
"checkAndReportChatsUsage": {
"env": ["STRIPE_*", "NEXTAUTH_URL", "SMTP_*"],
"dependsOn": ["@typebot.io/prisma#db:generate"],
"cache": false
}
}
}