@vzn/vx 0.0.271 → 0.0.272
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 +80 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.272",
|
|
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.272",
|
|
21
|
+
"@vzn/vx-linux-arm64": "0.0.272",
|
|
22
|
+
"@vzn/vx-darwin-x64": "0.0.272",
|
|
23
|
+
"@vzn/vx-darwin-arm64": "0.0.272"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
package/src/cli/foreign-flags.ts
CHANGED
|
@@ -318,6 +318,86 @@ export const FOREIGN_FLAGS: readonly ForeignFlag[] = [
|
|
|
318
318
|
outcome: 'refuse',
|
|
319
319
|
vx: 'use `--affected=HEAD` (the working tree against the last commit)',
|
|
320
320
|
},
|
|
321
|
+
{
|
|
322
|
+
runner: 'nx',
|
|
323
|
+
names: ['--max-parallel'],
|
|
324
|
+
value: true,
|
|
325
|
+
outcome: 'alias',
|
|
326
|
+
vx: '`--concurrency <n>`',
|
|
327
|
+
to: (v) => (v === undefined ? ['--concurrency'] : ['--concurrency', v]),
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
runner: 'nx',
|
|
331
|
+
names: ['--exclude-task-dependencies'],
|
|
332
|
+
value: false,
|
|
333
|
+
outcome: 'alias',
|
|
334
|
+
vx: '`--exclude-dependencies`',
|
|
335
|
+
to: () => ['--exclude-dependencies'],
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
runner: 'nx',
|
|
339
|
+
names: ['--skip-remote-cache'],
|
|
340
|
+
value: false,
|
|
341
|
+
outcome: 'alias',
|
|
342
|
+
vx: '`--cache local:rw,remote:`',
|
|
343
|
+
to: () => ['--cache', 'local:rw,remote:'],
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
runner: 'nx',
|
|
347
|
+
names: ['--verbose'],
|
|
348
|
+
value: false,
|
|
349
|
+
outcome: 'refuse',
|
|
350
|
+
vx: 'use `--verbosity <n>` (1 adds the summary table)',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
runner: 'nx',
|
|
354
|
+
names: ['--files'],
|
|
355
|
+
value: true,
|
|
356
|
+
outcome: 'refuse',
|
|
357
|
+
vx: 'vx asks git what changed: `--affected=<base>`',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
runner: 'nx',
|
|
361
|
+
names: ['--batch'],
|
|
362
|
+
value: false,
|
|
363
|
+
outcome: 'refuse',
|
|
364
|
+
vx: 'vx runs one command per task: drop it',
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
runner: 'nx',
|
|
368
|
+
names: ['--dte', '--use-agents'],
|
|
369
|
+
value: false,
|
|
370
|
+
outcome: 'refuse',
|
|
371
|
+
vx: 'vx distributes nothing: drop it',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
runner: 'nx',
|
|
375
|
+
names: ['--nx-ignore-cycles'],
|
|
376
|
+
value: false,
|
|
377
|
+
outcome: 'refuse',
|
|
378
|
+
vx: 'vx refuses a task cycle by name: break it',
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
runner: 'nx',
|
|
382
|
+
names: ['--runner'],
|
|
383
|
+
value: true,
|
|
384
|
+
outcome: 'refuse',
|
|
385
|
+
vx: 'a remote cache is a plugin: `nxCache()` from @vzn/vx-migrate in vx.workspace.ts',
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
runner: 'nx',
|
|
389
|
+
names: ['--skip-sync'],
|
|
390
|
+
value: false,
|
|
391
|
+
outcome: 'refuse',
|
|
392
|
+
vx: 'vx never runs sync generators: drop it',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
runner: 'nx',
|
|
396
|
+
names: ['--tui', '--no-tui', '--tui-auto-exit'],
|
|
397
|
+
value: false,
|
|
398
|
+
outcome: 'refuse',
|
|
399
|
+
vx: 'vx frames each task’s output: `--output-logs <mode>` sets how much',
|
|
400
|
+
},
|
|
321
401
|
{
|
|
322
402
|
runner: 'nx',
|
|
323
403
|
names: ['--no-cloud'],
|