turbo 2.11.7 → 2.11.8-canary.2
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/docs/reference/configuration.mdx +4 -5
- package/package.json +7 -7
- package/schema.json +5 -0
|
@@ -304,9 +304,8 @@ Enable experimental features that will become the default behavior in future ver
|
|
|
304
304
|
</Callout>
|
|
305
305
|
|
|
306
306
|
<Callout type="warn">
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
tasks to miss cache on the next run.
|
|
307
|
+
Future flags that change behavior can invalidate the [task
|
|
308
|
+
cache](/docs/crafting-your-repository/caching).
|
|
310
309
|
</Callout>
|
|
311
310
|
|
|
312
311
|
#### `errorsOnlyShowHash`
|
|
@@ -458,9 +457,9 @@ With this configuration, running `turbo prune frontend` will include `tsconfig.j
|
|
|
458
457
|
|
|
459
458
|
Default: `false`
|
|
460
459
|
|
|
461
|
-
Resolve [`--filter`](/docs/reference/run#--filter-string) at the **task level** instead of the **package level**. Git-range filters (e.g. `--filter=[main]`) match changed files against each task's [`inputs`](#inputs) globs, and the `...` dependency/dependent syntax traverses the Task Graph
|
|
460
|
+
Resolve [`--filter`](/docs/reference/run#--filter-string) at the **task level** instead of the **package level**. Git-range filters (e.g. `--filter=[main]`) match changed files against each task's [`inputs`](#inputs) globs, and the `...` dependency/dependent syntax traverses the Task Graph instead of the Package Graph.
|
|
462
461
|
|
|
463
|
-
Without this flag, `--filter` operates on the Package Graph: a git-range selector marks entire packages as matched if any file in the package changed, and `...` follows package-level dependencies. With this flag, resolution moves to the Task Graph: only tasks whose `inputs` actually match the changed files are selected, and `...` follows task-level dependencies (e.g. `web#build -> schema#gen` is traversed even if `web` has no package-level dependency on `schema`).
|
|
462
|
+
Without this flag, `--filter` operates on the Package Graph: a git-range selector marks entire packages as matched if any file in the package changed, and `...` follows package-level dependencies. With this flag, resolution moves to the Task Graph: only tasks whose `inputs` actually match the changed files are selected, and `...` follows task-level dependencies (e.g. `web#build -> schema#gen` is traversed even if `web` has no package-level dependency on `schema`). Package dependencies alone do not cause tasks in dependency packages to be selected.
|
|
464
463
|
|
|
465
464
|
```jsonc title="./turbo.json"
|
|
466
465
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turbo",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.8-canary.2",
|
|
4
4
|
"description": "Turborepo is the build system for coding agents.",
|
|
5
5
|
"homepage": "https://turborepo.dev",
|
|
6
6
|
"bugs": "https://github.com/vercel/turborepo/issues",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
],
|
|
20
20
|
"main": "./bin/turbo",
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@turbo/darwin-64": "2.11.
|
|
23
|
-
"@turbo/darwin-arm64": "2.11.
|
|
24
|
-
"@turbo/linux-64": "2.11.
|
|
25
|
-
"@turbo/linux-arm64": "2.11.
|
|
26
|
-
"@turbo/windows-64": "2.11.
|
|
27
|
-
"@turbo/windows-arm64": "2.11.
|
|
22
|
+
"@turbo/darwin-64": "2.11.8-canary.2",
|
|
23
|
+
"@turbo/darwin-arm64": "2.11.8-canary.2",
|
|
24
|
+
"@turbo/linux-64": "2.11.8-canary.2",
|
|
25
|
+
"@turbo/linux-arm64": "2.11.8-canary.2",
|
|
26
|
+
"@turbo/windows-64": "2.11.8-canary.2",
|
|
27
|
+
"@turbo/windows-arm64": "2.11.8-canary.2"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"postversion": "node bump-version.js"
|
package/schema.json
CHANGED
|
@@ -331,6 +331,11 @@
|
|
|
331
331
|
"default": false,
|
|
332
332
|
"type": "boolean"
|
|
333
333
|
},
|
|
334
|
+
"experimentalSetup": {
|
|
335
|
+
"description": "Opt into experimental setup features that are still in progress.\n\nSetup invocation requires this flag; help is available without it. The `turbo.lock` format is unstable. Only parsing and help are implemented; provisioning, planning, and checking return a diagnostic. Setup does not interpret `turbo.lock` or change run or hash behavior.",
|
|
336
|
+
"default": false,
|
|
337
|
+
"type": "boolean"
|
|
338
|
+
},
|
|
334
339
|
"filterUsingTasks": {
|
|
335
340
|
"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.",
|
|
336
341
|
"default": false,
|