-
Notifications
You must be signed in to change notification settings - Fork 426
/
turbo.json
68 lines (68 loc) · 1.43 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
{
"$schema": "https://turbo.build/schema.json",
// All environment variables that should invalidate a cached build needs to be declared here
"globalEnv": [
"CI",
"DEBUG",
"NODE_ENV",
"PKG_FORMAT",
"PKG_RUNTIME",
"PKG_VERSION",
"SANITY_STUDIO_DATASET",
"SANITY_STUDIO_DEBUG_I18N",
"SANITY_STUDIO_MODE",
"SANITY_STUDIO_PROJECT_ID",
"EXTRACT_SANITY_PROJECT_ID",
"EXTRACT_SANITY_DATASET",
"EXTRACT_SANITY_API_TOKEN"
],
// Variables that should be passed through but not invalidate the cache
"globalPassThroughEnv": [
"PKG_FILE_PATH",
"RUNNER_OS",
"SANITY_BASE_PATH",
"TZ",
// these is for the perf/efps perf suite and should not be cached
"VITE_PERF_EFPS_PROJECT_ID",
"VITE_PERF_EFPS_DATASET",
"PERF_EFPS_SANITY_TOKEN"
],
"globalDependencies": [
".npmrc",
".eslintrc.cjs",
".prettierrc",
"lerna.json"
],
"tasks": {
"build": {
"outputs": [
"lib/**",
"*.js"
],
"dependsOn": [
"^build"
],
"outputLogs": "new-only"
},
"build:bundle": {
"outputs": [
"dist/**"
],
"dependsOn": [
"build"
],
"outputLogs": "new-only"
},
"check:types": {
"outputs": [],
"dependsOn": [
"^build"
],
"outputLogs": "errors-only"
},
"lint": {
"outputLogs": "errors-only"
},
"//#check:format": {}
}
}