forked from sanity-io/sanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
32 lines (32 loc) · 961 Bytes
/
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
{
"$schema": "https://turbo.build/schema.json",
// All environment variables that should invalidate a cached build needs to be declared here
"globalEnv": ["OS", "RUNNER_OS", "PKG_FILE_PATH", "PKG_FORMAT", "PKG_RUNTIME", "PKG_VERSION", "DEBUG"],
// These root workspace files are reused in workspaces and may affect their build output
"globalDependencies": [
".eslintrc.cjs",
".prettierrc",
"lerna.json" // some tools, like babel, reads from this file to identify other roots
],
"pipeline": {
"build": {
"outputs": ["lib/**", "*.js"],
"dependsOn": ["^build"],
"outputMode": "new-only"
},
"build:bundle": {
"outputs": ["dist/**"],
"dependsOn": ["build"],
"outputMode": "new-only"
},
"check:types": {
"outputs": [],
"dependsOn": ["^build"],
"outputMode": "errors-only"
},
"lint": {
"outputMode": "errors-only"
},
"//#check:format": {}
}
}