@vzn/vx 0.0.253 → 0.0.254
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 +5 -5
- package/src/cache/inputs.ts +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.254",
|
|
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.254",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.254",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.254",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.254"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
package/src/cache/inputs.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { rm, rmdir } from 'node:fs/promises'
|
|
|
22
22
|
import type { CacheInputs } from '../config.js'
|
|
23
23
|
import {
|
|
24
24
|
asTrees,
|
|
25
|
+
executablePath,
|
|
25
26
|
isExecutableMissing,
|
|
26
27
|
isLiteralPattern,
|
|
27
28
|
normalizeGlob,
|
|
@@ -389,7 +390,11 @@ async function runRuntimeCommand(
|
|
|
389
390
|
const prefix = binDirs.join(path.delimiter)
|
|
390
391
|
let proc
|
|
391
392
|
try {
|
|
392
|
-
|
|
393
|
+
// vx's own `sh`, resolved on its PATH before the probe's: Bun.spawn looks
|
|
394
|
+
// a bare name up on the child's PATH, which leads with the project's
|
|
395
|
+
// `node_modules/.bin`, so a dependency's `sh` bin ran every probe (J-69).
|
|
396
|
+
const argv =
|
|
397
|
+
process.platform === 'win32' ? shellArgv(command) : [executablePath('sh'), '-c', command]
|
|
393
398
|
proc = Bun.spawn(argv, {
|
|
394
399
|
cwd,
|
|
395
400
|
env: { ...process.env, PATH: ambient ? `${prefix}${path.delimiter}${ambient}` : prefix },
|