nx 23.3.0-rc.0 → 23.3.0
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/dist/src/command-line/migrate/version-skew-guard.d.ts +1 -1
- package/dist/src/command-line/migrate/version-skew-guard.js +4 -7
- package/dist/src/core/graph/main.js +1 -1
- package/dist/src/native/index.d.ts +10 -3
- package/dist/src/native/nx.wasm32-wasi.debug.wasm +0 -0
- package/dist/src/native/nx.wasm32-wasi.wasm +0 -0
- package/dist/src/ultracache/store.d.ts +4 -3
- package/dist/src/ultracache/store.js +5 -9
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const NEW_MIGRATE_FLAGS_FLOOR = "23.2.0";
|
|
2
|
-
export declare const NEW_MIGRATE_FLAGS: readonly ['--run-migration', '--runMigration', '--run-id', '--runId', '--step-action', '--stepAction'
|
|
2
|
+
export declare const NEW_MIGRATE_FLAGS: readonly ['--run-migration', '--runMigration', '--run-id', '--runId', '--step-action', '--stepAction'];
|
|
3
3
|
export declare function findNewMigrateFlag(argv: string[]): string | undefined;
|
|
4
4
|
/**
|
|
5
5
|
* Whether the invocation names an existing orchestrated run. Such an
|
|
@@ -19,9 +19,10 @@ const version_utils_1 = require("./version-utils");
|
|
|
19
19
|
// pass this floor and route to a temp CLI that drops the new flags and runs
|
|
20
20
|
// the plan phase instead.
|
|
21
21
|
exports.NEW_MIGRATE_FLAGS_FLOOR = '23.2.0';
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
22
|
+
// List only flags that pick which migrate path runs: an older nx drops them
|
|
23
|
+
// and runs another one. Flags read only by --run-migrations do not belong.
|
|
24
|
+
// yargs accepts both spellings of each flag and the raw argv is forwarded
|
|
25
|
+
// across both migrate hops, so detection must catch every one.
|
|
25
26
|
exports.NEW_MIGRATE_FLAGS = [
|
|
26
27
|
'--run-migration',
|
|
27
28
|
'--runMigration',
|
|
@@ -29,10 +30,6 @@ exports.NEW_MIGRATE_FLAGS = [
|
|
|
29
30
|
'--runId',
|
|
30
31
|
'--step-action',
|
|
31
32
|
'--stepAction',
|
|
32
|
-
'--final-validation',
|
|
33
|
-
'--finalValidation',
|
|
34
|
-
'--no-final-validation',
|
|
35
|
-
'--no-finalValidation',
|
|
36
33
|
];
|
|
37
34
|
const RUN_ID_FLAGS = ['--run-id', '--runId'];
|
|
38
35
|
/**
|