@vzn/vx 0.0.291 → 0.0.293
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.
|
@@ -15,15 +15,14 @@
|
|
|
15
15
|
// with no prebuilt binary if the user happens to have Bun).
|
|
16
16
|
// Anything else is a clear, actionable error.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
// CommonJS, not ESM: Node's ESM loader cost every `vx` call ~8 ms of a
|
|
19
|
+
// ~65 ms launch (min of 21, interleaved, Node 22, 2026-10-01).
|
|
20
|
+
const { execFileSync, spawn, spawnSync } = require('node:child_process')
|
|
21
|
+
const { existsSync, readFileSync } = require('node:fs')
|
|
22
|
+
const { constants: osConstants } = require('node:os')
|
|
23
|
+
const { dirname, join } = require('node:path')
|
|
24
24
|
|
|
25
|
-
const
|
|
26
|
-
const here = dirname(fileURLToPath(import.meta.url))
|
|
25
|
+
const here = __dirname
|
|
27
26
|
const pkg = require('./package.json')
|
|
28
27
|
|
|
29
28
|
// Derive the platform-package prefix + binary basename from this package's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.293",
|
|
4
4
|
"description": "A fast, correct task runner and build cache for JavaScript monorepos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
},
|
|
12
12
|
"types": "./src/index.ts",
|
|
13
13
|
"bin": {
|
|
14
|
-
"vx": "./launcher.
|
|
14
|
+
"vx": "./launcher.cjs"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
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.293",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.293",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.293",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.293"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"files": [
|
|
29
29
|
"index.ts",
|
|
30
30
|
"src",
|
|
31
|
-
"launcher.
|
|
31
|
+
"launcher.cjs",
|
|
32
32
|
"README.md",
|
|
33
33
|
"LICENSE"
|
|
34
34
|
],
|