@powerhousedao/shared 6.1.0-dev.7 → 6.1.0-dev.9

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.
@@ -22,7 +22,7 @@ declare const initArgs: {
22
22
  remoteDrive: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
23
23
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
24
24
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
25
- template: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
25
+ clone: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
26
26
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
27
27
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
28
28
  packageManager: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
@@ -48,10 +48,10 @@ const initArgs = {
48
48
  short: "r",
49
49
  description: "Remote drive identifier."
50
50
  }),
51
- template: option({
51
+ clone: option({
52
52
  type: optional(string),
53
- long: "template",
54
- description: "Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the template's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored)."
53
+ long: "clone",
54
+ description: "Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the cloned project's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored)."
55
55
  }),
56
56
  ...debugArgs
57
57
  };
@@ -1 +1 @@
1
- {"version":3,"file":"init.mjs","names":[],"sources":["../../../clis/args/init.ts"],"sourcesContent":["import {\n boolean,\n flag,\n oneOf,\n option,\n optional,\n positional,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const initArgs = {\n namePositional: positional({\n type: optional(string),\n displayName: \"name\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n nameOption: option({\n type: optional(string),\n long: \"name\",\n short: \"n\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n ...packageManagerArgs,\n tag: option({\n type: optional(oneOf([\"latest\", \"staging\", \"dev\"])),\n long: \"tag\",\n short: \"t\",\n description: `Specify the release tag to use for your project. Can be one of: \"latest\", \"staging\", or \"dev\".`,\n }),\n version: option({\n type: optional(string),\n long: \"version\",\n short: \"v\",\n description:\n \"Specify the exact semver release version to use for your project.\",\n }),\n dev: flag({\n type: optional(boolean),\n long: \"dev\",\n short: \"d\",\n description: \"Use the `dev` release tag.\",\n }),\n staging: flag({\n type: optional(boolean),\n long: \"staging\",\n short: \"s\",\n description: \"Use the `staging` release tag.\",\n }),\n remoteDrive: option({\n type: optional(string),\n long: \"remote-drive\",\n short: \"r\",\n description: \"Remote drive identifier.\",\n }),\n template: option({\n type: optional(string),\n long: \"template\",\n description:\n \"Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the template's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored).\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAWA,MAAa,WAAW;CACtB,gBAAgB,WAAW;EACzB,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,YAAY,OAAO;EACjB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,GAAG;CACH,KAAK,OAAO;EACV,MAAM,SAAS,MAAM;GAAC;GAAU;GAAW;GAAM,CAAC,CAAC;EACnD,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,SAAS,OAAO;EACd,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,UAAU,OAAO;EACf,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,GAAG;CACJ"}
1
+ {"version":3,"file":"init.mjs","names":[],"sources":["../../../clis/args/init.ts"],"sourcesContent":["import {\n boolean,\n flag,\n oneOf,\n option,\n optional,\n positional,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const initArgs = {\n namePositional: positional({\n type: optional(string),\n displayName: \"name\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n nameOption: option({\n type: optional(string),\n long: \"name\",\n short: \"n\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n ...packageManagerArgs,\n tag: option({\n type: optional(oneOf([\"latest\", \"staging\", \"dev\"])),\n long: \"tag\",\n short: \"t\",\n description: `Specify the release tag to use for your project. Can be one of: \"latest\", \"staging\", or \"dev\".`,\n }),\n version: option({\n type: optional(string),\n long: \"version\",\n short: \"v\",\n description:\n \"Specify the exact semver release version to use for your project.\",\n }),\n dev: flag({\n type: optional(boolean),\n long: \"dev\",\n short: \"d\",\n description: \"Use the `dev` release tag.\",\n }),\n staging: flag({\n type: optional(boolean),\n long: \"staging\",\n short: \"s\",\n description: \"Use the `staging` release tag.\",\n }),\n remoteDrive: option({\n type: optional(string),\n long: \"remote-drive\",\n short: \"r\",\n description: \"Remote drive identifier.\",\n }),\n clone: option({\n type: optional(string),\n long: \"clone\",\n description:\n \"Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the cloned project's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored).\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAWA,MAAa,WAAW;CACtB,gBAAgB,WAAW;EACzB,MAAM,SAAS,OAAO;EACtB,aAAa;EACb,aACE;EACH,CAAC;CACF,YAAY,OAAO;EACjB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,GAAG;CACH,KAAK,OAAO;EACV,MAAM,SAAS,MAAM;GAAC;GAAU;GAAW;GAAM,CAAC,CAAC;EACnD,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,SAAS,OAAO;EACd,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aACE;EACH,CAAC;CACF,KAAK,KAAK;EACR,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,SAAS,KAAK;EACZ,MAAM,SAAS,QAAQ;EACvB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,aAAa,OAAO;EAClB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aAAa;EACd,CAAC;CACF,OAAO,OAAO;EACZ,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;EACH,CAAC;CACF,GAAG;CACJ"}
@@ -678,7 +678,7 @@ declare const initArgs: {
678
678
  remoteDrive: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
679
679
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
680
680
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
681
- template: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
681
+ clone: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
682
682
  parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
683
683
  } & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
684
684
  packageManager: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
@@ -1135,10 +1135,10 @@ const initArgs = {
1135
1135
  short: "r",
1136
1136
  description: "Remote drive identifier."
1137
1137
  }),
1138
- template: option({
1138
+ clone: option({
1139
1139
  type: optional(string),
1140
- long: "template",
1141
- description: "Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the template's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored)."
1140
+ long: "clone",
1141
+ description: "Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the cloned project's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored)."
1142
1142
  }),
1143
1143
  ...debugArgs
1144
1144
  };