-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
turbo.json
106 lines (106 loc) · 2.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": [
"VERCEL_URL",
"NODE_ENV",
"CI",
"SKIP_ENV_VALIDATION",
"PORT"
],
"ui": "tui",
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"$TURBO_DEFAULT$",
"!CHANGELOG.md",
"!eslint.config.js",
"!playwright.config.ts",
"!e2e/**",
"!.env.example",
".env.production.local",
".env.local",
".env.production",
".env"
],
"outputs": ["dist/**"]
},
"test:e2e": {
"dependsOn": ["^build", "build"],
"outputs": ["playwright-report/**", "test-results/**"],
"inputs": [
"$TURBO_DEFAULT$",
"!CHANGELOG.md",
"!eslint.config.js",
"!.env.example",
".env.test.local",
".env.local",
".env.test",
".env"
]
},
"lint": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", "!CHANGELOG.md"]
},
"//#lint": {
"inputs": [".commitlintrc.ts", "*.ts", "*.js", "tsconfig.json"]
},
"typecheck": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", "!CHANGELOG.md"],
"outputs": ["*.tsbuildinfo"]
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true,
"inputs": [
"$TURBO_DEFAULT$",
".env.development.local",
".env.local",
".env.development",
".env"
]
},
"start": {
"dependsOn": ["^build", "build"],
"cache": false,
"persistent": true,
"inputs": [
"$TURBO_DEFAULT$",
".env.production.local",
".env.local",
".env.production",
".env"
]
},
"db:migrate": {
"dependsOn": ["db:generate"],
"passThroughEnv": ["DATABASE_URL"],
"inputs": ["drizzle/**"]
},
"db:generate": {
"passThroughEnv": ["DATABASE_URL"],
"inputs": ["src/schema/**", "drizzle.config.ts"],
"outputs": ["drizzle/**"]
},
"db:studio": {
"cache": false,
"persistent": true
},
"db:check": { "cache": false },
"db:migrate:drop": { "cache": false },
"db:pull": { "cache": false },
"db:push": { "cache": false },
"db:up": { "cache": false },
"clean": { "cache": false },
"//#lint:spell": {
"outputs": [".cspellcache"]
},
"//#lint:md": {
"inputs": ["**/*.md"]
},
"sync": { "cache": false }
}
}