@shell-shock/core 0.17.8 → 0.17.10

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.
Files changed (141) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -1
  2. package/dist/api.cjs +148 -1
  3. package/dist/api.d.cts +6 -6
  4. package/dist/api.d.cts.map +1 -1
  5. package/dist/api.d.mts +6 -6
  6. package/dist/api.d.mts.map +1 -1
  7. package/dist/api.mjs +145 -1
  8. package/dist/api.mjs.map +1 -1
  9. package/dist/components/command-validation-logic.cjs +292 -1
  10. package/dist/components/command-validation-logic.mjs +289 -1
  11. package/dist/components/command-validation-logic.mjs.map +1 -1
  12. package/dist/components/docs.cjs +265 -1
  13. package/dist/components/docs.mjs +256 -1
  14. package/dist/components/docs.mjs.map +1 -1
  15. package/dist/components/exec-builtin.cjs +429 -13
  16. package/dist/components/exec-builtin.mjs +425 -13
  17. package/dist/components/exec-builtin.mjs.map +1 -1
  18. package/dist/components/helpers.cjs +120 -1
  19. package/dist/components/helpers.mjs +112 -1
  20. package/dist/components/helpers.mjs.map +1 -1
  21. package/dist/components/index.cjs +58 -1
  22. package/dist/components/index.mjs +10 -1
  23. package/dist/components/options-parser-logic.cjs +960 -5
  24. package/dist/components/options-parser-logic.d.cts +1 -1
  25. package/dist/components/options-parser-logic.mjs +945 -5
  26. package/dist/components/options-parser-logic.mjs.map +1 -1
  27. package/dist/components/state-builtin.cjs +629 -8
  28. package/dist/components/state-builtin.mjs +622 -8
  29. package/dist/components/state-builtin.mjs.map +1 -1
  30. package/dist/components/usage.cjs +117 -1
  31. package/dist/components/usage.mjs +114 -1
  32. package/dist/components/usage.mjs.map +1 -1
  33. package/dist/components/utils-builtin.cjs +838 -33
  34. package/dist/components/utils-builtin.mjs +828 -33
  35. package/dist/components/utils-builtin.mjs.map +1 -1
  36. package/dist/config.cjs +31 -1
  37. package/dist/config.mjs +29 -1
  38. package/dist/config.mjs.map +1 -1
  39. package/dist/contexts/command.cjs +26 -1
  40. package/dist/contexts/command.mjs +23 -1
  41. package/dist/contexts/command.mjs.map +1 -1
  42. package/dist/contexts/index.cjs +9 -1
  43. package/dist/contexts/index.mjs +4 -1
  44. package/dist/contexts/options.cjs +63 -1
  45. package/dist/contexts/options.mjs +58 -1
  46. package/dist/contexts/options.mjs.map +1 -1
  47. package/dist/helpers/automd.cjs +71 -1
  48. package/dist/helpers/automd.mjs +70 -1
  49. package/dist/helpers/automd.mjs.map +1 -1
  50. package/dist/helpers/docs-helpers.cjs +23 -1
  51. package/dist/helpers/docs-helpers.mjs +22 -1
  52. package/dist/helpers/docs-helpers.mjs.map +1 -1
  53. package/dist/helpers/paths.cjs +137 -1
  54. package/dist/helpers/paths.mjs +133 -1
  55. package/dist/helpers/paths.mjs.map +1 -1
  56. package/dist/helpers/persistence.cjs +115 -1
  57. package/dist/helpers/persistence.mjs +112 -1
  58. package/dist/helpers/persistence.mjs.map +1 -1
  59. package/dist/helpers/update-package-json.cjs +65 -1
  60. package/dist/helpers/update-package-json.mjs +63 -1
  61. package/dist/helpers/update-package-json.mjs.map +1 -1
  62. package/dist/helpers/utilities.cjs +95 -1
  63. package/dist/helpers/utilities.mjs +93 -1
  64. package/dist/helpers/utilities.mjs.map +1 -1
  65. package/dist/helpers/validations.cjs +71 -1
  66. package/dist/helpers/validations.mjs +71 -1
  67. package/dist/helpers/validations.mjs.map +1 -1
  68. package/dist/index.cjs +53 -1
  69. package/dist/index.d.cts +3 -3
  70. package/dist/index.d.mts +3 -3
  71. package/dist/index.mjs +7 -1
  72. package/dist/plugin-utils/compute-bin.cjs +50 -1
  73. package/dist/plugin-utils/compute-bin.mjs +49 -1
  74. package/dist/plugin-utils/compute-bin.mjs.map +1 -1
  75. package/dist/plugin-utils/context-helpers.cjs +231 -1
  76. package/dist/plugin-utils/context-helpers.mjs +221 -1
  77. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  78. package/dist/plugin-utils/deepkit.cjs +71 -1
  79. package/dist/plugin-utils/deepkit.mjs +69 -1
  80. package/dist/plugin-utils/deepkit.mjs.map +1 -1
  81. package/dist/plugin-utils/description-helpers.cjs +111 -2
  82. package/dist/plugin-utils/description-helpers.mjs +107 -2
  83. package/dist/plugin-utils/description-helpers.mjs.map +1 -1
  84. package/dist/plugin-utils/get-command-tree.cjs +117 -1
  85. package/dist/plugin-utils/get-command-tree.mjs +114 -1
  86. package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
  87. package/dist/plugin-utils/index.cjs +39 -1
  88. package/dist/plugin-utils/index.mjs +10 -1
  89. package/dist/plugin-utils/reflect.cjs +52 -1
  90. package/dist/plugin-utils/reflect.mjs +52 -1
  91. package/dist/plugin-utils/reflect.mjs.map +1 -1
  92. package/dist/plugin-utils/traverse-command-tree.cjs +64 -1
  93. package/dist/plugin-utils/traverse-command-tree.mjs +62 -1
  94. package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
  95. package/dist/plugin-utils/type-checks.cjs +93 -1
  96. package/dist/plugin-utils/type-checks.mjs +88 -1
  97. package/dist/plugin-utils/type-checks.mjs.map +1 -1
  98. package/dist/plugin.cjs +471 -4
  99. package/dist/plugin.d.cts.map +1 -1
  100. package/dist/plugin.d.mts.map +1 -1
  101. package/dist/plugin.mjs +465 -4
  102. package/dist/plugin.mjs.map +1 -1
  103. package/dist/resolver/deepkit.cjs +135 -1
  104. package/dist/resolver/deepkit.mjs +134 -1
  105. package/dist/resolver/deepkit.mjs.map +1 -1
  106. package/dist/resolver/helpers.cjs +173 -1
  107. package/dist/resolver/helpers.mjs +168 -1
  108. package/dist/resolver/helpers.mjs.map +1 -1
  109. package/dist/resolver/module.cjs +145 -1
  110. package/dist/resolver/module.mjs +144 -1
  111. package/dist/resolver/module.mjs.map +1 -1
  112. package/dist/resolver/resolve.cjs +222 -1
  113. package/dist/resolver/resolve.mjs +221 -1
  114. package/dist/resolver/resolve.mjs.map +1 -1
  115. package/dist/types/command.cjs +441 -1
  116. package/dist/types/command.d.cts +1 -1
  117. package/dist/types/command.d.mts +2 -2
  118. package/dist/types/command.mjs +405 -1
  119. package/dist/types/command.mjs.map +1 -1
  120. package/dist/types/config.cjs +134 -1
  121. package/dist/types/config.d.cts +10 -8
  122. package/dist/types/config.d.cts.map +1 -1
  123. package/dist/types/config.d.mts +10 -8
  124. package/dist/types/config.d.mts.map +1 -1
  125. package/dist/types/config.mjs +127 -1
  126. package/dist/types/config.mjs.map +1 -1
  127. package/dist/types/context.cjs +37 -1
  128. package/dist/types/context.mjs +34 -1
  129. package/dist/types/context.mjs.map +1 -1
  130. package/dist/types/env.cjs +52 -1
  131. package/dist/types/env.d.cts +1 -1
  132. package/dist/types/env.d.mts +1 -1
  133. package/dist/types/env.mjs +50 -1
  134. package/dist/types/env.mjs.map +1 -1
  135. package/dist/types/index.cjs +50 -1
  136. package/dist/types/index.d.cts +2 -2
  137. package/dist/types/index.d.mts +2 -2
  138. package/dist/types/index.mjs +6 -1
  139. package/dist/types/options.cjs +12 -1
  140. package/dist/types/options.mjs +10 -1
  141. package/package.json +22 -21
