-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
43 lines (43 loc) · 1 KB
/
Copy pathturbo.json
File metadata and controls
43 lines (43 loc) · 1 KB
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
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["db:generate", "^db:migrate", "^db:seed", "^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**", "generated/**"],
"inputs": [
"src/**/*",
"app/**/*",
"styles/**/*",
"static/**/*",
"public/**/*",
"*.config.js",
"*.config.mjs",
"*.config.ts",
"postcss.config.js",
"prisma/schema.prisma"
]
},
"lint": {
"dependsOn": ["build"]
},
"dev": {
"dependsOn": ["^db:migrate", "^db:seed", "^build"],
"cache": false
},
"watch": {
"dependsOn": ["^db:migrate", "^db:seed"],
"cache": false
},
"db:generate": {
"inputs": ["src/**/*.ts", "prisma/schema.prisma"]
},
"db:migrate": {
"dependsOn": ["db:generate"]
},
"db:seed": {
"dependsOn": ["db:migrate"],
"inputs": ["src/**/*.ts", "prisma/schema.prisma"]
},
"clean": {}
}
}