-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
86 lines (86 loc) · 2.23 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": [
"NODE_ENV",
"DOMAIN",
"ANALYZE_BUNDLE",
"CONTENTFUL_DELIVERY_TOKEN",
"CONTENTFUL_ENV",
"CONTENTFUL_PREVIEW_TOKEN",
"CONTENTFUL_SPACE_ID",
"CONTENTFUL_USE_PREVIEW",
"DEFAULT_SITE_ID",
"DEPLOY_URL",
"GRAPHQL_SERVER_URL",
"PREVIEW_TOKEN",
"PAGES_REVALIDATE",
"PORT",
"SITE_SETTINGS",
"SITE",
"CONTENTFUL_SETTINGS_ID",
"NEXT_PUBLIC_SENTRY_DSN",
"ALGOLIA_MAX_RECORDS",
"VERCEL_URL"
],
"pipeline": {
"start": {
"cache": false,
"persistent": true,
"dependsOn": ["build"]
},
"build": {
"outputMode": "new-only",
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"test": { "outputMode": "new-only", "outputs": ["coverage/**"], "dependsOn": [] },
"lint": {
"dependsOn": ["^build"]
},
"dev": {
"outputMode": "new-only",
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"gql:dev": {
"outputMode": "new-only",
"dependsOn": ["^build", "graphql-sdk#sync:cms"],
"cache": false,
"persistent": true
},
"gql:logs": {
"outputMode": "new-only",
"cache": false,
"persistent": true
},
"clean": {
"outputMode": "new-only",
"cache": false
},
"graphql-sdk#build": {
"outputMode": "new-only",
"cache": false,
"dependsOn": ["graphql-sdk#sync:cms", "^build"],
"inputs": ["./packages/graphql-sdk/.cms-sync", "./packages/**/src/**/*.graphql", "./apps/**/src/**/*.graphql"],
"outputs": ["dist/**", "schema.graphql", "src/generated/**"]
},
"graphql-sdk#gql:start": {
"outputMode": "new-only",
"cache": false,
"dependsOn": ["graphql-extensions#build", "graphql-sdk#sync:cms", "^build"]
},
"graphql-sdk#sync:cms": {
"outputMode": "new-only",
"cache": false,
"dependsOn": ["^build", "graphql-extensions#build"],
"outputs": [".cms-sync"]
},
"web#build": {
"outputMode": "new-only",
"dependsOn": ["graphql-sdk#sync:cms", "graphql-sdk#gql:start", "^build"],
"outputs": ["out/**", ".next/**"]
}
}
}