turbo 2.11.11-canary.2 → 2.11.11
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/bin/turbo +3 -1
- package/docs/reference/query.mdx +19 -0
- package/package.json +7 -7
package/bin/turbo
CHANGED
|
@@ -488,7 +488,9 @@ function runTurboChild(env, useCtrlCPipe) {
|
|
|
488
488
|
process.argv.slice(2),
|
|
489
489
|
{
|
|
490
490
|
stdio: useCtrlCPipe ? ["inherit", "inherit", "inherit", "pipe"] : "inherit",
|
|
491
|
-
|
|
491
|
+
// A group SIGTERM or SIGHUP reaches turbo directly and again through
|
|
492
|
+
// the forward below. This marker lets turbo count them as one request.
|
|
493
|
+
env: { ...env, __TURBO_NPM_WRAPPER: "1" },
|
|
492
494
|
}
|
|
493
495
|
);
|
|
494
496
|
|
package/docs/reference/query.mdx
CHANGED
|
@@ -114,6 +114,25 @@ expanded names, framework-inferred variables, or a complete process environment.
|
|
|
114
114
|
The query does not execute tasks or report cache hits. Unlike dry-run summaries,
|
|
115
115
|
this selection does not include file-hash inventories.
|
|
116
116
|
|
|
117
|
+
### Log files
|
|
118
|
+
|
|
119
|
+
Each task's `logFile` is the path to the log the task writes, relative to the
|
|
120
|
+
repository root, and matches the `logFile` that `turbo run --dry=json` reports
|
|
121
|
+
for that task. It is `null` when the task sets `cache: false`, because a task
|
|
122
|
+
that does not cache writes no log file.
|
|
123
|
+
|
|
124
|
+
### Task hashes
|
|
125
|
+
|
|
126
|
+
Each task's `hash` is the hash the task contributes to cache lookups, and it
|
|
127
|
+
matches the `hash` that `turbo run --dry=json` reports for that task. Both read
|
|
128
|
+
the same inputs Turbo hashes before a run, so they agree for the same repository
|
|
129
|
+
state, environment, and configuration.
|
|
130
|
+
|
|
131
|
+
The hash is `null` when it cannot be known before the task runs, such as when a
|
|
132
|
+
task's inputs include files that its dependencies produce. `hashReason` then
|
|
133
|
+
explains why, matching the dry run's `hashReason`; it is `null` when the hash is
|
|
134
|
+
known up front.
|
|
135
|
+
|
|
117
136
|
## Package task catalogue
|
|
118
137
|
|
|
119
138
|
`package.tasks` lists the package's native scripts and resolved Task Graph entries,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turbo",
|
|
3
|
-
"version": "2.11.11
|
|
3
|
+
"version": "2.11.11",
|
|
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.11
|
|
23
|
-
"@turbo/darwin-arm64": "2.11.11
|
|
24
|
-
"@turbo/linux-64": "2.11.11
|
|
25
|
-
"@turbo/linux-arm64": "2.11.11
|
|
26
|
-
"@turbo/windows-64": "2.11.11
|
|
27
|
-
"@turbo/windows-arm64": "2.11.11
|
|
22
|
+
"@turbo/darwin-64": "2.11.11",
|
|
23
|
+
"@turbo/darwin-arm64": "2.11.11",
|
|
24
|
+
"@turbo/linux-64": "2.11.11",
|
|
25
|
+
"@turbo/linux-arm64": "2.11.11",
|
|
26
|
+
"@turbo/windows-64": "2.11.11",
|
|
27
|
+
"@turbo/windows-arm64": "2.11.11"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"postversion": "node bump-version.js"
|