-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
53 lines (53 loc) · 1.14 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": [
"NODE_ENV",
"SKIP_ENV_VALIDATION",
"CI",
"PORT",
"DATABASE_URL",
"REDIS_URL"
],
"pipeline": {
"db:generate": {
"inputs": ["prisma/schema.prisma"],
"cache": false
},
"db:push": {
"inputs": ["prisma/schema.prisma"],
"cache": false
},
"dev": {
"cache": false,
"persistent": true
},
"build": {
"dependsOn": ["^build", "^db:generate"],
"outputs": ["dist/**"]
},
"web#build": {
"dependsOn": ["^build", "^db:generate"],
"env": [
"GOOGLE_CLIENT_ID",
"GOOGLE_CLIENT_SECRET",
"NEXT_PUBLIC_WS_SERVER",
"NEXTAUTH_SECRET",
"NEXTAUTH_URL",
"VERCEL_URL",
"VERCEL"
],
"outputs": [".next/**"]
},
"start": {
"dependsOn": ["^build", "^db:generate"]
},
"db:migrate:deploy": {},
"db:seed": {},
"lint": {},
"test": {
"dependsOn": ["^build", "^db:generate"],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
}
}
}