-
Notifications
You must be signed in to change notification settings - Fork 5
/
turbo.json
54 lines (54 loc) · 1.1 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
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NEXT_PUBLIC_SALEOR_API_URL"],
"globalPassThroughEnv": [
"AUTH_SECRET",
"BASE_URL",
"SALEOR_APP_TOKEN",
"SENTRY_AUTH_TOKEN",
"SENTRY_ORG",
"SENTRY_PROJECT",
"STRIPE_SECRET_KEY",
"USER_EMAIL",
"USER_PASSWORD"
],
"ui": "stream",
"tasks": {
"build": {
"dependsOn": ["^codegen", "^build"],
"outputs": [".next/**", "!.next/cache/**"]
},
"codegen": {
"dependsOn": ["^codegen"],
"outputs": ["./schema.ts", "./graphql/**"],
"inputs": ["../../**/*.graphql"]
},
"lint": {
"dependsOn": ["^lint"]
},
"lint:staged": {
"dependsOn": ["^lint:staged"]
},
"start": {
"dependsOn": ["^codegen", "^start"]
},
"test": {},
"test:watch": {
"cache": false,
"persistent": true
},
"test:e2e": {
"dependsOn": ["^test:e2e"]
},
"test:all": {
"dependsOn": ["^test:e2e", "^test"]
},
"install": {
"dependsOn": ["^install"]
},
"dev": {
"cache": false,
"persistent": true
}
}
}