@powerhousedao/shared 6.0.0-dev.223 → 6.0.0-dev.224
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/clis/index.d.mts +11 -1
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +11 -0
- package/dist/clis/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/clis/index.mjs
CHANGED
|
@@ -610,6 +610,11 @@ const loginArgs = {
|
|
|
610
610
|
//#endregion
|
|
611
611
|
//#region clis/args/migrate.ts
|
|
612
612
|
const migrateArgs = {
|
|
613
|
+
versionPositional: positional({
|
|
614
|
+
type: optional(string),
|
|
615
|
+
displayName: "version",
|
|
616
|
+
description: "The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`."
|
|
617
|
+
}),
|
|
613
618
|
version: option({
|
|
614
619
|
long: "version",
|
|
615
620
|
short: "v",
|
|
@@ -618,6 +623,12 @@ const migrateArgs = {
|
|
|
618
623
|
defaultValue: () => "latest",
|
|
619
624
|
defaultValueIsSerializable: true
|
|
620
625
|
}),
|
|
626
|
+
force: flag({
|
|
627
|
+
type: optional(boolean),
|
|
628
|
+
long: "force",
|
|
629
|
+
short: "f",
|
|
630
|
+
description: "Run migrate from the bundled codegen even if the target version cannot be resolved from the npm registry or differs from the installed ph-cli version."
|
|
631
|
+
}),
|
|
621
632
|
...debugArgs
|
|
622
633
|
};
|
|
623
634
|
//#endregion
|