@turbo/types 2.5.1-canary.2 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/schemas/schema.json +26 -26
- package/schemas/schema.v1.json +19 -19
- package/schemas/schema.v2.json +26 -26
- package/src/types/config-v1.ts +17 -17
- package/src/types/config-v2.ts +24 -24
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ TypeScript types for `turbo.json`
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
For more information about Turborepo, visit [
|
|
7
|
+
For more information about Turborepo, visit [turborepo.com](https://turborepo.com) and follow us on X ([@turborepo](https://x.com/turborepo))!
|
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"properties": {
|
|
18
18
|
"$schema": {
|
|
19
19
|
"type": "string",
|
|
20
|
-
"default": "https://
|
|
20
|
+
"default": "https://turborepo.com/schema.v2.json"
|
|
21
21
|
},
|
|
22
22
|
"tasks": {
|
|
23
23
|
"type": "object",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"$ref": "#/definitions/Pipeline",
|
|
26
26
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
27
27
|
},
|
|
28
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
28
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
29
29
|
"default": {}
|
|
30
30
|
},
|
|
31
31
|
"globalDependencies": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"items": {
|
|
34
34
|
"type": "string"
|
|
35
35
|
},
|
|
36
|
-
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://
|
|
36
|
+
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globaldependencies",
|
|
37
37
|
"default": []
|
|
38
38
|
},
|
|
39
39
|
"globalEnv": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"items": {
|
|
42
42
|
"$ref": "#/definitions/EnvWildcard"
|
|
43
43
|
},
|
|
44
|
-
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://
|
|
44
|
+
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalenv",
|
|
45
45
|
"default": []
|
|
46
46
|
},
|
|
47
47
|
"globalPassThroughEnv": {
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
59
|
+
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv",
|
|
60
60
|
"default": null
|
|
61
61
|
},
|
|
62
62
|
"remoteCache": {
|
|
63
63
|
"$ref": "#/definitions/RemoteCache",
|
|
64
|
-
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://
|
|
64
|
+
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
65
65
|
"default": {}
|
|
66
66
|
},
|
|
67
67
|
"ui": {
|
|
68
68
|
"$ref": "#/definitions/UI",
|
|
69
|
-
"description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://
|
|
69
|
+
"description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#ui",
|
|
70
70
|
"default": "stream"
|
|
71
71
|
},
|
|
72
72
|
"dangerouslyDisablePackageManagerCheck": {
|
|
@@ -76,17 +76,17 @@
|
|
|
76
76
|
},
|
|
77
77
|
"cacheDir": {
|
|
78
78
|
"$ref": "#/definitions/RelativeUnixPath",
|
|
79
|
-
"description": "Specify the filesystem cache directory.\n\nDocumentation: https://
|
|
79
|
+
"description": "Specify the filesystem cache directory.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cachedir",
|
|
80
80
|
"default": ".turbo/cache"
|
|
81
81
|
},
|
|
82
82
|
"daemon": {
|
|
83
83
|
"type": "boolean",
|
|
84
|
-
"description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://
|
|
84
|
+
"description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#daemon",
|
|
85
85
|
"default": false
|
|
86
86
|
},
|
|
87
87
|
"envMode": {
|
|
88
88
|
"$ref": "#/definitions/EnvMode",
|
|
89
|
-
"description": "Turborepo's Environment Modes allow you to control which environment variables are available to a task at runtime:\n\n- `\"strict\"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.\n- `\"loose\"`: Allow all environment variables for the process to be available.\n\nDocumentation: https://
|
|
89
|
+
"description": "Turborepo's Environment Modes allow you to control which environment variables are available to a task at runtime:\n\n- `\"strict\"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.\n- `\"loose\"`: Allow all environment variables for the process to be available.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#envmode",
|
|
90
90
|
"default": "strict"
|
|
91
91
|
},
|
|
92
92
|
"boundaries": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"items": {
|
|
108
108
|
"type": "string"
|
|
109
109
|
},
|
|
110
|
-
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://
|
|
110
|
+
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://turborepo.com/docs/reference/configuration#dependson",
|
|
111
111
|
"default": []
|
|
112
112
|
},
|
|
113
113
|
"env": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"items": {
|
|
116
116
|
"$ref": "#/definitions/EnvWildcard"
|
|
117
117
|
},
|
|
118
|
-
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://
|
|
118
|
+
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#env",
|
|
119
119
|
"default": []
|
|
120
120
|
},
|
|
121
121
|
"passThroughEnv": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
],
|
|
133
|
-
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
133
|
+
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#passthroughenv",
|
|
134
134
|
"default": null
|
|
135
135
|
},
|
|
136
136
|
"outputs": {
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"items": {
|
|
139
139
|
"type": "string"
|
|
140
140
|
},
|
|
141
|
-
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://
|
|
141
|
+
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#outputs",
|
|
142
142
|
"default": []
|
|
143
143
|
},
|
|
144
144
|
"cache": {
|
|
145
145
|
"type": "boolean",
|
|
146
|
-
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://
|
|
146
|
+
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cache",
|
|
147
147
|
"default": true
|
|
148
148
|
},
|
|
149
149
|
"inputs": {
|
|
@@ -151,27 +151,27 @@
|
|
|
151
151
|
"items": {
|
|
152
152
|
"type": "string"
|
|
153
153
|
},
|
|
154
|
-
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://
|
|
154
|
+
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#inputs",
|
|
155
155
|
"default": []
|
|
156
156
|
},
|
|
157
157
|
"outputLogs": {
|
|
158
158
|
"$ref": "#/definitions/OutputLogs",
|
|
159
|
-
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://
|
|
159
|
+
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://turborepo.com/docs/reference/run#--output-logs-option",
|
|
160
160
|
"default": "full"
|
|
161
161
|
},
|
|
162
162
|
"persistent": {
|
|
163
163
|
"type": "boolean",
|
|
164
|
-
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://
|
|
164
|
+
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#persistent",
|
|
165
165
|
"default": false
|
|
166
166
|
},
|
|
167
167
|
"interactive": {
|
|
168
168
|
"type": "boolean",
|
|
169
|
-
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://
|
|
169
|
+
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#interactive",
|
|
170
170
|
"default": false
|
|
171
171
|
},
|
|
172
172
|
"interruptible": {
|
|
173
173
|
"type": "boolean",
|
|
174
|
-
"description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://
|
|
174
|
+
"description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#interruptible",
|
|
175
175
|
"default": false
|
|
176
176
|
},
|
|
177
177
|
"with": {
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"items": {
|
|
180
180
|
"type": "string"
|
|
181
181
|
},
|
|
182
|
-
"description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://
|
|
182
|
+
"description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#with",
|
|
183
183
|
"default": []
|
|
184
184
|
}
|
|
185
185
|
},
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
},
|
|
209
209
|
"enabled": {
|
|
210
210
|
"type": "boolean",
|
|
211
|
-
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://
|
|
211
|
+
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
212
212
|
"default": true
|
|
213
213
|
},
|
|
214
214
|
"preflight": {
|
|
@@ -218,12 +218,12 @@
|
|
|
218
218
|
},
|
|
219
219
|
"apiUrl": {
|
|
220
220
|
"type": "string",
|
|
221
|
-
"description": "Set endpoint for API calls to the remote cache. Documentation: https://
|
|
221
|
+
"description": "Set endpoint for API calls to the remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
|
|
222
222
|
"default": "https://vercel.com/api"
|
|
223
223
|
},
|
|
224
224
|
"loginUrl": {
|
|
225
225
|
"type": "string",
|
|
226
|
-
"description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://
|
|
226
|
+
"description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
|
|
227
227
|
"default": "https://vercel.com"
|
|
228
228
|
},
|
|
229
229
|
"timeout": {
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"properties": {
|
|
325
325
|
"$schema": {
|
|
326
326
|
"type": "string",
|
|
327
|
-
"default": "https://
|
|
327
|
+
"default": "https://turborepo.com/schema.v2.json"
|
|
328
328
|
},
|
|
329
329
|
"tasks": {
|
|
330
330
|
"type": "object",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"$ref": "#/definitions/Pipeline",
|
|
333
333
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
334
334
|
},
|
|
335
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
335
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
336
336
|
"default": {}
|
|
337
337
|
},
|
|
338
338
|
"extends": {
|
package/schemas/schema.v1.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"properties": {
|
|
18
18
|
"$schema": {
|
|
19
19
|
"type": "string",
|
|
20
|
-
"default": "https://
|
|
20
|
+
"default": "https://turborepo.com/schema.v1.json"
|
|
21
21
|
},
|
|
22
22
|
"pipeline": {
|
|
23
23
|
"type": "object",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"$ref": "#/definitions/PipelineV1",
|
|
26
26
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
27
27
|
},
|
|
28
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
28
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
29
29
|
"default": {}
|
|
30
30
|
},
|
|
31
31
|
"extends": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"items": {
|
|
54
54
|
"type": "string"
|
|
55
55
|
},
|
|
56
|
-
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://
|
|
56
|
+
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://turborepo.com/docs/reference/configuration#dependson",
|
|
57
57
|
"default": []
|
|
58
58
|
},
|
|
59
59
|
"env": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"items": {
|
|
62
62
|
"$ref": "#/definitions/EnvWildcardV1"
|
|
63
63
|
},
|
|
64
|
-
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://
|
|
64
|
+
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#env",
|
|
65
65
|
"default": []
|
|
66
66
|
},
|
|
67
67
|
"passThroughEnv": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
|
-
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
79
|
+
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#passthroughenv",
|
|
80
80
|
"default": null
|
|
81
81
|
},
|
|
82
82
|
"dotEnv": {
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"items": {
|
|
100
100
|
"type": "string"
|
|
101
101
|
},
|
|
102
|
-
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://
|
|
102
|
+
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#outputs",
|
|
103
103
|
"default": []
|
|
104
104
|
},
|
|
105
105
|
"cache": {
|
|
106
106
|
"type": "boolean",
|
|
107
|
-
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://
|
|
107
|
+
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cache",
|
|
108
108
|
"default": true
|
|
109
109
|
},
|
|
110
110
|
"inputs": {
|
|
@@ -112,22 +112,22 @@
|
|
|
112
112
|
"items": {
|
|
113
113
|
"type": "string"
|
|
114
114
|
},
|
|
115
|
-
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://
|
|
115
|
+
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#inputs",
|
|
116
116
|
"default": []
|
|
117
117
|
},
|
|
118
118
|
"outputMode": {
|
|
119
119
|
"$ref": "#/definitions/OutputModeV1",
|
|
120
|
-
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://
|
|
120
|
+
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://turborepo.com/docs/reference/run#--output-logs-option",
|
|
121
121
|
"default": "full"
|
|
122
122
|
},
|
|
123
123
|
"persistent": {
|
|
124
124
|
"type": "boolean",
|
|
125
|
-
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://
|
|
125
|
+
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#persistent",
|
|
126
126
|
"default": false
|
|
127
127
|
},
|
|
128
128
|
"interactive": {
|
|
129
129
|
"type": "boolean",
|
|
130
|
-
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://
|
|
130
|
+
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#interactive",
|
|
131
131
|
"default": false
|
|
132
132
|
}
|
|
133
133
|
},
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"properties": {
|
|
155
155
|
"$schema": {
|
|
156
156
|
"type": "string",
|
|
157
|
-
"default": "https://
|
|
157
|
+
"default": "https://turborepo.com/schema.v1.json"
|
|
158
158
|
},
|
|
159
159
|
"pipeline": {
|
|
160
160
|
"type": "object",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"$ref": "#/definitions/PipelineV1",
|
|
163
163
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
164
164
|
},
|
|
165
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
165
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
166
166
|
"default": {}
|
|
167
167
|
},
|
|
168
168
|
"globalDependencies": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"items": {
|
|
171
171
|
"type": "string"
|
|
172
172
|
},
|
|
173
|
-
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://
|
|
173
|
+
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globaldependencies",
|
|
174
174
|
"default": []
|
|
175
175
|
},
|
|
176
176
|
"globalEnv": {
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"items": {
|
|
179
179
|
"$ref": "#/definitions/EnvWildcardV1"
|
|
180
180
|
},
|
|
181
|
-
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://
|
|
181
|
+
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalenv",
|
|
182
182
|
"default": []
|
|
183
183
|
},
|
|
184
184
|
"globalPassThroughEnv": {
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
],
|
|
196
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
196
|
+
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv",
|
|
197
197
|
"default": null
|
|
198
198
|
},
|
|
199
199
|
"globalDotEnv": {
|
|
@@ -213,12 +213,12 @@
|
|
|
213
213
|
},
|
|
214
214
|
"remoteCache": {
|
|
215
215
|
"$ref": "#/definitions/RemoteCacheV1",
|
|
216
|
-
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://
|
|
216
|
+
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
217
217
|
"default": {}
|
|
218
218
|
},
|
|
219
219
|
"experimentalUI": {
|
|
220
220
|
"type": "boolean",
|
|
221
|
-
"description": "Enable use of the new UI for `turbo`\n\nDocumentation: https://
|
|
221
|
+
"description": "Enable use of the new UI for `turbo`\n\nDocumentation: https://turborepo.com/docs/reference/configuration#ui",
|
|
222
222
|
"default": false
|
|
223
223
|
}
|
|
224
224
|
},
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
},
|
|
238
238
|
"enabled": {
|
|
239
239
|
"type": "boolean",
|
|
240
|
-
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://
|
|
240
|
+
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
241
241
|
"default": true
|
|
242
242
|
}
|
|
243
243
|
},
|
package/schemas/schema.v2.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"properties": {
|
|
18
18
|
"$schema": {
|
|
19
19
|
"type": "string",
|
|
20
|
-
"default": "https://
|
|
20
|
+
"default": "https://turborepo.com/schema.v2.json"
|
|
21
21
|
},
|
|
22
22
|
"tasks": {
|
|
23
23
|
"type": "object",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"$ref": "#/definitions/Pipeline",
|
|
26
26
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
27
27
|
},
|
|
28
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
28
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
29
29
|
"default": {}
|
|
30
30
|
},
|
|
31
31
|
"globalDependencies": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"items": {
|
|
34
34
|
"type": "string"
|
|
35
35
|
},
|
|
36
|
-
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://
|
|
36
|
+
"description": "A list of globs to include in the set of implicit global hash dependencies.\n\nThe contents of these files will be included in the global hashing algorithm and affect the hashes of all tasks.\n\nThis is useful for busting the cache based on:\n\n- .env files (not in Git)\n\n- any root level file that impacts package tasks that are not represented in the traditional dependency graph (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globaldependencies",
|
|
37
37
|
"default": []
|
|
38
38
|
},
|
|
39
39
|
"globalEnv": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"items": {
|
|
42
42
|
"$ref": "#/definitions/EnvWildcard"
|
|
43
43
|
},
|
|
44
|
-
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://
|
|
44
|
+
"description": "A list of environment variables for implicit global hash dependencies.\n\nThe variables included in this list will affect all task hashes.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalenv",
|
|
45
45
|
"default": []
|
|
46
46
|
},
|
|
47
47
|
"globalPassThroughEnv": {
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
|
-
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
59
|
+
"description": "An allowlist of environment variables that should be made to all tasks, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv",
|
|
60
60
|
"default": null
|
|
61
61
|
},
|
|
62
62
|
"remoteCache": {
|
|
63
63
|
"$ref": "#/definitions/RemoteCache",
|
|
64
|
-
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://
|
|
64
|
+
"description": "Configuration options that control how turbo interfaces with the remote cache.\n\nDocumentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
65
65
|
"default": {}
|
|
66
66
|
},
|
|
67
67
|
"ui": {
|
|
68
68
|
"$ref": "#/definitions/UI",
|
|
69
|
-
"description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://
|
|
69
|
+
"description": "Enable use of the UI for `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#ui",
|
|
70
70
|
"default": "stream"
|
|
71
71
|
},
|
|
72
72
|
"dangerouslyDisablePackageManagerCheck": {
|
|
@@ -76,17 +76,17 @@
|
|
|
76
76
|
},
|
|
77
77
|
"cacheDir": {
|
|
78
78
|
"$ref": "#/definitions/RelativeUnixPath",
|
|
79
|
-
"description": "Specify the filesystem cache directory.\n\nDocumentation: https://
|
|
79
|
+
"description": "Specify the filesystem cache directory.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cachedir",
|
|
80
80
|
"default": ".turbo/cache"
|
|
81
81
|
},
|
|
82
82
|
"daemon": {
|
|
83
83
|
"type": "boolean",
|
|
84
|
-
"description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://
|
|
84
|
+
"description": "Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#daemon",
|
|
85
85
|
"default": false
|
|
86
86
|
},
|
|
87
87
|
"envMode": {
|
|
88
88
|
"$ref": "#/definitions/EnvMode",
|
|
89
|
-
"description": "Turborepo's Environment Modes allow you to control which environment variables are available to a task at runtime:\n\n- `\"strict\"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.\n- `\"loose\"`: Allow all environment variables for the process to be available.\n\nDocumentation: https://
|
|
89
|
+
"description": "Turborepo's Environment Modes allow you to control which environment variables are available to a task at runtime:\n\n- `\"strict\"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.\n- `\"loose\"`: Allow all environment variables for the process to be available.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#envmode",
|
|
90
90
|
"default": "strict"
|
|
91
91
|
},
|
|
92
92
|
"boundaries": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"items": {
|
|
108
108
|
"type": "string"
|
|
109
109
|
},
|
|
110
|
-
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://
|
|
110
|
+
"description": "The list of tasks that this task depends on.\n\nPrefixing an item in dependsOn with a ^ prefix tells turbo that this task depends on the package's topological dependencies completing the task first. (e.g. \"A package's build tasks should only run once all of its workspace dependencies have completed their own build commands.\")\n\nItems in dependsOn without a ^ prefix express the relationships between tasks within the same package (e.g. \"A package's test and lint commands depend on its own build being completed first.\")\n\nDocumentation: https://turborepo.com/docs/reference/configuration#dependson",
|
|
111
111
|
"default": []
|
|
112
112
|
},
|
|
113
113
|
"env": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"items": {
|
|
116
116
|
"$ref": "#/definitions/EnvWildcard"
|
|
117
117
|
},
|
|
118
|
-
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://
|
|
118
|
+
"description": "A list of environment variables that this task depends on.\n\nNote: If you are migrating from a turbo version 1.5 or below, you may be used to prefixing your variables with a $. You no longer need to use the $ prefix. (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)\n\nDocumentation: https://turborepo.com/docs/reference/configuration#env",
|
|
119
119
|
"default": []
|
|
120
120
|
},
|
|
121
121
|
"passThroughEnv": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
],
|
|
133
|
-
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://
|
|
133
|
+
"description": "An allowlist of environment variables that should be made available in this task's environment, but should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#passthroughenv",
|
|
134
134
|
"default": null
|
|
135
135
|
},
|
|
136
136
|
"outputs": {
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"items": {
|
|
139
139
|
"type": "string"
|
|
140
140
|
},
|
|
141
|
-
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://
|
|
141
|
+
"description": "The set of glob patterns indicating a task's cacheable filesystem outputs.\n\nTurborepo captures task logs for all tasks. This enables us to cache tasks whose runs produce no artifacts other than logs (such as linters). Logs are always treated as a cacheable artifact and never need to be specified.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#outputs",
|
|
142
142
|
"default": []
|
|
143
143
|
},
|
|
144
144
|
"cache": {
|
|
145
145
|
"type": "boolean",
|
|
146
|
-
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://
|
|
146
|
+
"description": "Whether or not to cache the outputs of the task.\n\nSetting cache to false is useful for long-running \"watch\" or development mode tasks.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#cache",
|
|
147
147
|
"default": true
|
|
148
148
|
},
|
|
149
149
|
"inputs": {
|
|
@@ -151,27 +151,27 @@
|
|
|
151
151
|
"items": {
|
|
152
152
|
"type": "string"
|
|
153
153
|
},
|
|
154
|
-
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://
|
|
154
|
+
"description": "The set of glob patterns to consider as inputs to this task.\n\nChanges to files covered by these globs will cause a cache miss and the task will be rerun.\n\nIf a file has been changed that is **not** included in the set of globs, it will not cause a cache miss.\n\nIf omitted or empty, all files in the package are considered as inputs.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#inputs",
|
|
155
155
|
"default": []
|
|
156
156
|
},
|
|
157
157
|
"outputLogs": {
|
|
158
158
|
"$ref": "#/definitions/OutputLogs",
|
|
159
|
-
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://
|
|
159
|
+
"description": "Output mode for the task.\n\n\"full\": Displays all output\n\n\"hash-only\": Show only the hashes of the tasks\n\n\"new-only\": Only show output from cache misses\n\n\"errors-only\": Only show output from task failures\n\n\"none\": Hides all task output\n\nDocumentation: https://turborepo.com/docs/reference/run#--output-logs-option",
|
|
160
160
|
"default": "full"
|
|
161
161
|
},
|
|
162
162
|
"persistent": {
|
|
163
163
|
"type": "boolean",
|
|
164
|
-
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://
|
|
164
|
+
"description": "Indicates whether the task exits or not. Setting `persistent` to `true` tells turbo that this is a long-running task and will ensure that other tasks cannot depend on it.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#persistent",
|
|
165
165
|
"default": false
|
|
166
166
|
},
|
|
167
167
|
"interactive": {
|
|
168
168
|
"type": "boolean",
|
|
169
|
-
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://
|
|
169
|
+
"description": "Mark a task as interactive allowing it to receive input from stdin. Interactive tasks must be marked with \"cache\": false as the input they receive from stdin can change the outcome of the task.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#interactive",
|
|
170
170
|
"default": false
|
|
171
171
|
},
|
|
172
172
|
"interruptible": {
|
|
173
173
|
"type": "boolean",
|
|
174
|
-
"description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://
|
|
174
|
+
"description": "Label a persistent task as interruptible to allow it to be restarted by `turbo watch`. `turbo watch` watches for changes to your packages and automatically restarts tasks that are affected. However, if a task is persistent, it will not be restarted by default. To enable restarting persistent tasks, set `interruptible` to true.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#interruptible",
|
|
175
175
|
"default": false
|
|
176
176
|
},
|
|
177
177
|
"with": {
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"items": {
|
|
180
180
|
"type": "string"
|
|
181
181
|
},
|
|
182
|
-
"description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://
|
|
182
|
+
"description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#with",
|
|
183
183
|
"default": []
|
|
184
184
|
}
|
|
185
185
|
},
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
},
|
|
209
209
|
"enabled": {
|
|
210
210
|
"type": "boolean",
|
|
211
|
-
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://
|
|
211
|
+
"description": "Indicates if the remote cache is enabled. When `false`, Turborepo will disable all remote cache operations, even if the repo has a valid token. If true, remote caching is enabled, but still requires the user to login and link their repo to a remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching",
|
|
212
212
|
"default": true
|
|
213
213
|
},
|
|
214
214
|
"preflight": {
|
|
@@ -218,12 +218,12 @@
|
|
|
218
218
|
},
|
|
219
219
|
"apiUrl": {
|
|
220
220
|
"type": "string",
|
|
221
|
-
"description": "Set endpoint for API calls to the remote cache. Documentation: https://
|
|
221
|
+
"description": "Set endpoint for API calls to the remote cache. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
|
|
222
222
|
"default": "https://vercel.com/api"
|
|
223
223
|
},
|
|
224
224
|
"loginUrl": {
|
|
225
225
|
"type": "string",
|
|
226
|
-
"description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://
|
|
226
|
+
"description": "Set endpoint for requesting tokens during `turbo login`. Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting",
|
|
227
227
|
"default": "https://vercel.com"
|
|
228
228
|
},
|
|
229
229
|
"timeout": {
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"properties": {
|
|
325
325
|
"$schema": {
|
|
326
326
|
"type": "string",
|
|
327
|
-
"default": "https://
|
|
327
|
+
"default": "https://turborepo.com/schema.v2.json"
|
|
328
328
|
},
|
|
329
329
|
"tasks": {
|
|
330
330
|
"type": "object",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"$ref": "#/definitions/Pipeline",
|
|
333
333
|
"description": "The name of a task that can be executed by turbo. If turbo finds a workspace package with a package.json scripts object with a matching key, it will apply the pipeline task configuration to that npm script during execution."
|
|
334
334
|
},
|
|
335
|
-
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://
|
|
335
|
+
"description": "An object representing the task dependency graph of your project. turbo interprets these conventions to schedule, execute, and cache the outputs of tasks in your project.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#tasks",
|
|
336
336
|
"default": {}
|
|
337
337
|
},
|
|
338
338
|
"extends": {
|
package/src/types/config-v1.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface PipelineV1 {
|
|
|
25
25
|
* same package (e.g. "A package's test and lint commands depend on its own build being
|
|
26
26
|
* completed first.")
|
|
27
27
|
*
|
|
28
|
-
* Documentation: https://
|
|
28
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#dependson
|
|
29
29
|
*
|
|
30
30
|
* @defaultValue `[]`
|
|
31
31
|
*/
|
|
@@ -39,7 +39,7 @@ export interface PipelineV1 {
|
|
|
39
39
|
* You no longer need to use the $ prefix.
|
|
40
40
|
* (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)
|
|
41
41
|
*
|
|
42
|
-
* Documentation: https://
|
|
42
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#env
|
|
43
43
|
*
|
|
44
44
|
* @defaultValue `[]`
|
|
45
45
|
*/
|
|
@@ -50,7 +50,7 @@ export interface PipelineV1 {
|
|
|
50
50
|
* task's environment, but should not contribute to the task's cache key,
|
|
51
51
|
* e.g. `AWS_SECRET_KEY`.
|
|
52
52
|
*
|
|
53
|
-
* Documentation: https://
|
|
53
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#passthroughenv
|
|
54
54
|
*
|
|
55
55
|
* @defaultValue `null`
|
|
56
56
|
*/
|
|
@@ -71,7 +71,7 @@ export interface PipelineV1 {
|
|
|
71
71
|
* produce no artifacts other than logs (such as linters). Logs are always treated as a
|
|
72
72
|
* cacheable artifact and never need to be specified.
|
|
73
73
|
*
|
|
74
|
-
* Documentation: https://
|
|
74
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#outputs
|
|
75
75
|
*
|
|
76
76
|
* @defaultValue `[]`
|
|
77
77
|
*/
|
|
@@ -82,7 +82,7 @@ export interface PipelineV1 {
|
|
|
82
82
|
*
|
|
83
83
|
* Setting cache to false is useful for long-running "watch" or development mode tasks.
|
|
84
84
|
*
|
|
85
|
-
* Documentation: https://
|
|
85
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#cache
|
|
86
86
|
*
|
|
87
87
|
* @defaultValue `true`
|
|
88
88
|
*/
|
|
@@ -99,7 +99,7 @@ export interface PipelineV1 {
|
|
|
99
99
|
*
|
|
100
100
|
* If omitted or empty, all files in the package are considered as inputs.
|
|
101
101
|
*
|
|
102
|
-
* Documentation: https://
|
|
102
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#inputs
|
|
103
103
|
*
|
|
104
104
|
* @defaultValue `[]`
|
|
105
105
|
*/
|
|
@@ -118,7 +118,7 @@ export interface PipelineV1 {
|
|
|
118
118
|
*
|
|
119
119
|
* "none": Hides all task output
|
|
120
120
|
*
|
|
121
|
-
* Documentation: https://
|
|
121
|
+
* Documentation: https://turborepo.com/docs/reference/run#--output-logs-option
|
|
122
122
|
*
|
|
123
123
|
* @defaultValue `"full"`
|
|
124
124
|
*/
|
|
@@ -129,7 +129,7 @@ export interface PipelineV1 {
|
|
|
129
129
|
* turbo that this is a long-running task and will ensure that other tasks
|
|
130
130
|
* cannot depend on it.
|
|
131
131
|
*
|
|
132
|
-
* Documentation: https://
|
|
132
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#persistent
|
|
133
133
|
*
|
|
134
134
|
* @defaultValue `false`
|
|
135
135
|
*/
|
|
@@ -140,7 +140,7 @@ export interface PipelineV1 {
|
|
|
140
140
|
* Interactive tasks must be marked with "cache": false as the input
|
|
141
141
|
* they receive from stdin can change the outcome of the task.
|
|
142
142
|
*
|
|
143
|
-
* Documentation: https://
|
|
143
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#interactive
|
|
144
144
|
*
|
|
145
145
|
* @defaultValue `false`
|
|
146
146
|
*/
|
|
@@ -148,14 +148,14 @@ export interface PipelineV1 {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
export interface BaseSchemaV1 {
|
|
151
|
-
/** @defaultValue `https://
|
|
151
|
+
/** @defaultValue `https://turborepo.com/schema.v1.json` */
|
|
152
152
|
$schema?: string;
|
|
153
153
|
/**
|
|
154
154
|
* An object representing the task dependency graph of your project. turbo interprets
|
|
155
155
|
* these conventions to schedule, execute, and cache the outputs of tasks in
|
|
156
156
|
* your project.
|
|
157
157
|
*
|
|
158
|
-
* Documentation: https://
|
|
158
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#tasks
|
|
159
159
|
*
|
|
160
160
|
* @defaultValue `{}`
|
|
161
161
|
*/
|
|
@@ -201,7 +201,7 @@ export interface RemoteCacheV1 {
|
|
|
201
201
|
* Indicates if the remote cache is enabled. When `false`, Turborepo will disable
|
|
202
202
|
* all remote cache operations, even if the repo has a valid token. If true, remote caching
|
|
203
203
|
* is enabled, but still requires the user to login and link their repo to a remote cache.
|
|
204
|
-
* Documentation: https://
|
|
204
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching
|
|
205
205
|
*
|
|
206
206
|
* @defaultValue `true`
|
|
207
207
|
*/
|
|
@@ -223,7 +223,7 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
223
223
|
* that are not represented in the traditional dependency graph
|
|
224
224
|
* (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)
|
|
225
225
|
*
|
|
226
|
-
* Documentation: https://
|
|
226
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globaldependencies
|
|
227
227
|
*
|
|
228
228
|
* @defaultValue `[]`
|
|
229
229
|
*/
|
|
@@ -234,7 +234,7 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
234
234
|
*
|
|
235
235
|
* The variables included in this list will affect all task hashes.
|
|
236
236
|
*
|
|
237
|
-
* Documentation: https://
|
|
237
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globalenv
|
|
238
238
|
*
|
|
239
239
|
* @defaultValue `[]`
|
|
240
240
|
*/
|
|
@@ -244,7 +244,7 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
244
244
|
* An allowlist of environment variables that should be made to all tasks, but
|
|
245
245
|
* should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
246
246
|
*
|
|
247
|
-
* Documentation: https://
|
|
247
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv
|
|
248
248
|
*
|
|
249
249
|
* @defaultValue `null`
|
|
250
250
|
*/
|
|
@@ -261,7 +261,7 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
261
261
|
/**
|
|
262
262
|
* Configuration options that control how turbo interfaces with the remote cache.
|
|
263
263
|
*
|
|
264
|
-
* Documentation: https://
|
|
264
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching
|
|
265
265
|
*
|
|
266
266
|
* @defaultValue `{}`
|
|
267
267
|
*/
|
|
@@ -270,7 +270,7 @@ export interface RootSchemaV1 extends BaseSchemaV1 {
|
|
|
270
270
|
/**
|
|
271
271
|
* Enable use of the new UI for `turbo`
|
|
272
272
|
*
|
|
273
|
-
* Documentation: https://
|
|
273
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#ui
|
|
274
274
|
*
|
|
275
275
|
* @defaultValue `false`
|
|
276
276
|
*/
|
package/src/types/config-v2.ts
CHANGED
|
@@ -14,14 +14,14 @@ export type RelativeUnixPath = string;
|
|
|
14
14
|
export type EnvWildcard = string;
|
|
15
15
|
|
|
16
16
|
export interface BaseSchema {
|
|
17
|
-
/** @defaultValue `https://
|
|
17
|
+
/** @defaultValue `https://turborepo.com/schema.v2.json` */
|
|
18
18
|
$schema?: string;
|
|
19
19
|
/**
|
|
20
20
|
* An object representing the task dependency graph of your project. turbo interprets
|
|
21
21
|
* these conventions to schedule, execute, and cache the outputs of tasks in
|
|
22
22
|
* your project.
|
|
23
23
|
*
|
|
24
|
-
* Documentation: https://
|
|
24
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#tasks
|
|
25
25
|
*
|
|
26
26
|
* @defaultValue `{}`
|
|
27
27
|
*/
|
|
@@ -78,7 +78,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
78
78
|
* that are not represented in the traditional dependency graph
|
|
79
79
|
* (e.g. a root tsconfig.json, jest.config.ts, .eslintrc, etc.)
|
|
80
80
|
*
|
|
81
|
-
* Documentation: https://
|
|
81
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globaldependencies
|
|
82
82
|
*
|
|
83
83
|
* @defaultValue `[]`
|
|
84
84
|
*/
|
|
@@ -89,7 +89,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
89
89
|
*
|
|
90
90
|
* The variables included in this list will affect all task hashes.
|
|
91
91
|
*
|
|
92
|
-
* Documentation: https://
|
|
92
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globalenv
|
|
93
93
|
*
|
|
94
94
|
* @defaultValue `[]`
|
|
95
95
|
*/
|
|
@@ -99,7 +99,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
99
99
|
* An allowlist of environment variables that should be made to all tasks, but
|
|
100
100
|
* should not contribute to the task's cache key, e.g. `AWS_SECRET_KEY`.
|
|
101
101
|
*
|
|
102
|
-
* Documentation: https://
|
|
102
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#globalpassthroughenv
|
|
103
103
|
*
|
|
104
104
|
* @defaultValue `null`
|
|
105
105
|
*/
|
|
@@ -108,7 +108,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
108
108
|
/**
|
|
109
109
|
* Configuration options that control how turbo interfaces with the remote cache.
|
|
110
110
|
*
|
|
111
|
-
* Documentation: https://
|
|
111
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching
|
|
112
112
|
*
|
|
113
113
|
* @defaultValue `{}`
|
|
114
114
|
*/
|
|
@@ -117,7 +117,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
117
117
|
/**
|
|
118
118
|
* Enable use of the UI for `turbo`.
|
|
119
119
|
*
|
|
120
|
-
* Documentation: https://
|
|
120
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#ui
|
|
121
121
|
*
|
|
122
122
|
* @defaultValue `"stream"`
|
|
123
123
|
*/
|
|
@@ -138,7 +138,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
138
138
|
/**
|
|
139
139
|
* Specify the filesystem cache directory.
|
|
140
140
|
*
|
|
141
|
-
* Documentation: https://
|
|
141
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#cachedir
|
|
142
142
|
*
|
|
143
143
|
* @defaultValue `".turbo/cache"`
|
|
144
144
|
*/
|
|
@@ -147,7 +147,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
147
147
|
/**
|
|
148
148
|
* Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.
|
|
149
149
|
*
|
|
150
|
-
* Documentation: https://
|
|
150
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#daemon
|
|
151
151
|
*
|
|
152
152
|
* @defaultValue `false`
|
|
153
153
|
*/
|
|
@@ -159,7 +159,7 @@ export interface RootSchema extends BaseSchema {
|
|
|
159
159
|
* - `"strict"`: Filter environment variables to only those that are specified in the `env` and `globalEnv` keys in `turbo.json`.
|
|
160
160
|
* - `"loose"`: Allow all environment variables for the process to be available.
|
|
161
161
|
*
|
|
162
|
-
* Documentation: https://
|
|
162
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#envmode
|
|
163
163
|
*
|
|
164
164
|
* @defaultValue `"strict"`
|
|
165
165
|
*/
|
|
@@ -184,7 +184,7 @@ export interface Pipeline {
|
|
|
184
184
|
* same package (e.g. "A package's test and lint commands depend on its own build being
|
|
185
185
|
* completed first.")
|
|
186
186
|
*
|
|
187
|
-
* Documentation: https://
|
|
187
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#dependson
|
|
188
188
|
*
|
|
189
189
|
* @defaultValue `[]`
|
|
190
190
|
*/
|
|
@@ -198,7 +198,7 @@ export interface Pipeline {
|
|
|
198
198
|
* You no longer need to use the $ prefix.
|
|
199
199
|
* (e.g. $GITHUB_TOKEN → GITHUB_TOKEN)
|
|
200
200
|
*
|
|
201
|
-
* Documentation: https://
|
|
201
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#env
|
|
202
202
|
*
|
|
203
203
|
* @defaultValue `[]`
|
|
204
204
|
*/
|
|
@@ -209,7 +209,7 @@ export interface Pipeline {
|
|
|
209
209
|
* task's environment, but should not contribute to the task's cache key,
|
|
210
210
|
* e.g. `AWS_SECRET_KEY`.
|
|
211
211
|
*
|
|
212
|
-
* Documentation: https://
|
|
212
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#passthroughenv
|
|
213
213
|
*
|
|
214
214
|
* @defaultValue `null`
|
|
215
215
|
*/
|
|
@@ -222,7 +222,7 @@ export interface Pipeline {
|
|
|
222
222
|
* produce no artifacts other than logs (such as linters). Logs are always treated as a
|
|
223
223
|
* cacheable artifact and never need to be specified.
|
|
224
224
|
*
|
|
225
|
-
* Documentation: https://
|
|
225
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#outputs
|
|
226
226
|
*
|
|
227
227
|
* @defaultValue `[]`
|
|
228
228
|
*/
|
|
@@ -233,7 +233,7 @@ export interface Pipeline {
|
|
|
233
233
|
*
|
|
234
234
|
* Setting cache to false is useful for long-running "watch" or development mode tasks.
|
|
235
235
|
*
|
|
236
|
-
* Documentation: https://
|
|
236
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#cache
|
|
237
237
|
*
|
|
238
238
|
* @defaultValue `true`
|
|
239
239
|
*/
|
|
@@ -250,7 +250,7 @@ export interface Pipeline {
|
|
|
250
250
|
*
|
|
251
251
|
* If omitted or empty, all files in the package are considered as inputs.
|
|
252
252
|
*
|
|
253
|
-
* Documentation: https://
|
|
253
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#inputs
|
|
254
254
|
*
|
|
255
255
|
* @defaultValue `[]`
|
|
256
256
|
*/
|
|
@@ -269,7 +269,7 @@ export interface Pipeline {
|
|
|
269
269
|
*
|
|
270
270
|
* "none": Hides all task output
|
|
271
271
|
*
|
|
272
|
-
* Documentation: https://
|
|
272
|
+
* Documentation: https://turborepo.com/docs/reference/run#--output-logs-option
|
|
273
273
|
*
|
|
274
274
|
* @defaultValue `"full"`
|
|
275
275
|
*/
|
|
@@ -280,7 +280,7 @@ export interface Pipeline {
|
|
|
280
280
|
* turbo that this is a long-running task and will ensure that other tasks
|
|
281
281
|
* cannot depend on it.
|
|
282
282
|
*
|
|
283
|
-
* Documentation: https://
|
|
283
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#persistent
|
|
284
284
|
*
|
|
285
285
|
* @defaultValue `false`
|
|
286
286
|
*/
|
|
@@ -291,7 +291,7 @@ export interface Pipeline {
|
|
|
291
291
|
* Interactive tasks must be marked with "cache": false as the input
|
|
292
292
|
* they receive from stdin can change the outcome of the task.
|
|
293
293
|
*
|
|
294
|
-
* Documentation: https://
|
|
294
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#interactive
|
|
295
295
|
*
|
|
296
296
|
* @defaultValue `false`
|
|
297
297
|
*/
|
|
@@ -304,7 +304,7 @@ export interface Pipeline {
|
|
|
304
304
|
* not be restarted by default. To enable restarting persistent tasks, set
|
|
305
305
|
* `interruptible` to true.
|
|
306
306
|
*
|
|
307
|
-
* Documentation: https://
|
|
307
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#interruptible
|
|
308
308
|
*
|
|
309
309
|
* @defaultValue `false`
|
|
310
310
|
*/
|
|
@@ -315,7 +315,7 @@ export interface Pipeline {
|
|
|
315
315
|
*
|
|
316
316
|
* Tasks in this list will not be run until completion before this task starts execution.
|
|
317
317
|
*
|
|
318
|
-
* Documentation: https://
|
|
318
|
+
* Documentation: https://turborepo.com/docs/reference/configuration#with
|
|
319
319
|
*
|
|
320
320
|
* @defaultValue `[]`
|
|
321
321
|
*/
|
|
@@ -337,7 +337,7 @@ export interface RemoteCache {
|
|
|
337
337
|
* Indicates if the remote cache is enabled. When `false`, Turborepo will disable
|
|
338
338
|
* all remote cache operations, even if the repo has a valid token. If true, remote caching
|
|
339
339
|
* is enabled, but still requires the user to login and link their repo to a remote cache.
|
|
340
|
-
* Documentation: https://
|
|
340
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching
|
|
341
341
|
*
|
|
342
342
|
* @defaultValue `true`
|
|
343
343
|
*/
|
|
@@ -354,14 +354,14 @@ export interface RemoteCache {
|
|
|
354
354
|
preflight?: boolean;
|
|
355
355
|
/**
|
|
356
356
|
* Set endpoint for API calls to the remote cache.
|
|
357
|
-
* Documentation: https://
|
|
357
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting
|
|
358
358
|
*
|
|
359
359
|
* @defaultValue `"https://vercel.com/api"`
|
|
360
360
|
*/
|
|
361
361
|
apiUrl?: string;
|
|
362
362
|
/**
|
|
363
363
|
* Set endpoint for requesting tokens during `turbo login`.
|
|
364
|
-
* Documentation: https://
|
|
364
|
+
* Documentation: https://turborepo.com/docs/core-concepts/remote-caching#self-hosting
|
|
365
365
|
*
|
|
366
366
|
* @defaultValue `"https://vercel.com"`
|
|
367
367
|
*/
|