@vzn/vx 0.0.189 → 0.0.190
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 +2 -1
- package/package.json +5 -5
- package/src/workspace/project-loader.ts +8 -8
package/README.md
CHANGED
|
@@ -77,7 +77,8 @@ The package ships a prebuilt binary for Linux and macOS, x64 and arm64
|
|
|
77
77
|
|
|
78
78
|
## Quick start
|
|
79
79
|
|
|
80
|
-
In
|
|
80
|
+
In a git repo with a `package.json` workspace and no `turbo.json` or
|
|
81
|
+
`nx.json` (those get the one file above):
|
|
81
82
|
|
|
82
83
|
```sh
|
|
83
84
|
npx vx init # a vx.config.ts per package, from its scripts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.190",
|
|
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.
|
|
21
|
-
"@vzn/vx-linux-arm64": "0.0.
|
|
22
|
-
"@vzn/vx-darwin-x64": "0.0.
|
|
23
|
-
"@vzn/vx-darwin-arm64": "0.0.
|
|
20
|
+
"@vzn/vx-linux-x64": "0.0.190",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.190",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.190",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.190"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
|
@@ -472,16 +472,16 @@ export async function loadProjectConfigs(
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
await Promise.all(Array.from({ length: Math.min(LOAD_WIDTH, misses.length) }, lane))
|
|
475
|
-
|
|
475
|
+
let first: { failed: unknown } | undefined
|
|
476
476
|
for (const r of results) {
|
|
477
|
-
if ('failed' in r)
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
477
|
+
if ('failed' in r) first ??= r
|
|
478
|
+
else {
|
|
479
|
+
if (r.evaluated !== undefined) evals.push(r.evaluated)
|
|
480
|
+
if (r.closure !== undefined) learnedClosures.push(r.closure)
|
|
481
|
+
}
|
|
481
482
|
}
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
return out
|
|
483
|
+
if (first !== undefined) throw first.failed
|
|
484
|
+
return results.map((r) => (r as Loaded).config)
|
|
485
485
|
} finally {
|
|
486
486
|
endRound()
|
|
487
487
|
if (store !== undefined) {
|