@@ -1,13 +1,14 @@
1
1
  import { CommandBase, CommandOption } from "./command.cjs";
2
2
  import { Context } from "./context.cjs";
3
- import { OutputConfig as OutputConfig$1 } from "powerlines";
3
+ import { EngineOptions as EngineOptions$1, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
4
4
  import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
5
5
  import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
6
- import { NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "@powerlines/plugin-nodejs/types/plugin";
7
- import { TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown/types/plugin";
6
+ import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
7
+ import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
8
+ import { RequiredKeys } from "@stryke/types/base";
8
9
 
9
10
  //#region src/types/config.d.ts
10
- type BuildOptions = Pick<TsdownPluginUserConfig, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
11
+ type BuildOptions = Pick<UserConfig$1, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
11
12
  interface ReferenceOptions {
12
13
  /**
13
14
  * A URL to the application documentation or reference.
@@ -21,7 +22,7 @@ interface ReferenceOptions {
21
22
  */
22
23
  commands?: string;
23
24
  }
24
- type BaseOptions = Partial<BuildOptions> & {
25
+ interface BaseOptions {
25
26
  /**
26
27
  * A set of global command options to apply to each command.
27
28
  *
@@ -63,7 +64,7 @@ type BaseOptions = Partial<BuildOptions> & {
63
64
  * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.
64
65
  */
65
66
  reference?: ReferenceOptions | string;
66
- };
67
+ }
67
68
  /**
68
69
  * The plugin options for Shell Shock.
69
70
  */
@@ -80,12 +81,13 @@ type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMa
80
81
  /**
81
82
  * The user configuration options for Shell Shock.
82
83
  */
83
- type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPluginUserConfig, "root"> & {
84
+ type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "root" | "name"> & {
84
85
  /**
85
86
  * Configuration for the output of the build process
86
87
  */
87
88
  output?: OutputConfig;
88
89
  };
90
+ type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework"> & UserConfig;
89
91
  /**
90
92
  * The resolved configuration options for Shell Shock.
91
93
  */
@@ -115,5 +117,5 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
115
117
  userConfig: UserConfig;
116
118
  };
117
119
  //#endregion
118
- export { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
120
+ export { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
119
121
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;KAiCK,YAAA,GAAe,IAAA,CAClB,sBAAA;AAAA,UAce,gBAAA;EAfZ;;;EAmBH,GAAA;EAlBsB;AAcxB;;;;;EAYE,QAAA;AAAA;AAAA,KAGG,WAAA,GAAc,OAAA,CAAQ,YAAA;EAAA;;;;;;EAOzB,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAuCnB;;;;;EA/B5B,eAAA;EARe;;;;;;;;;;EAoBf,GAAA;EAmB4B;AAM9B;;;;;;;;EAdE,aAAA;EAckC;;;;AAKpC;;EAXE,SAAA,GAAY,gBAAA;AAAA;;;;KAMF,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;AAkB5C;;KAbY,YAAA,GAAe,IAAA,CACzB,cAAA;EAYuB;;;EANvB,GAAA;AAAA;;;;KAMU,UAAA,GAAa,WAAA,GACvB,OAAA,CAAQ,sBAAA,IACR,IAAA,CAAK,sBAAA;EADL;;;EAKE,MAAA,GAAS,YAAA;AAAA;;;;KAMD,cAAA,GAAiB,0BAAA,GAC3B,yBAAA,GACA,0BAAA,GACA,0BAAA,GACA,QAAA,CAAS,IAAA,CAAK,OAAA;EAJU;;;;;;;;;;EAetB,GAAA,EAAK,MAAA;EAeO;;;EAVZ,SAAA,EAAW,gBAAA;EAnBb;;;EAwBE,oBAAA;EArBO;;;EA0BP,UAAA,EAAY,UAAA;AAAA"}
1
+ {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;KAkCK,YAAA,GAAe,IAAA,CAClB,YAAA;AAAA,UAce,gBAAA;EAfZ;;;EAmBH,GAAA;EAlBoB;AActB;;;;;EAYE,QAAA;AAAA;AAAA,UAGQ,WAAA;EAQJ;;;;;;EADJ,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAF/C;;;;;EAUA,eAAA;EAR+C;;;;;;;;AA6CjD;;EAzBE,GAAA;EAyBoB;;;;;;;;;EAdpB,aAAA;EAmBU;;;;;;EAXV,SAAA,GAAY,gBAAA;AAAA;;AAwBd;;KAlBY,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAKhC,YAAA,GAAe,IAAA,CACzB,cAAA;EAiBuB;;;EAXvB,GAAA;AAAA;;;;KAMU,UAAA,GAAa,WAAA,GACvB,YAAA,CAAa,YAAA;EAOH;;;EAHR,MAAA,GAAS,YAAA;AAAA;AAAA,KAGD,aAAA,GAAgB,IAAA,CAC1B,eAAA,mCAGA,UAAA;;;;KAKU,cAAA,GAAiB,0BAAA,GAC3B,yBAAA,GACA,0BAAA,GACA,0BAAA,GACA,QAAA,CAAS,IAAA,CAAK,OAAA;EATd;;;AAKF;;;;;;;EAeI,GAAA,EAAK,MAAA;EAXE;;;EAgBP,SAAA,EAAW,gBAAA;EAUC;;;EALZ,oBAAA;EAxBF;;;EA6BE,UAAA,EAAY,UAAA;AAAA"}
@@ -1,13 +1,14 @@
1
1
  import { CommandBase, CommandOption } from "./command.mjs";
2
2
  import { Context } from "./context.mjs";
3
- import { OutputConfig as OutputConfig$1 } from "powerlines";
4
3
  import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
4
+ import { EngineOptions as EngineOptions$1, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
5
5
  import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
6
- import { NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "@powerlines/plugin-nodejs/types/plugin";
7
- import { TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown/types/plugin";
6
+ import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
7
+ import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
8
+ import { RequiredKeys } from "@stryke/types/base";
8
9
 
9
10
  //#region src/types/config.d.ts
10
- type BuildOptions = Pick<TsdownPluginUserConfig, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
11
+ type BuildOptions = Pick<UserConfig$1, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
11
12
  interface ReferenceOptions {
12
13
  /**
13
14
  * A URL to the application documentation or reference.
@@ -21,7 +22,7 @@ interface ReferenceOptions {
21
22
  */
22
23
  commands?: string;
23
24
  }
24
- type BaseOptions = Partial<BuildOptions> & {
25
+ interface BaseOptions {
25
26
  /**
26
27
  * A set of global command options to apply to each command.
27
28
  *
@@ -63,7 +64,7 @@ type BaseOptions = Partial<BuildOptions> & {
63
64
  * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.
64
65
  */
65
66
  reference?: ReferenceOptions | string;
66
- };
67
+ }
67
68
  /**
68
69
  * The plugin options for Shell Shock.
69
70
  */
@@ -80,12 +81,13 @@ type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMa
80
81
  /**
81
82
  * The user configuration options for Shell Shock.
82
83
  */
83
- type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPluginUserConfig, "root"> & {
84
+ type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "root" | "name"> & {
84
85
  /**
85
86
  * Configuration for the output of the build process
86
87
  */
87
88
  output?: OutputConfig;
88
89
  };
90
+ type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework"> & UserConfig;
89
91
  /**
90
92
  * The resolved configuration options for Shell Shock.
91
93
  */
@@ -115,5 +117,5 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
115
117
  userConfig: UserConfig;
116
118
  };
117
119
  //#endregion
118
- export { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
120
+ export { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
119
121
  //# sourceMappingURL=config.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;KAiCK,YAAA,GAAe,IAAA,CAClB,sBAAA;AAAA,UAce,gBAAA;EAfZ;;;EAmBH,GAAA;EAlBsB;AAcxB;;;;;EAYE,QAAA;AAAA;AAAA,KAGG,WAAA,GAAc,OAAA,CAAQ,YAAA;EAAA;;;;;;EAOzB,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAuCnB;;;;;EA/B5B,eAAA;EARe;;;;;;;;;;EAoBf,GAAA;EAmB4B;AAM9B;;;;;;;;EAdE,aAAA;EAckC;;;;AAKpC;;EAXE,SAAA,GAAY,gBAAA;AAAA;;;;KAMF,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;AAkB5C;;KAbY,YAAA,GAAe,IAAA,CACzB,cAAA;EAYuB;;;EANvB,GAAA;AAAA;;;;KAMU,UAAA,GAAa,WAAA,GACvB,OAAA,CAAQ,sBAAA,IACR,IAAA,CAAK,sBAAA;EADL;;;EAKE,MAAA,GAAS,YAAA;AAAA;;;;KAMD,cAAA,GAAiB,0BAAA,GAC3B,yBAAA,GACA,0BAAA,GACA,0BAAA,GACA,QAAA,CAAS,IAAA,CAAK,OAAA;EAJU;;;;;;;;;;EAetB,GAAA,EAAK,MAAA;EAeO;;;EAVZ,SAAA,EAAW,gBAAA;EAnBb;;;EAwBE,oBAAA;EArBO;;;EA0BP,UAAA,EAAY,UAAA;AAAA"}
1
+ {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;KAkCK,YAAA,GAAe,IAAA,CAClB,YAAA;AAAA,UAce,gBAAA;EAfZ;;;EAmBH,GAAA;EAlBoB;AActB;;;;;EAYE,QAAA;AAAA;AAAA,UAGQ,WAAA;EAQJ;;;;;;EADJ,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAF/C;;;;;EAUA,eAAA;EAR+C;;;;;;;;AA6CjD;;EAzBE,GAAA;EAyBoB;;;;;;;;;EAdpB,aAAA;EAmBU;;;;;;EAXV,SAAA,GAAY,gBAAA;AAAA;;AAwBd;;KAlBY,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAKhC,YAAA,GAAe,IAAA,CACzB,cAAA;EAiBuB;;;EAXvB,GAAA;AAAA;;;;KAMU,UAAA,GAAa,WAAA,GACvB,YAAA,CAAa,YAAA;EAOH;;;EAHR,MAAA,GAAS,YAAA;AAAA;AAAA,KAGD,aAAA,GAAgB,IAAA,CAC1B,eAAA,mCAGA,UAAA;;;;KAKU,cAAA,GAAiB,0BAAA,GAC3B,yBAAA,GACA,0BAAA,GACA,0BAAA,GACA,QAAA,CAAS,IAAA,CAAK,OAAA;EATd;;;AAKF;;;;;;;EAeI,GAAA,EAAK,MAAA;EAXE;;;EAgBP,SAAA,EAAW,gBAAA;EAUC;;;EALZ,oBAAA;EAxBF;;;EA6BE,UAAA,EAAY,UAAA;AAAA"}
@@ -1,2 +1,128 @@
1
- const e=[`T`,`K`,`Pick`,`l+e#!e"!fRb!b"Pde""N#!w#y`],t=[`T`,`Partial`,`l+e#!e"!fRb!Pde"!gN#"w"y`],n=[`T`,`Required`,`l+e#!e"!fRb!Pde"!gN##w"y`],r=[`T`,`K`,()=>e,()=>a,`Omit`,`b!b"e!!e!!ge!"o$#o##w%y`],i=[`K`,`T`,`Record`,`l'e#"Rb!b"Pde"!N#!w#y`],a=[`T`,`U`,`Exclude`,`l6!Re$!RPe#!e$"qk#%QRb!b"Pde"!p)w#y`],o=[()=>e,`root`,`name`,`title`,`description`,`logLevel`,`mode`,`skipCache`,`autoInstall`,`plugins`,`tsconfig`,`tsconfigRaw`,`BuildOptions`,`!P.".#.$.%.&.'.(.).*.+.,Jo!#w-y`],s=[`app`,`A URL to the application documentation or reference.`,`commands`,`A URL to the application command specific documentation or reference.`,`ReferenceOptions`,`P&4!?"&4#8?$Mw%y`],c=[()=>t,()=>o,`CommandOption`,`Context`,`context`,`CommandBase`,`input`,``,!1,`globalOptions`,`A set of global command options to apply to each command.`,`isCaseSensitive`,!0,`Determines whether commands and option names are treated as case-sensitive.`,`bin`,`The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | "bin" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).`,!0,`autoAssignEnv`,`Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?`,()=>s,`reference`,`A URL to the application documentation or reference.`,`BaseOptions`,`Pn"o!"PP"w#FP"w$2%"w&2'"w#F/(.)J4*8?+)4,8>-?.P&&FJ4/8?0P.1&J428?3Pn4&J458?6MKw7y`],l=[()=>c,()=>t,`Options`,`Pn!!o""Kw#y`],u=[()=>e,`path`,`copy`,`storage`,`sourceMap`,!1,`dts`,`An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.`,`OutputConfig`,`P!P.".#.$.%Jo!#P.&4'8?(MKw)y`],d=[()=>c,()=>t,()=>e,`root`,()=>u,`output`,`Configuration for the output of the build process`,`UserConfig`,`Pn!!o""!.$o##Pn%4&8?'MKw(y`],f=[()=>n,()=>r,()=>l,`bin`,`reference`,()=>i,`bin`,`The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | "bin" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).`,()=>s,`reference`,`The URL(s) to the application documentation or reference.`,`appSpecificEnvPrefix`,`The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.`,()=>d,`userConfig`,`The user configuration for the Shell Shock process.`,`ResolvedConfig`,`P!!!!n#P.$.%Jo"#o!"P&&o&#4'?(n)4*?+&4,?-n.4/?0MKw1y`];export{l as __ΩOptions,u as __ΩOutputConfig,s as __ΩReferenceOptions,f as __ΩResolvedConfig,d as __ΩUserConfig};
1
+ //#region src/types/config.ts
2
+ const __ΩPick = [
3
+ "T",
4
+ "K",
5
+ "Pick",
6
+ "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
7
+ ];
8
+ const __ΩPartial = [
9
+ "T",
10
+ "Partial",
11
+ "l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
12
+ ];
13
+ const __ΩOmit = [
14
+ "T",
15
+ "K",
16
+ () => __ΩPick,
17
+ () => __ΩExclude,
18
+ "Omit",
19
+ "b!b\"e!!e!!ge!\"o$#o##w%y"
20
+ ];
21
+ const __ΩRequired = [
22
+ "T",
23
+ "Required",
24
+ "l+e#!e\"!fRb!Pde\"!gN##w\"y"
25
+ ];
26
+ const __ΩRecord = [
27
+ "K",
28
+ "T",
29
+ "Record",
30
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
31
+ ];
32
+ const __ΩExclude = [
33
+ "T",
34
+ "U",
35
+ "Exclude",
36
+ "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
37
+ ];
38
+ const __ΩReferenceOptions = [
39
+ "app",
40
+ "A URL to the application documentation or reference.",
41
+ "commands",
42
+ "A URL to the application command specific documentation or reference.",
43
+ "ReferenceOptions",
44
+ "P&4!?\"&4#8?$Mw%y"
45
+ ];
46
+ const __ΩBaseOptions = [
47
+ "CommandOption",
48
+ "Context",
49
+ "context",
50
+ "CommandBase",
51
+ "input",
52
+ "",
53
+ false,
54
+ "globalOptions",
55
+ "A set of global command options to apply to each command.",
56
+ "isCaseSensitive",
57
+ true,
58
+ "Determines whether commands and option names are treated as case-sensitive.",
59
+ "bin",
60
+ "The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).",
61
+ true,
62
+ "autoAssignEnv",
63
+ "Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?",
64
+ () => __ΩReferenceOptions,
65
+ "reference",
66
+ "A URL to the application documentation or reference.",
67
+ "BaseOptions",
68
+ "PP\"w!FP\"w\"2#\"w$2%\"w!F/&.'J4(8?))4*8>+?,P&&FJ4-8?.P./&J408?1Pn2&J438?4Mw5y"
69
+ ];
70
+ const __ΩOptions = [
71
+ () => __ΩBaseOptions,
72
+ () => __ΩPartial,
73
+ "Options",
74
+ "Pn!!o\"\"Kw#y"
75
+ ];
76
+ const __ΩOutputConfig = [
77
+ () => __ΩPick,
78
+ "path",
79
+ "copy",
80
+ "storage",
81
+ "sourceMap",
82
+ false,
83
+ "dts",
84
+ "An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.",
85
+ "OutputConfig",
86
+ "P!P.\".#.$.%Jo!#P.&4'8?(MKw)y"
87
+ ];
88
+ const __ΩUserConfig = [
89
+ () => __ΩBaseOptions,
90
+ () => __ΩOutputConfig,
91
+ "output",
92
+ "Configuration for the output of the build process",
93
+ "UserConfig",
94
+ "Pn!!Pn\"4#8?$MKw%y"
95
+ ];
96
+ const __ΩEngineOptions = [
97
+ () => __ΩOmit,
98
+ "root",
99
+ "name",
100
+ "framework",
101
+ () => __ΩUserConfig,
102
+ "EngineOptions",
103
+ "P!P.\".#.$Jo!#n%Kw&y"
104
+ ];
105
+ const __ΩResolvedConfig = [
106
+ () => __ΩRequired,
107
+ () => __ΩOmit,
108
+ () => __ΩOptions,
109
+ "bin",
110
+ "reference",
111
+ () => __ΩRecord,
112
+ "bin",
113
+ "The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).",
114
+ () => __ΩReferenceOptions,
115
+ "reference",
116
+ "The URL(s) to the application documentation or reference.",
117
+ "appSpecificEnvPrefix",
118
+ "The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.",
119
+ () => __ΩUserConfig,
120
+ "userConfig",
121
+ "The user configuration for the Shell Shock process.",
122
+ "ResolvedConfig",
123
+ "P!!!!n#P.$.%Jo\"#o!\"P&&o&#4'?(n)4*?+&4,?-n.4/?0MKw1y"
124
+ ];
125
+
126
+ //#endregion
127
+ export { __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig };
2
128
  //# sourceMappingURL=config.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.mjs","names":[],"sources":["../../src/types/config.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AlloyPluginResolvedConfig } from \"@powerlines/plugin-alloy/types/plugin\";\nimport type { AutoMDPluginResolvedConfig } from \"@powerlines/plugin-automd\";\nimport type {\n NodeJsPluginOptions,\n NodeJsPluginResolvedConfig,\n NodeJsPluginUserConfig\n} from \"@powerlines/plugin-nodejs/types/plugin\";\nimport type {\n TsdownPluginResolvedConfig,\n TsdownPluginUserConfig\n} from \"@powerlines/plugin-tsdown/types/plugin\";\nimport type { OutputConfig as PowerlinesOutputConfig } from \"powerlines\";\nimport type { CommandBase, CommandOption } from \"./command\";\nimport type { Context } from \"./context\";\n\ntype BuildOptions = Pick<\n TsdownPluginUserConfig,\n | \"root\"\n | \"name\"\n | \"title\"\n | \"description\"\n | \"logLevel\"\n | \"mode\"\n | \"skipCache\"\n | \"autoInstall\"\n | \"plugins\"\n | \"tsconfig\"\n | \"tsconfigRaw\"\n>;\n\nexport interface ReferenceOptions {\n /**\n * A URL to the application documentation or reference.\n */\n app: string;\n\n /**\n * A URL to the application command specific documentation or reference.\n *\n * @remarks\n * This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.\n */\n commands?: string;\n}\n\ntype BaseOptions = Partial<BuildOptions> & {\n /**\n * A set of global command options to apply to each command.\n *\n * @remarks\n * Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.\n */\n globalOptions?:\n | CommandOption[]\n | ((context: Context, input: CommandBase) => CommandOption[])\n | false;\n\n /**\n * Determines whether commands and option names are treated as case-sensitive.\n *\n * @defaultValue `false`\n */\n isCaseSensitive?: boolean;\n\n /**\n * The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).\n *\n * @remarks\n * If an array is provided, each binary will be linked to the same compiled output file. If not provided, the {@link Options.name | name} option will be used.\n *\n * @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin\n * @see https://yarnpkg.com/cli/bin\n * @see https://pnpm.io/package_json#bin\n */\n bin?: string | string[];\n\n /**\n * Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?\n *\n * @remarks\n * If set to a string, Shell Shock will use the provided string as an application specific environment variable prefix, convert the option name to {@link https://stringcase.org/cases/constant/ | constant case}, and prepend the provided `string` value to determine the corresponding environment variable name. For example, if an option is named `\"configPath\"` and the `autoAssignEnv` is `\"MY_APP_\"`, Shell Shock will look for an environment variable named `\"MY_APP_CONFIG_PATH\"` and assign its value to the option if it exists. If set to `true`, Shell Shock will use a default environment variable prefix derived from the {@link Options.name | application name}.\n *\n * @see https://medium.com/chingu/an-introduction-to-environment-variables-and-how-to-use-them-f602f66d15fa\n * @see https://stringcase.org/cases/constant/\n */\n autoAssignEnv?: true | string;\n\n /**\n * A URL to the application documentation or reference.\n *\n * @remarks\n * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.\n */\n reference?: ReferenceOptions | string;\n};\n\n/**\n * The plugin options for Shell Shock.\n */\nexport type Options = BaseOptions & Partial<NodeJsPluginOptions>;\n\n/**\n * The output configuration options for Shell Shock.\n */\nexport type OutputConfig = Pick<\n PowerlinesOutputConfig,\n \"path\" | \"copy\" | \"storage\" | \"sourceMap\"\n> & {\n /**\n * An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.\n */\n dts?: false;\n};\n\n/**\n * The user configuration options for Shell Shock.\n */\nexport type UserConfig = BaseOptions &\n Partial<NodeJsPluginUserConfig> &\n Pick<NodeJsPluginUserConfig, \"root\"> & {\n /**\n * Configuration for the output of the build process\n */\n output?: OutputConfig;\n };\n\n/**\n * The resolved configuration options for Shell Shock.\n */\nexport type ResolvedConfig = TsdownPluginResolvedConfig &\n AlloyPluginResolvedConfig &\n AutoMDPluginResolvedConfig &\n NodeJsPluginResolvedConfig &\n Required<Omit<Options, \"bin\" | \"reference\">> & {\n /**\n * The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).\n *\n * @remarks\n * If an array is provided, each binary will be linked to the same compiled output file. If not provided, the {@link Options.name | name} option will be used.\n *\n * @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin\n * @see https://yarnpkg.com/cli/bin\n * @see https://pnpm.io/package_json#bin\n */\n bin: Record<string, string>;\n\n /**\n * The URL(s) to the application documentation or reference.\n */\n reference: ReferenceOptions;\n\n /**\n * The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.\n */\n appSpecificEnvPrefix: string;\n\n /**\n * The user configuration for the Shell Shock process.\n */\n userConfig: UserConfig;\n };\n"],"mappings":"AAAA,MAAM,EAAU,CAAC,IAAK,IAAK,OAAQ,4BAA4B,8CAEzD,EAAc,CAAA,IAAM,WAAW,2BAAM,0DAErC,EAAS,CAAA,IAAS,IAAG,SAAY,wBAAqB,CACxD,EAAc,CAAA,IAAM,IAAA,UAAe,sCAA4B,CAC7D,EAAkB,KAAC,EAAa,OAAS,OAAA,QAAa,cAAO,WAAA,OAAA,YAAA,cAAA,UAAA,WAAA,cAAA,eAAA,kCAAA,CAC9D,EAAuB,CAAC,MAAE,uDAA+C,WAAA,wEAAA,mBAAA,mBAAA,CAE7E,EAAsB,KAAI,MAAqB,EAAC,gBAAA,UAAA,UAAA,cAAA,QAAA,GAAA,GAAA,gBAAA,4DAAA,kBAAA,GAAA,8EAAA,MAAA,uOAAA,GAAA,gBAAA,0JAAA,EAAA,YAAA,uDAAA,cAAA,mFAAA,CAChD,EAAkB,KAAO,MAAoB,EAAc,UAAO,cAAA,CAElE,EAAuB,KAAG,EAAQ,OAAa,OAAK,UAAA,YAAA,GAAA,MAAA,6GAAA,eAAA,+BAAA,CAE/C,EAAQ,KAAa,MAAS,MAAA,EAAA,WAAA,EAAA,SAAA,oDAAA,aAAA,6BAAA,CAE9B,EAAoB,KAAO,MAAmB,MAAe,EAAG,MAAA,gBAAA,EAAA,MAAA,2OAAA,EAAA,YAAA,4DAAA,uBAAA,mJAAA,EAAA,aAAA,sDAAA,iBAAA,sDAAA"}
1
+ {"version":3,"file":"config.mjs","names":[],"sources":["../../src/types/config.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AlloyPluginResolvedConfig } from \"@powerlines/plugin-alloy/types/plugin\";\nimport type { AutoMDPluginResolvedConfig } from \"@powerlines/plugin-automd\";\nimport type {\n NodeJsPluginOptions,\n NodeJsPluginResolvedConfig\n} from \"@powerlines/plugin-nodejs/types/plugin\";\nimport type { TsdownPluginResolvedConfig } from \"@powerlines/plugin-tsdown/types/plugin\";\nimport type { RequiredKeys } from \"@stryke/types/base\";\nimport type {\n EngineOptions as PowerlinesEngineOptions,\n OutputConfig as PowerlinesOutputConfig,\n UserConfig as PowerlinesUserConfig\n} from \"powerlines\";\nimport type { CommandBase, CommandOption } from \"./command\";\nimport type { Context } from \"./context\";\n\ntype BuildOptions = Pick<\n PowerlinesUserConfig,\n | \"root\"\n | \"name\"\n | \"title\"\n | \"description\"\n | \"logLevel\"\n | \"mode\"\n | \"skipCache\"\n | \"autoInstall\"\n | \"plugins\"\n | \"tsconfig\"\n | \"tsconfigRaw\"\n>;\n\nexport interface ReferenceOptions {\n /**\n * A URL to the application documentation or reference.\n */\n app: string;\n\n /**\n * A URL to the application command specific documentation or reference.\n *\n * @remarks\n * This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.\n */\n commands?: string;\n}\n\ninterface BaseOptions {\n /**\n * A set of global command options to apply to each command.\n *\n * @remarks\n * Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.\n */\n globalOptions?:\n | CommandOption[]\n | ((context: Context, input: CommandBase) => CommandOption[])\n | false;\n\n /**\n * Determines whether commands and option names are treated as case-sensitive.\n *\n * @defaultValue `false`\n */\n isCaseSensitive?: boolean;\n\n /**\n * The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).\n *\n * @remarks\n * If an array is provided, each binary will be linked to the same compiled output file. If not provided, the {@link Options.name | name} option will be used.\n *\n * @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin\n * @see https://yarnpkg.com/cli/bin\n * @see https://pnpm.io/package_json#bin\n */\n bin?: string | string[];\n\n /**\n * Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?\n *\n * @remarks\n * If set to a string, Shell Shock will use the provided string as an application specific environment variable prefix, convert the option name to {@link https://stringcase.org/cases/constant/ | constant case}, and prepend the provided `string` value to determine the corresponding environment variable name. For example, if an option is named `\"configPath\"` and the `autoAssignEnv` is `\"MY_APP_\"`, Shell Shock will look for an environment variable named `\"MY_APP_CONFIG_PATH\"` and assign its value to the option if it exists. If set to `true`, Shell Shock will use a default environment variable prefix derived from the {@link Options.name | application name}.\n *\n * @see https://medium.com/chingu/an-introduction-to-environment-variables-and-how-to-use-them-f602f66d15fa\n * @see https://stringcase.org/cases/constant/\n */\n autoAssignEnv?: true | string;\n\n /**\n * A URL to the application documentation or reference.\n *\n * @remarks\n * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{reference}/command/subcommand`.\n */\n reference?: ReferenceOptions | string;\n}\n\n/**\n * The plugin options for Shell Shock.\n */\nexport type Options = BaseOptions & Partial<NodeJsPluginOptions>;\n\n/**\n * The output configuration options for Shell Shock.\n */\nexport type OutputConfig = Pick<\n PowerlinesOutputConfig,\n \"path\" | \"copy\" | \"storage\" | \"sourceMap\"\n> & {\n /**\n * An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.\n */\n dts?: false;\n};\n\n/**\n * The user configuration options for Shell Shock.\n */\nexport type UserConfig = BaseOptions &\n RequiredKeys<BuildOptions, \"root\" | \"name\"> & {\n /**\n * Configuration for the output of the build process\n */\n output?: OutputConfig;\n };\n\nexport type EngineOptions = Omit<\n PowerlinesEngineOptions,\n \"root\" | \"name\" | \"framework\"\n> &\n UserConfig;\n\n/**\n * The resolved configuration options for Shell Shock.\n */\nexport type ResolvedConfig = TsdownPluginResolvedConfig &\n AlloyPluginResolvedConfig &\n AutoMDPluginResolvedConfig &\n NodeJsPluginResolvedConfig &\n Required<Omit<Options, \"bin\" | \"reference\">> & {\n /**\n * The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).\n *\n * @remarks\n * If an array is provided, each binary will be linked to the same compiled output file. If not provided, the {@link Options.name | name} option will be used.\n *\n * @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin\n * @see https://yarnpkg.com/cli/bin\n * @see https://pnpm.io/package_json#bin\n */\n bin: Record<string, string>;\n\n /**\n * The URL(s) to the application documentation or reference.\n */\n reference: ReferenceOptions;\n\n /**\n * The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.\n */\n appSpecificEnvPrefix: string;\n\n /**\n * The user configuration for the Shell Shock process.\n */\n userConfig: UserConfig;\n };\n"],"mappings":";AAAA,MAAM,UAAU;CAAC;CAAK;CAAK;CAAQ;CAA4B;;;;;;AAE/D,MAAM,UAAU;CAAC;CAAG;OAAM;OAAiB;CAAA;CAAA;CAAA;;;;;;AAE3C,MAAM,YAAS;CAAA;CAAS;CAAG;CAAY;CAAqB;AAC5D,MAAI,aAAc;CAAA;CAAM;CAAA;CAAe;CAA4B;AAEnE,MAAK,sBAAuB;CAAC;CAAE;CAA+C;CAAA;CAAA;CAAA;CAAA;AAE9E,MAAC,iBAAsB;CAAC;CAAW;CAAc;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;OAAA;CAAA;CAAA;CAAA;CAAA;CAAA;AACjD,MAAC,aAAkB;OAAO;OAAoB;CAAc;CAAO;CAAA;AAEnE,MAAC,kBAAuB;OAAG;CAAQ;CAAa;CAAK;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;CAAA;AAErD,MAAM,gBAAQ;OAAa;OAAS;CAAA;CAAA;CAAA;CAAA;CAAA;AAEpC,MAAM,mBAAmB;OAAO;CAAS;CAAQ;CAAQ;OAAa;CAAA;CAAA;CAAA;AAEtE,MAAM,oBAAQ;OAAA;OAAmC;OAAkB;CAAY;CAAO;OAAA;CAAA;CAAA;OAAA;CAAA;CAAA;CAAA;CAAA;OAAA;CAAA;CAAA;CAAA;CAAA;CAAA"}
@@ -1 +1,37 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=[`K`,`T`,`Record`,`l'e#"Rb!b"Pde"!N#!w#y`],t=[`ResolvedConfig`,`TResolvedConfig`,`commandsPath`,`The root path where commands are located.`,`CommandOption`,`globalOptions`,`The default command arguments to apply to all application commands.`,`CommandConfig`,`inputs`,`The list of commands discovered in the project.`,()=>e,`CommandTree`,`commands`,`The command-line application structure.`,`Context`,`"w!c"P!!!P&4#?$"w%F4&?'"w(F4)?*&"w,o+#4-?.MKw/y`],n=[`ResolvedConfig`,`TResolvedConfig`,`UnresolvedContext`,`"w!c"!w#y`];exports.__ΩContext=t,exports.__ΩUnresolvedContext=n;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ //#region src/types/context.ts
4
+ const __ΩRecord = [
5
+ "K",
6
+ "T",
7
+ "Record",
8
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
9
+ ];
10
+ const __ΩContext = [
11
+ "ResolvedConfig",
12
+ "TResolvedConfig",
13
+ "commandsPath",
14
+ "The root path where commands are located.",
15
+ "CommandOption",
16
+ "globalOptions",
17
+ "The default command arguments to apply to all application commands.",
18
+ "CommandConfig",
19
+ "inputs",
20
+ "The list of commands discovered in the project.",
21
+ () => __ΩRecord,
22
+ "CommandTree",
23
+ "commands",
24
+ "The command-line application structure.",
25
+ "Context",
26
+ "\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
27
+ ];
28
+ const __ΩUnresolvedContext = [
29
+ "ResolvedConfig",
30
+ "TResolvedConfig",
31
+ "UnresolvedContext",
32
+ "\"w!c\"!w#y"
33
+ ];
34
+
35
+ //#endregion
36
+ exports.__ΩContext = __ΩContext;
37
+ exports.__ΩUnresolvedContext = __ΩUnresolvedContext;
@@ -1,2 +1,35 @@
1
- const e=[`K`,`T`,`Record`,`l'e#"Rb!b"Pde"!N#!w#y`],t=[`ResolvedConfig`,`TResolvedConfig`,`commandsPath`,`The root path where commands are located.`,`CommandOption`,`globalOptions`,`The default command arguments to apply to all application commands.`,`CommandConfig`,`inputs`,`The list of commands discovered in the project.`,()=>e,`CommandTree`,`commands`,`The command-line application structure.`,`Context`,`"w!c"P!!!P&4#?$"w%F4&?'"w(F4)?*&"w,o+#4-?.MKw/y`],n=[`ResolvedConfig`,`TResolvedConfig`,`UnresolvedContext`,`"w!c"!w#y`];export{t as __ΩContext,n as __ΩUnresolvedContext};
1
+ //#region src/types/context.ts
2
+ const __ΩRecord = [
3
+ "K",
4
+ "T",
5
+ "Record",
6
+ "l'e#\"Rb!b\"Pde\"!N#!w#y"
7
+ ];
8
+ const __ΩContext = [
9
+ "ResolvedConfig",
10
+ "TResolvedConfig",
11
+ "commandsPath",
12
+ "The root path where commands are located.",
13
+ "CommandOption",
14
+ "globalOptions",
15
+ "The default command arguments to apply to all application commands.",
16
+ "CommandConfig",
17
+ "inputs",
18
+ "The list of commands discovered in the project.",
19
+ () => __ΩRecord,
20
+ "CommandTree",
21
+ "commands",
22
+ "The command-line application structure.",
23
+ "Context",
24
+ "\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
25
+ ];
26
+ const __ΩUnresolvedContext = [
27
+ "ResolvedConfig",
28
+ "TResolvedConfig",
29
+ "UnresolvedContext",
30
+ "\"w!c\"!w#y"
31
+ ];
32
+
33
+ //#endregion
34
+ export { __ΩContext, __ΩUnresolvedContext };
2
35
  //# sourceMappingURL=context.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.mjs","names":[],"sources":["../../src/types/context.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AlloyPluginContext } from \"@powerlines/plugin-alloy/types/plugin\";\nimport type { NodeJsPluginContext } from \"@powerlines/plugin-nodejs/types/plugin\";\nimport type { TsdownPluginContext } from \"@powerlines/plugin-tsdown/types/plugin\";\nimport type { UnresolvedContext as PowerlinesUnresolvedContext } from \"powerlines\";\nimport type { CommandConfig, CommandOption, CommandTree } from \"./command\";\nimport type { ResolvedConfig } from \"./config\";\n\nexport type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =\n TsdownPluginContext<TResolvedConfig> &\n AlloyPluginContext<TResolvedConfig> &\n NodeJsPluginContext<TResolvedConfig> & {\n /**\n * The root path where commands are located.\n */\n commandsPath: string;\n\n /**\n * The default command arguments to apply to all application commands.\n */\n globalOptions: CommandOption[];\n\n /**\n * The list of commands discovered in the project.\n */\n inputs: CommandConfig[];\n\n /**\n * The command-line application structure.\n */\n commands: Record<string, CommandTree>;\n };\n\nexport type UnresolvedContext<\n TResolvedConfig extends ResolvedConfig = ResolvedConfig\n> = PowerlinesUnresolvedContext<TResolvedConfig>;\n"],"mappings":"AAAA,MAAM,EAAY,CAAC,IAAK,IAAK,SAAU,wBAAyB"}
1
+ {"version":3,"file":"context.mjs","names":[],"sources":["../../src/types/context.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AlloyPluginContext } from \"@powerlines/plugin-alloy/types/plugin\";\nimport type { NodeJsPluginContext } from \"@powerlines/plugin-nodejs/types/plugin\";\nimport type { TsdownPluginContext } from \"@powerlines/plugin-tsdown/types/plugin\";\nimport type { UnresolvedContext as PowerlinesUnresolvedContext } from \"powerlines\";\nimport type { CommandConfig, CommandOption, CommandTree } from \"./command\";\nimport type { ResolvedConfig } from \"./config\";\n\nexport type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =\n TsdownPluginContext<TResolvedConfig> &\n AlloyPluginContext<TResolvedConfig> &\n NodeJsPluginContext<TResolvedConfig> & {\n /**\n * The root path where commands are located.\n */\n commandsPath: string;\n\n /**\n * The default command arguments to apply to all application commands.\n */\n globalOptions: CommandOption[];\n\n /**\n * The list of commands discovered in the project.\n */\n inputs: CommandConfig[];\n\n /**\n * The command-line application structure.\n */\n commands: Record<string, CommandTree>;\n };\n\nexport type UnresolvedContext<\n TResolvedConfig extends ResolvedConfig = ResolvedConfig\n> = PowerlinesUnresolvedContext<TResolvedConfig>;\n"],"mappings":";AAAA,MAAM,YAAY;CAAC;CAAK;CAAK;CAAU;CAAyB"}
@@ -1 +1,52 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=[`PATHEXT`,`The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.`,{hidden:!0,internal:!0,runtime:!0},`PATH`,`The system PATH variable, used to locate executable files.`,{hidden:!0,internal:!0,runtime:!0},`npm_config_user_agent`,`The npm user agent string, which can be used to detect if the environment is running within an npm script.`,{hidden:!0,internal:!0,runtime:!0},`npm_config_fund`,`The npm_config_fund environment variable, which can be used to control npm's funding behavior.`,{hidden:!0,internal:!0,runtime:!0},`npm_execpath`,`The npm execution path, which can be used to determine the location of the npm executable.`,{hidden:!0,internal:!0,runtime:!0},`COMSPEC`,`The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.`,{hidden:!0,internal:!0,runtime:!0},`ShellShockEnv`,`P!&4!8?"z#&4$8?%z&&4'8?(z)&4*8?+z,&4-8?.z/&408?1z2Mw3y`];exports.__ΩShellShockEnv=e;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+
3
+ //#region src/types/env.ts
4
+ const __ΩShellShockEnv = [
5
+ "PATHEXT",
6
+ "The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.",
7
+ {
8
+ hidden: true,
9
+ internal: true,
10
+ runtime: true
11
+ },
12
+ "PATH",
13
+ "The system PATH variable, used to locate executable files.",
14
+ {
15
+ hidden: true,
16
+ internal: true,
17
+ runtime: true
18
+ },
19
+ "npm_config_user_agent",
20
+ "The npm user agent string, which can be used to detect if the environment is running within an npm script.",
21
+ {
22
+ hidden: true,
23
+ internal: true,
24
+ runtime: true
25
+ },
26
+ "npm_config_fund",
27
+ "The npm_config_fund environment variable, which can be used to control npm's funding behavior.",
28
+ {
29
+ hidden: true,
30
+ internal: true,
31
+ runtime: true
32
+ },
33
+ "npm_execpath",
34
+ "The npm execution path, which can be used to determine the location of the npm executable.",
35
+ {
36
+ hidden: true,
37
+ internal: true,
38
+ runtime: true
39
+ },
40
+ "COMSPEC",
41
+ "The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.",
42
+ {
43
+ hidden: true,
44
+ internal: true,
45
+ runtime: true
46
+ },
47
+ "ShellShockEnv",
48
+ "P!&4!8?\"z#&4$8?%z&&4'8?(z)&4*8?+z,&4-8?.z/&408?1z2Mw3y"
49
+ ];
50
+
51
+ //#endregion
52
+ exports.__ΩShellShockEnv = __ΩShellShockEnv;
@@ -1,4 +1,4 @@
1
- import { EnvInterface } from "@powerlines/plugin-env/types/runtime";
1
+ import { EnvInterface } from "@powerlines/plugin-env/types/env";
2
2
 
3
3
  //#region src/types/env.d.ts
4
4
  interface ShellShockEnv extends EnvInterface {
@@ -1,4 +1,4 @@
1
- import { EnvInterface } from "@powerlines/plugin-env/types/runtime";
1
+ import { EnvInterface } from "@powerlines/plugin-env/types/env";
2
2
 
3
3
  //#region src/types/env.d.ts
4
4
  interface ShellShockEnv extends EnvInterface {
@@ -1,2 +1,51 @@
1
- const e=[`PATHEXT`,`The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.`,{hidden:!0,internal:!0,runtime:!0},`PATH`,`The system PATH variable, used to locate executable files.`,{hidden:!0,internal:!0,runtime:!0},`npm_config_user_agent`,`The npm user agent string, which can be used to detect if the environment is running within an npm script.`,{hidden:!0,internal:!0,runtime:!0},`npm_config_fund`,`The npm_config_fund environment variable, which can be used to control npm's funding behavior.`,{hidden:!0,internal:!0,runtime:!0},`npm_execpath`,`The npm execution path, which can be used to determine the location of the npm executable.`,{hidden:!0,internal:!0,runtime:!0},`COMSPEC`,`The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.`,{hidden:!0,internal:!0,runtime:!0},`ShellShockEnv`,`P!&4!8?"z#&4$8?%z&&4'8?(z)&4*8?+z,&4-8?.z/&408?1z2Mw3y`];export{e as __ΩShellShockEnv};
1
+ //#region src/types/env.ts
2
+ const __ΩShellShockEnv = [
3
+ "PATHEXT",
4
+ "The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.",
5
+ {
6
+ hidden: true,
7
+ internal: true,
8
+ runtime: true
9
+ },
10
+ "PATH",
11
+ "The system PATH variable, used to locate executable files.",
12
+ {
13
+ hidden: true,
14
+ internal: true,
15
+ runtime: true
16
+ },
17
+ "npm_config_user_agent",
18
+ "The npm user agent string, which can be used to detect if the environment is running within an npm script.",
19
+ {
20
+ hidden: true,
21
+ internal: true,
22
+ runtime: true
23
+ },
24
+ "npm_config_fund",
25
+ "The npm_config_fund environment variable, which can be used to control npm's funding behavior.",
26
+ {
27
+ hidden: true,
28
+ internal: true,
29
+ runtime: true
30
+ },
31
+ "npm_execpath",
32
+ "The npm execution path, which can be used to determine the location of the npm executable.",
33
+ {
34
+ hidden: true,
35
+ internal: true,
36
+ runtime: true
37
+ },
38
+ "COMSPEC",
39
+ "The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.",
40
+ {
41
+ hidden: true,
42
+ internal: true,
43
+ runtime: true
44
+ },
45
+ "ShellShockEnv",
46
+ "P!&4!8?\"z#&4$8?%z&&4'8?(z)&4*8?+z,&4-8?.z/&408?1z2Mw3y"
47
+ ];
48
+
49
+ //#endregion
50
+ export { __ΩShellShockEnv };
2
51
  //# sourceMappingURL=env.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"env.mjs","names":[],"sources":["../../src/types/env.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n// eslint-disable-next-line ts/consistent-type-imports\nimport { EnvInterface } from \"@powerlines/plugin-env/types/runtime\";\n\nexport interface ShellShockEnv extends EnvInterface {\n /**\n * The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.\n *\n * @remarks\n * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATHEXT?: string;\n\n /**\n * The system PATH variable, used to locate executable files.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATH?: string;\n\n /**\n * The npm user agent string, which can be used to detect if the environment is running within an npm script.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_user_agent?: string;\n\n /**\n * The npm_config_fund environment variable, which can be used to control npm's funding behavior.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_fund?: string;\n\n /**\n * The npm execution path, which can be used to determine the location of the npm executable.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_execpath?: string;\n\n /**\n * The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.\n *\n * @remarks\n * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.\n *\n * @hidden\n * @runtime\n * @internal\n */\n COMSPEC?: string;\n}\n"],"mappings":"iIAkBE,OAAQ,YACD,cAET,CAAA,OAAO,6DAA6C,CAClD,OAAE,GACF,SAAO,GACP,QAAC,GACF,CAAE,wBAAG,6GAAA,CACJ,OAAM,GACN,SAAC,GACD,QAAI,GACL,CAAE,kBAAG,iGAAA,CACJ,OAAI,GACJ,SAAE,GACF,QAAS,iHAET,OAAE,GACF,SAAO,GACP,QAAC,GACF,CAAE,UAAG,oGAAA,CACJ,OAAI,GACJ,SAAI,GACJ,QAAE,GACH,CAAC,gBAAa,yDAAA"}
1
+ {"version":3,"file":"env.mjs","names":[],"sources":["../../src/types/env.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n// eslint-disable-next-line ts/consistent-type-imports\nimport { EnvInterface } from \"@powerlines/plugin-env/types/env\";\n\nexport interface ShellShockEnv extends EnvInterface {\n /**\n * The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.\n *\n * @remarks\n * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATHEXT?: string;\n\n /**\n * The system PATH variable, used to locate executable files.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATH?: string;\n\n /**\n * The npm user agent string, which can be used to detect if the environment is running within an npm script.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_user_agent?: string;\n\n /**\n * The npm_config_fund environment variable, which can be used to control npm's funding behavior.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_fund?: string;\n\n /**\n * The npm execution path, which can be used to determine the location of the npm executable.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_execpath?: string;\n\n /**\n * The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.\n *\n * @remarks\n * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.\n *\n * @hidden\n * @runtime\n * @internal\n */\n COMSPEC?: string;\n}\n"],"mappings":";;;;;EAkBE,QAAQ;YACD;;EAET;CAAA;CAAO;CAA6C;EAClD,QAAE;EACF,UAAO;EACP,SAAC;EACF;CAAE;CAAG;CAAA;EACJ,QAAM;EACN,UAAC;EACD,SAAI;EACL;CAAE;CAAG;CAAA;EACJ,QAAI;EACJ,UAAE;EACF,SAAS;;;;;EAET,QAAE;EACF,UAAO;EACP,SAAC;EACF;CAAE;CAAG;CAAA;EACJ,QAAI;EACJ,UAAI;EACJ,SAAE;EACH;CAAC;CAAa;CAAA"}
@@ -1 +1,50 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./command.cjs`),t=require(`./config.cjs`),n=require(`./context.cjs`),r=require(`./options.cjs`);exports.CommandParameterKinds=e.CommandParameterKinds,exports.__ΩAsCommandParameterConfig=e.__ΩAsCommandParameterConfig,exports.__ΩBaseBooleanCommandParameter=e.__ΩBaseBooleanCommandParameter,exports.__ΩBaseCommandOptions=r.__ΩBaseCommandOptions,exports.__ΩBaseCommandParameter=e.__ΩBaseCommandParameter,exports.__ΩBaseNumberCommandParameter=e.__ΩBaseNumberCommandParameter,exports.__ΩBaseSingleCommandParameter=e.__ΩBaseSingleCommandParameter,exports.__ΩBaseStringCommandParameter=e.__ΩBaseStringCommandParameter,exports.__ΩBaseVariadicCommandParameter=e.__ΩBaseVariadicCommandParameter,exports.__ΩBooleanCommandOption=e.__ΩBooleanCommandOption,exports.__ΩBooleanCommandParameter=e.__ΩBooleanCommandParameter,exports.__ΩBooleanCommandParameterConfig=e.__ΩBooleanCommandParameterConfig,exports.__ΩCommandArgument=e.__ΩCommandArgument,exports.__ΩCommandArgumentConfig=e.__ΩCommandArgumentConfig,exports.__ΩCommandBase=e.__ΩCommandBase,exports.__ΩCommandConfig=e.__ΩCommandConfig,exports.__ΩCommandMetadata=e.__ΩCommandMetadata,exports.__ΩCommandModule=e.__ΩCommandModule,exports.__ΩCommandOption=e.__ΩCommandOption,exports.__ΩCommandOptionConfig=e.__ΩCommandOptionConfig,exports.__ΩCommandParameter=e.__ΩCommandParameter,exports.__ΩCommandParameterConfig=e.__ΩCommandParameterConfig,exports.__ΩCommandParameterKind=e.__ΩCommandParameterKind,exports.__ΩCommandParameterType=e.__ΩCommandParameterType,exports.__ΩCommandTree=e.__ΩCommandTree,exports.__ΩContext=n.__ΩContext,exports.__ΩNumberCommandParameter=e.__ΩNumberCommandParameter,exports.__ΩNumberCommandParameterConfig=e.__ΩNumberCommandParameterConfig,exports.__ΩOptions=t.__ΩOptions,exports.__ΩOutputConfig=t.__ΩOutputConfig,exports.__ΩReferenceOptions=t.__ΩReferenceOptions,exports.__ΩResolvedConfig=t.__ΩResolvedConfig,exports.__ΩSerializedCommandTree=e.__ΩSerializedCommandTree,exports.__ΩSingleBooleanCommandParameter=e.__ΩSingleBooleanCommandParameter,exports.__ΩSingleNumberCommandParameter=e.__ΩSingleNumberCommandParameter,exports.__ΩSingleStringCommandParameter=e.__ΩSingleStringCommandParameter,exports.__ΩStringCommandParameter=e.__ΩStringCommandParameter,exports.__ΩStringCommandParameterConfig=e.__ΩStringCommandParameterConfig,exports.__ΩUnresolvedContext=n.__ΩUnresolvedContext,exports.__ΩUserConfig=t.__ΩUserConfig,exports.__ΩVariadicBooleanCommandParameter=e.__ΩVariadicBooleanCommandParameter,exports.__ΩVariadicNumberCommandParameter=e.__ΩVariadicNumberCommandParameter,exports.__ΩVariadicStringCommandParameter=e.__ΩVariadicStringCommandParameter;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_types_command = require('./command.cjs');
3
+ const require_types_config = require('./config.cjs');
4
+ const require_types_context = require('./context.cjs');
5
+ const require_types_options = require('./options.cjs');
6
+
7
+ exports.CommandParameterKinds = require_types_command.CommandParameterKinds;
8
+ exports.__ΩAsCommandParameterConfig = require_types_command.__ΩAsCommandParameterConfig;
9
+ exports.__ΩBaseBooleanCommandParameter = require_types_command.__ΩBaseBooleanCommandParameter;
10
+ exports.__ΩBaseCommandOptions = require_types_options.__ΩBaseCommandOptions;
11
+ exports.__ΩBaseCommandParameter = require_types_command.__ΩBaseCommandParameter;
12
+ exports.__ΩBaseNumberCommandParameter = require_types_command.__ΩBaseNumberCommandParameter;
13
+ exports.__ΩBaseSingleCommandParameter = require_types_command.__ΩBaseSingleCommandParameter;
14
+ exports.__ΩBaseStringCommandParameter = require_types_command.__ΩBaseStringCommandParameter;
15
+ exports.__ΩBaseVariadicCommandParameter = require_types_command.__ΩBaseVariadicCommandParameter;
16
+ exports.__ΩBooleanCommandOption = require_types_command.__ΩBooleanCommandOption;
17
+ exports.__ΩBooleanCommandParameter = require_types_command.__ΩBooleanCommandParameter;
18
+ exports.__ΩBooleanCommandParameterConfig = require_types_command.__ΩBooleanCommandParameterConfig;
19
+ exports.__ΩCommandArgument = require_types_command.__ΩCommandArgument;
20
+ exports.__ΩCommandArgumentConfig = require_types_command.__ΩCommandArgumentConfig;
21
+ exports.__ΩCommandBase = require_types_command.__ΩCommandBase;
22
+ exports.__ΩCommandConfig = require_types_command.__ΩCommandConfig;
23
+ exports.__ΩCommandMetadata = require_types_command.__ΩCommandMetadata;
24
+ exports.__ΩCommandModule = require_types_command.__ΩCommandModule;
25
+ exports.__ΩCommandOption = require_types_command.__ΩCommandOption;
26
+ exports.__ΩCommandOptionConfig = require_types_command.__ΩCommandOptionConfig;
27
+ exports.__ΩCommandParameter = require_types_command.__ΩCommandParameter;
28
+ exports.__ΩCommandParameterConfig = require_types_command.__ΩCommandParameterConfig;
29
+ exports.__ΩCommandParameterKind = require_types_command.__ΩCommandParameterKind;
30
+ exports.__ΩCommandParameterType = require_types_command.__ΩCommandParameterType;
31
+ exports.__ΩCommandTree = require_types_command.__ΩCommandTree;
32
+ exports.__ΩContext = require_types_context.__ΩContext;
33
+ exports.__ΩEngineOptions = require_types_config.__ΩEngineOptions;
34
+ exports.__ΩNumberCommandParameter = require_types_command.__ΩNumberCommandParameter;
35
+ exports.__ΩNumberCommandParameterConfig = require_types_command.__ΩNumberCommandParameterConfig;
36
+ exports.__ΩOptions = require_types_config.__ΩOptions;
37
+ exports.__ΩOutputConfig = require_types_config.__ΩOutputConfig;
38
+ exports.__ΩReferenceOptions = require_types_config.__ΩReferenceOptions;
39
+ exports.__ΩResolvedConfig = require_types_config.__ΩResolvedConfig;
40
+ exports.__ΩSerializedCommandTree = require_types_command.__ΩSerializedCommandTree;
41
+ exports.__ΩSingleBooleanCommandParameter = require_types_command.__ΩSingleBooleanCommandParameter;
42
+ exports.__ΩSingleNumberCommandParameter = require_types_command.__ΩSingleNumberCommandParameter;
43
+ exports.__ΩSingleStringCommandParameter = require_types_command.__ΩSingleStringCommandParameter;
44
+ exports.__ΩStringCommandParameter = require_types_command.__ΩStringCommandParameter;
45
+ exports.__ΩStringCommandParameterConfig = require_types_command.__ΩStringCommandParameterConfig;
46
+ exports.__ΩUnresolvedContext = require_types_context.__ΩUnresolvedContext;
47
+ exports.__ΩUserConfig = require_types_config.__ΩUserConfig;
48
+ exports.__ΩVariadicBooleanCommandParameter = require_types_command.__ΩVariadicBooleanCommandParameter;
49
+ exports.__ΩVariadicNumberCommandParameter = require_types_command.__ΩVariadicNumberCommandParameter;
50
+ exports.__ΩVariadicStringCommandParameter = require_types_command.__ΩVariadicStringCommandParameter;
@@ -1,5 +1,5 @@
1
1
  import { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./command.cjs";
2
2
  import { Context, UnresolvedContext } from "./context.cjs";
3
- import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./config.cjs";
3
+ import { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./config.cjs";
4
4
  import { BaseCommandOptions } from "./options.cjs";
5
- export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandOptions, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, Context, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ReferenceOptions, ResolvedConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
5
+ export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandOptions, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, Context, EngineOptions, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ReferenceOptions, ResolvedConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };