-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathturbo.json
More file actions
72 lines (72 loc) · 1.57 KB
/
turbo.json
File metadata and controls
72 lines (72 loc) · 1.57 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
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
{
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build", "//#codegen"],
"outputs": ["dist/**"],
"inputs": ["src/**", ".swcrc"]
},
"//#codegen": {
"outputs": [
"apps/frontend/src/gql/**",
"apps/frontend/src/gql-fragments.json",
"apps/backend/src/graphql/__generated__/**"
],
"inputs": ["apps/frontend/src/**", "apps/backend/src/**", "codegen.ts"]
},
"//#lint:root": {
"outputs": []
},
"//#knip": {
"dependsOn": ["//#codegen"],
"outputs": []
},
"setup": {
"dependsOn": ["build"],
"cache": false,
"env": ["NODE_ENV", "TZ", "BUILD_MODE"]
},
"check-types": {
"dependsOn": ["//#codegen", "^check-types"],
"outputs": []
},
"check-format": {
"dependsOn": [],
"outputs": []
},
"lint": {
"dependsOn": ["//#codegen", "^lint"],
"outputs": []
},
"static-checks": {
"dependsOn": [
"check-types",
"check-format",
"lint",
"//#lint:root",
"//#knip"
]
},
"watch-build": {
"dependsOn": ["build"],
"persistent": true,
"cache": false
},
"watch-server": {
"dependsOn": ["build"],
"persistent": true,
"cache": false,
"env": [
"DATABASE_URL",
"APP_DATABASE_URL",
"S3_PUBLIC_IMAGE_BASE_URL",
"AWS_SCREENSHOTS_BUCKET",
"SQIDS_ALPHABET"
]
},
"//#watch-codegen": {
"persistent": true,
"cache": false
}
}
}