@vzn/vx 0.0.272 → 0.0.273
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/cli/foreign-flags.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.273",
|
|
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.273",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.273",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.273",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.273"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
package/src/cli/foreign-flags.ts
CHANGED
|
@@ -408,11 +408,24 @@ export const FOREIGN_FLAGS: readonly ForeignFlag[] = [
|
|
|
408
408
|
]
|
|
409
409
|
|
|
410
410
|
/** Nx's verbs, as its users type them: `vx run` takes their flags. */
|
|
411
|
+
const TURBO_LOGIN =
|
|
412
|
+
'vx has no login: a remote cache is a plugin, `turboCache()` from @vzn/vx-migrate in vx.workspace.ts, which reads TURBO_TOKEN / TURBO_TEAM / TURBO_API'
|
|
413
|
+
|
|
411
414
|
export const FOREIGN_VERBS: Readonly<Record<string, string>> = {
|
|
412
415
|
'run-many':
|
|
413
416
|
'`nx run-many` is `vx run <task> --all` here; -t, -p, --exclude and --parallel work as they are',
|
|
414
417
|
affected:
|
|
415
418
|
'`nx affected` is `vx run <task> --affected` here; -t, --base and --exclude work as they are',
|
|
419
|
+
graph: '`nx graph` is `vx run <task> --graph[=<file>.dot]` here: the task graph as Graphviz DOT',
|
|
420
|
+
ls: '`turbo ls` is `vx show` here: every project, its directory and its task count',
|
|
421
|
+
query:
|
|
422
|
+
'`turbo query` has no vx form: `vx run <task> --dry=json` prints the planned graph as JSON',
|
|
423
|
+
reset: '`nx reset` is `vx cache prune` here (or remove the cache directory `vx info` names)',
|
|
424
|
+
daemon: 'vx has no daemon: there is nothing to start or stop',
|
|
425
|
+
login: TURBO_LOGIN,
|
|
426
|
+
logout: TURBO_LOGIN,
|
|
427
|
+
link: TURBO_LOGIN,
|
|
428
|
+
unlink: TURBO_LOGIN,
|
|
416
429
|
}
|
|
417
430
|
|
|
418
431
|
/**
|