-
Notifications
You must be signed in to change notification settings - Fork 137
/
turbo.json
93 lines (93 loc) · 2.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
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
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["TEST_REAL_DB"],
"tasks": {
"dev": {
"dependsOn": ["db:build", "db:push", "^build:tsc"],
"cache": false,
"persistent": true
},
"db:push": {
"inputs": ["prisma/schema.prisma"],
"cache": false,
"outputLogs": "new-only"
},
"db:build": {
"inputs": ["prisma/schema.prisma"],
"outputs": ["lib/generated/**/*.ts"],
"cache": false,
"outputLogs": "new-only"
},
"build:next": {
"dependsOn": ["db:build", "build:tsc"],
"inputs": [
"package.json",
"tsconfig.json",
"next.config.js",
"tailwind.config.ts",
"!.next/**",
"**/*.ts",
"**/*.tsx",
"**/*.md"
],
"outputs": [".next/**", "out/**"],
"outputLogs": "new-only"
},
"build:tsc": {
"dependsOn": ["db:build", "^build:tsc"],
"inputs": [
"**/*.ts",
"**/*.tsx",
"tsconfig.json",
"!.next/**",
"!*/**/*.test.ts",
"!*/**/*.test.tsx",
"!*/**/*.e2e.ts",
"!*/**/*.e2e.tsx",
"!*/**/*.cy.ts"
],
"outputLogs": "new-only",
"cache": false
},
"build": {
"dependsOn": ["db:build", "build:tsc", "build:next"]
},
"test:install": {
"outputLogs": "new-only",
"cache": false
},
"test:unit": {
"dependsOn": ["build:tsc", "db:build"],
"inputs": ["**/*.test.ts", "**/*.test.tsx"],
"outputLogs": "new-only"
},
"test:db:push": {
"inputs": ["prisma/schema.prisma"],
"cache": false,
"outputLogs": "new-only"
},
"test:e2e": {
"dependsOn": ["build", "test:db:push", "test:install"],
"inputs": [
"**/*.e2e.ts",
"**/*.e2e.tsx",
"**/*.cy.ts",
"cypress.config.js"
],
"outputLogs": "new-only"
},
"test": {
"dependsOn": ["test:unit", "test:e2e", "test:e2e"],
"outputLogs": "new-only"
},
"test:watch": {
"cache": false,
"persistent": true
},
"start": {
"dependsOn": ["build"],
"cache": false
},
"lint": {}
}
}