-
Notifications
You must be signed in to change notification settings - Fork 1
/
turbo.json
82 lines (82 loc) · 1.45 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": [
// backend
"NODE_ENV",
"DISCORD_CHANNEL_ID",
"DISCORD_BOT_TOKEN",
"NEXT_PUBLIC_TWITCH_CLIENT_ID",
"TWITCH_CLIENT_SECRET",
"UI_URL",
"DATABASE_URL",
"TWITCH_DEV_USERNAME",
"TWITCH_DEV_ID",
// frontend
"VITE_DISCORD_CHANNEL_ID",
"VITE_DISCORD_BOT_TOKEN",
"VITE_TWITCH_CLIENT_ID",
"VITE_URL"
],
"pipeline": {
"local:generate": {
"cache": false
},
// prisma cant run in non-interactive mode (turbo)
// "local:create-migration": {
// "cache": false
// },
"local:push": {
"cache": false
},
"vercel-build": {
"dependsOn": [
"^build"
],
"cache": false,
"outputs": [
"dist/**",
"backend/.next/**",
"frontend/dist/**"
]
},
"build": {
"dependsOn": [
"^build"
],
"cache": false,
"outputs": [
"dist/**",
"backend/.next/**",
"frontend/dist/**"
]
},
"local:seed": {
"cache": false
},
"test:no-watch": {
"dependsOn": [
"^build"
],
"outputs": []
},
"lint": {
"outputs": []
},
"tsc": {
"outputs": [],
"cache": false
},
"dev": {
"dependsOn": [
"^local:generate"
],
"cache": false
},
"start": {
"cache": false
},
"clean": {
"cache": false
}
}
}