@turbo/types 2.8.18-canary.9 → 2.8.18
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/package.json +1 -1
- package/schemas/schema.json +11 -1
- package/schemas/schema.v2.json +5 -0
- package/src/types/config-v2.ts +26 -0
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
]
|
|
255
255
|
},
|
|
256
256
|
"FutureFlags": {
|
|
257
|
-
"description": "Opt into breaking changes prior to major releases, experimental features, and beta features
|
|
257
|
+
"description": "Opt into breaking changes prior to major releases, experimental features, and beta features.",
|
|
258
258
|
"type": "object",
|
|
259
259
|
"properties": {
|
|
260
260
|
"affectedUsingTaskInputs": {
|
|
@@ -272,11 +272,21 @@
|
|
|
272
272
|
"default": false,
|
|
273
273
|
"type": "boolean"
|
|
274
274
|
},
|
|
275
|
+
"filterUsingTasks": {
|
|
276
|
+
"description": "Resolve `--filter` at the task level instead of the package level. Git-range filters (e.g. `--filter=[main]`) will match against task `inputs` globs, and the `...` dependency/dependent syntax will traverse the task graph in addition to the package graph.",
|
|
277
|
+
"default": false,
|
|
278
|
+
"type": "boolean"
|
|
279
|
+
},
|
|
275
280
|
"longerSignatureKey": {
|
|
276
281
|
"description": "Enforce a minimum length of 32 bytes for `TURBO_REMOTE_CACHE_SIGNATURE_KEY` when `remoteCache.signature` is enabled. Short keys weaken the HMAC-SHA256 signature, making brute-force tag collision feasible.",
|
|
277
282
|
"default": false,
|
|
278
283
|
"type": "boolean"
|
|
279
284
|
},
|
|
285
|
+
"pruneIncludesGlobalFiles": {
|
|
286
|
+
"description": "Include files matching `globalDependencies` globs in the `turbo prune` output. Without this flag, `globalDependencies` entries are preserved in the pruned `turbo.json` but the actual files are not copied.",
|
|
287
|
+
"default": false,
|
|
288
|
+
"type": "boolean"
|
|
289
|
+
},
|
|
280
290
|
"watchUsingTaskInputs": {
|
|
281
291
|
"description": "Use task-level `inputs` globs to determine which tasks to re-run when files change in `turbo watch`. When enabled, only tasks whose declared inputs match the changed files are re-executed, rather than re-running all tasks in changed packages.",
|
|
282
292
|
"default": false,
|
package/schemas/schema.v2.json
CHANGED
|
@@ -281,6 +281,11 @@
|
|
|
281
281
|
"description": "Use task-level `inputs` globs to determine which tasks to re-run when files change in `turbo watch`. When enabled, only tasks whose declared inputs match the changed files are re-executed, rather than re-running all tasks in changed packages.",
|
|
282
282
|
"default": false,
|
|
283
283
|
"type": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"filterUsingTasks": {
|
|
286
|
+
"description": "Resolve `--filter` at the task level instead of the package level. Git-range filters (e.g. `--filter=[main]`) will match against task `inputs` globs, and the `...` dependency/dependent syntax will traverse the task graph in addition to the package graph.",
|
|
287
|
+
"default": false,
|
|
288
|
+
"type": "boolean"
|
|
284
289
|
}
|
|
285
290
|
}
|
|
286
291
|
},
|
package/src/types/config-v2.ts
CHANGED
|
@@ -235,6 +235,32 @@ export interface FutureFlags {
|
|
|
235
235
|
* @defaultValue `false`
|
|
236
236
|
*/
|
|
237
237
|
affectedUsingTaskInputs?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Use task-level `inputs` globs to determine which tasks to re-run when
|
|
240
|
+
* files change in `turbo watch`. When enabled, only tasks whose declared
|
|
241
|
+
* inputs match the changed files are re-executed, rather than re-running
|
|
242
|
+
* all tasks in changed packages.
|
|
243
|
+
*
|
|
244
|
+
* @defaultValue `false`
|
|
245
|
+
*/
|
|
246
|
+
watchUsingTaskInputs?: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* Include files matching `globalDependencies` globs in the `turbo prune`
|
|
249
|
+
* output. Without this flag, `globalDependencies` entries are preserved in
|
|
250
|
+
* the pruned `turbo.json` but the actual files are not copied.
|
|
251
|
+
*
|
|
252
|
+
* @defaultValue `false`
|
|
253
|
+
*/
|
|
254
|
+
pruneIncludesGlobalFiles?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Resolve `--filter` at the task level instead of the package level.
|
|
257
|
+
* Git-range filters (e.g. `--filter=[main]`) will match against task
|
|
258
|
+
* `inputs` globs, and the `...` dependency/dependent syntax will
|
|
259
|
+
* traverse the task graph in addition to the package graph.
|
|
260
|
+
*
|
|
261
|
+
* @defaultValue `false`
|
|
262
|
+
*/
|
|
263
|
+
filterUsingTasks?: boolean;
|
|
238
264
|
}
|
|
239
265
|
|
|
240
266
|
export interface Pipeline {
|