-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
turbo.json
57 lines (57 loc) · 1.44 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [".env"],
"globalEnv": ["DATABASE_URL", "SKIP_ENV_CHECK"],
"globalPassThroughEnv": ["ENCRYPTION_SECRET"],
"tasks": {
"dev": {
"dependsOn": ["^db:generate", "^db:push", "@typebot.io/react#build"],
"persistent": true
},
"build": {
"env": ["VERCEL_*", "NEXTAUTH_URL", "SENTRY_*", "LANDING_PAGE_URL"],
"dependsOn": ["^build", "^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:migrate": {
"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
},
"//#format-and-lint": {},
"//#format-and-lint:fix": {
"cache": false
}
}
}