@vzn/vx 0.0.145 → 0.0.147

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 CHANGED
@@ -52,8 +52,9 @@ npx vx run build --all # again: up-to-date in milliseconds
52
52
  ```
53
53
 
54
54
  Nothing is rewritten. `@vzn/vx-migrate` is not on npm yet (first publish
55
- pending); [`examples/turbo`](examples/turbo) runs this setup on every
56
- commit. Which `turbo.json`, `nx.json` and `project.json` keys vx honours,
55
+ pending); [`examples/turbo`](examples/turbo) runs this setup, and
56
+ `packages/vx/tests/try-it.unsafe.test.ts` runs these exact lines on a Turbo
57
+ and an Nx repo, on every commit. Which `turbo.json`, `nx.json` and `project.json` keys vx honours,
57
58
  key by key: [Turbo and Nx config support](https://vznjs.github.io/vx/compare/turbo-nx-support/).
58
59
 
59
60
  ## Why it is faster
@@ -154,15 +155,16 @@ tasks per row, medians; vx first, theirs second.
154
155
  | [medusajs/medusa](https://github.com/medusajs/medusa) | Turbo | 308 s / 315 s | 3.86 s / 7.16 s | 947 ms / 3.29 s |
155
156
  | [n8n-io/n8n](https://github.com/n8n-io/n8n) | Turbo | 137.2 s / **133.7 s** | 8.27 s / 12.5 s | 842 ms / 1.36 s |
156
157
  | [calcom/cal.com](https://github.com/calcom/cal.com) | Turbo | 245.7 s / 250.7 s | 17.4 s / 19.9 s | 14.7 s / 18.5 s |
157
- | [TanStack/query](https://github.com/TanStack/query) | Nx | 47.4 s / 55.1 s | 656 ms / 1.98 s | 174 ms / 1.88 s |
158
+ | [TanStack/query](https://github.com/TanStack/query) | Nx | 34.6 s / 37.1 s | 910 ms / 1.62 s | 291 ms / 1.60 s |
158
159
  | [strapi/strapi](https://github.com/strapi/strapi) | Nx | 238.2 s / 245.7 s | 1.61 s / 3.94 s | 341 ms / 4.02 s |
159
160
  | [novuhq/novu](https://github.com/novuhq/novu) | Nx | 291.2 s / 299.4 s | 3.10 s / 9.05 s | 655 ms / 8.55 s |
160
- | [TanStack/router](https://github.com/TanStack/router) | Nx | 199.9 s / 226.7 s | 1.00 s / 3.33 s | 505 ms / 3.21 s |
161
+ | [TanStack/router](https://github.com/TanStack/router) | Nx | 123.0 s / 138.0 s | 1.27 s / 3.82 s | 626 ms / 3.91 s |
161
162
  | [refinedev/refine](https://github.com/refinedev/refine) | Nx | 96.2 s / 105.9 s | 1.06 s / 1.19 s | 303 ms / 1.16 s |
162
163
 
163
164
  **Bold** marks the other tool winning. Versions, revisions, scopes and
164
165
  harness per repo: [benchmarks](packages/vx/docs/benchmarks.md) (astro
165
- and refine as re-measured on 2026-09-27, the rest 2026-09-10 and -11).
166
+ and refine as re-measured on 2026-09-27, TanStack/query and
167
+ TanStack/router through `nx()` on 2026-09-28, the rest 2026-09-10 and -11).
166
168
 
167
169
  ## How it compares
168
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vzn/vx",
3
- "version": "0.0.145",
3
+ "version": "0.0.147",
4
4
  "description": "A fast, correct task runner and build cache for JavaScript monorepos.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,10 +17,10 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@vzn/vx-linux-x64": "0.0.145",
21
- "@vzn/vx-linux-arm64": "0.0.145",
22
- "@vzn/vx-darwin-x64": "0.0.145",
23
- "@vzn/vx-darwin-arm64": "0.0.145"
20
+ "@vzn/vx-linux-x64": "0.0.147",
21
+ "@vzn/vx-linux-arm64": "0.0.147",
22
+ "@vzn/vx-darwin-x64": "0.0.147",
23
+ "@vzn/vx-darwin-arm64": "0.0.147"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -1324,7 +1324,10 @@ async function runSandboxedOnce(
1324
1324
  const { wrapped, tag, srtCommand, baselines, forwardsSignals, traced } =
1325
1325
  await wrapSandboxedCommand({ ...args, ...(useStrace ? { trace: useStrace } : {}) })
1326
1326
  const takeRecords = collectRecords(SandboxManager.getSandboxViolationStore(), srtCommand)
1327
- const straceLog = traced ? path.join(os.tmpdir(), `vx-strace-${tag}.log`) : undefined
1327
+ // Beside the task directories, which every sandbox replaces with its own:
1328
+ // in the shared temp dir a concurrent task read this log, every path
1329
+ // this task opened (L-25).
1330
+ const straceLog = traced ? path.join(taskTmpRoot(), `vx-strace-${tag}.log`) : undefined
1328
1331
  if (straceLog) unlinkOnExit(straceLog)
1329
1332
  let proc: ReturnType<typeof Bun.spawn>
1330
1333
  let traceFd: number | undefined