@shell-shock/plugin-theme 0.4.23 → 0.4.24

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 (104) hide show
  1. package/dist/_virtual/_rolldown/runtime.mjs +1 -34
  2. package/dist/contexts/theme.cjs +0 -1
  3. package/dist/contexts/theme.d.cts.map +1 -1
  4. package/dist/contexts/theme.d.mts.map +1 -1
  5. package/dist/contexts/theme.mjs.map +1 -1
  6. package/dist/core/dist/config.d.cts +1 -0
  7. package/dist/core/dist/config.d.mts +9 -0
  8. package/dist/core/dist/config.d.mts.map +1 -0
  9. package/dist/core/dist/index.d.cts +1 -1
  10. package/dist/{packages/core → core}/dist/index.d.mts +2 -2
  11. package/dist/core/dist/index.d.mts.map +1 -0
  12. package/dist/core/dist/types/command.d.cts +60 -69
  13. package/dist/core/dist/types/command.d.cts.map +1 -1
  14. package/dist/core/dist/types/command.d.mts +8 -0
  15. package/dist/core/dist/types/command.d.mts.map +1 -0
  16. package/dist/core/dist/types/config.d.cts +7 -8
  17. package/dist/core/dist/types/config.d.cts.map +1 -1
  18. package/dist/{packages/core → core}/dist/types/config.d.mts +1 -1
  19. package/dist/core/dist/types/config.d.mts.map +1 -0
  20. package/dist/core/dist/types/context.d.cts.map +1 -1
  21. package/dist/{packages/core → core}/dist/types/context.d.mts +1 -1
  22. package/dist/core/dist/types/context.d.mts.map +1 -0
  23. package/dist/{packages/core → core}/dist/types/options.d.mts +1 -1
  24. package/dist/core/dist/types/options.d.mts.map +1 -0
  25. package/dist/helpers/ansi-utils.cjs +0 -1
  26. package/dist/helpers/ansi-utils.d.cts.map +1 -1
  27. package/dist/helpers/ansi-utils.d.mts.map +1 -1
  28. package/dist/helpers/ansi-utils.mjs.map +1 -1
  29. package/dist/helpers/border-styles.d.cts.map +1 -1
  30. package/dist/helpers/border-styles.d.mts.map +1 -1
  31. package/dist/helpers/border-styles.mjs.map +1 -1
  32. package/dist/helpers/constants.d.mts.map +1 -1
  33. package/dist/helpers/constants.mjs.map +1 -1
  34. package/dist/helpers/index.cjs +1 -1
  35. package/dist/helpers/merge.cjs +0 -1
  36. package/dist/helpers/merge.d.cts.map +1 -1
  37. package/dist/helpers/merge.d.mts.map +1 -1
  38. package/dist/helpers/merge.mjs.map +1 -1
  39. package/dist/helpers/spinners.d.cts.map +1 -1
  40. package/dist/helpers/spinners.d.mts.map +1 -1
  41. package/dist/helpers/spinners.mjs.map +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.d.cts +1 -1
  44. package/dist/index.d.mts +1 -1
  45. package/dist/index.d.mts.map +1 -1
  46. package/dist/index.mjs +1 -1
  47. package/dist/index.mjs.map +1 -1
  48. package/dist/style-dictionary/border-styles.cjs +0 -1
  49. package/dist/style-dictionary/border-styles.mjs.map +1 -1
  50. package/dist/style-dictionary/colors.cjs +0 -1
  51. package/dist/style-dictionary/colors.mjs.map +1 -1
  52. package/dist/style-dictionary/icons.cjs +0 -1
  53. package/dist/style-dictionary/icons.mjs.map +1 -1
  54. package/dist/style-dictionary/labels.cjs +0 -1
  55. package/dist/style-dictionary/labels.mjs.map +1 -1
  56. package/dist/style-dictionary/padding.cjs +0 -1
  57. package/dist/style-dictionary/padding.mjs.map +1 -1
  58. package/dist/style-dictionary/settings.cjs +0 -1
  59. package/dist/style-dictionary/settings.mjs.map +1 -1
  60. package/dist/style-dictionary/spinners.cjs +0 -1
  61. package/dist/style-dictionary/spinners.mjs.map +1 -1
  62. package/dist/themes/default.mjs.map +1 -1
  63. package/dist/types/plugin.d.mts +1 -1
  64. package/dist/types/plugin.d.mts.map +1 -1
  65. package/dist/types/theme.d.cts.map +1 -1
  66. package/dist/types/theme.d.mts.map +1 -1
  67. package/package.json +15 -19
  68. package/dist/core/dist/api.d.cts +0 -1
  69. package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts +0 -8
  70. package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts.map +0 -1
  71. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.d.mts +0 -11
  72. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.d.mts.map +0 -1
  73. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.d.mts +0 -10
  74. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.d.mts.map +0 -1
  75. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/external.d.mts +0 -14
  76. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/external.d.mts.map +0 -1
  77. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/enumUtil.d.mts +0 -8
  78. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/enumUtil.d.mts.map +0 -1
  79. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.d.mts +0 -8
  80. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.d.mts.map +0 -1
  81. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.d.mts +0 -10
  82. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.d.mts.map +0 -1
  83. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/partialUtil.d.mts +0 -9
  84. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/partialUtil.d.mts.map +0 -1
  85. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/typeAliases.d.mts +0 -8
  86. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/typeAliases.d.mts.map +0 -1
  87. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.d.mts +0 -8
  88. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.d.mts.map +0 -1
  89. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/index.d.mts +0 -9
  90. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/index.d.mts.map +0 -1
  91. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.d.mts +0 -9
  92. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.d.mts.map +0 -1
  93. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/standard-schema.d.mts +0 -8
  94. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/standard-schema.d.mts.map +0 -1
  95. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.d.mts +0 -16
  96. package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.d.mts.map +0 -1
  97. package/dist/packages/core/dist/api.d.mts +0 -9
  98. package/dist/packages/core/dist/api.d.mts.map +0 -1
  99. package/dist/packages/core/dist/index.d.mts.map +0 -1
  100. package/dist/packages/core/dist/types/command.d.mts +0 -10
  101. package/dist/packages/core/dist/types/command.d.mts.map +0 -1
  102. package/dist/packages/core/dist/types/config.d.mts.map +0 -1
  103. package/dist/packages/core/dist/types/context.d.mts.map +0 -1
  104. package/dist/packages/core/dist/types/options.d.mts.map +0 -1
@@ -1,41 +1,8 @@
1
1
  import { createRequire } from "node:module";
2
2
 
3
3
  //#region \0rolldown/runtime.js
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
9
4
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
- var __exportAll = (all, no_symbols) => {
11
- let target = {};
12
- for (var name in all) {
13
- __defProp(target, name, {
14
- get: all[name],
15
- enumerable: true
16
- });
17
- }
18
- if (!no_symbols) {
19
- __defProp(target, Symbol.toStringTag, { value: "Module" });
20
- }
21
- return target;
22
- };
23
- var __copyProps = (to, from, except, desc) => {
24
- if (from && typeof from === "object" || typeof from === "function") {
25
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
26
- key = keys[i];
27
- if (!__hasOwnProp.call(to, key) && key !== except) {
28
- __defProp(to, key, {
29
- get: ((k) => from[k]).bind(null, key),
30
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
31
- });
32
- }
33
- }
34
- }
35
- return to;
36
- };
37
- var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
38
5
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
39
6
 
40
7
  //#endregion
41
- export { __commonJSMin, __esmMin, __exportAll, __require, __toCommonJS };
8
+ export { __commonJSMin, __require };
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
2
  const require_helpers_ansi_utils = require('../helpers/ansi-utils.cjs');
4
3
  let _alloy_js_core = require("@alloy-js/core");
5
4
  let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.cts","names":[],"sources":["../../src/contexts/theme.ts"],"mappings":";;;;;;AA8BA;;;iBAAgB,QAAA,CAAA,GAAY,mBAAA;;AAY5B;;;;iBAAgB,SAAA,CAAA,GAAa,UAAA"}
1
+ {"version":3,"file":"theme.d.cts","names":[],"sources":["../../src/contexts/theme.ts"],"mappings":";;;;;;AA8BA;;;iBAAgB,QAAA,IAAY,mBAAmB;AAAA;AAY/C;;;;AAZ+C,iBAY/B,SAAA,IAAa,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.mts","names":[],"sources":["../../src/contexts/theme.ts"],"mappings":";;;;;;AA8BA;;;iBAAgB,QAAA,CAAA,GAAY,mBAAA;;AAY5B;;;;iBAAgB,SAAA,CAAA,GAAa,UAAA"}
1
+ {"version":3,"file":"theme.d.mts","names":[],"sources":["../../src/contexts/theme.ts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"theme.mjs","names":[],"sources":["../../src/contexts/theme.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 { computed } from \"@alloy-js/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport type { AnsiStyles } from \"../helpers/ansi-utils\";\nimport { getAnsiStyles } from \"../helpers/ansi-utils\";\nimport type { ThemePluginContext } from \"../types/plugin\";\nimport type { ThemeResolvedConfig } from \"../types/theme\";\n\n/**\n * Hook to access the current application's theme configuration.\n *\n * @returns The resolved theme configuration.\n */\nexport function useTheme(): ThemeResolvedConfig {\n const context = usePowerlines<ThemePluginContext>();\n const theme = computed(() => context.theme);\n\n return theme.value;\n}\n\n/**\n * Hook to access the current application's ANSI colors/styles.\n *\n * @returns The ANSI colors/styles.\n */\nexport function useColors(): AnsiStyles {\n const theme = useTheme();\n const colors = computed(() => getAnsiStyles(theme.colors));\n\n return colors.value;\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAW,WAAW;CACrB,MAAA,UAAA,eAAA;AAEC,QADc,eAAe,QAAA,MAC7B,CAAA;;;;;;;AAQF,SAAE,YAAA;CACA,MAAM,QAAG,UAAW;AAEpB,QADD,eAAA,cAAA,MAAA,OAAA,CACc,CAAC"}
1
+ {"version":3,"file":"theme.mjs","names":[],"sources":[],"mappings":""}
@@ -0,0 +1 @@
1
+ import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.cjs";
@@ -0,0 +1,9 @@
1
+ import { __commonJSMin } from "../../_virtual/_rolldown/runtime.mjs";
2
+ import { require_config_d as require_config_d$1 } from "./types/config.mjs";
3
+
4
+ //#region ../core/dist/config.d.cts
5
+
6
+ //#endregion
7
+ export default require_config_d();
8
+ export { require_config_d };
9
+ //# sourceMappingURL=config.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.mts","names":["UserConfig","config","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","UserConfigExport"],"sources":["../../../../core/dist/config.d.cts"],"mappings":""}
@@ -1,3 +1,3 @@
1
- import { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.cjs";
1
+ import { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandMetadata, CommandOption, CommandParameterType, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.cjs";
2
2
  import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.cjs";
3
3
  import { Context } from "./types/context.cjs";
@@ -1,9 +1,9 @@
1
- import { __commonJSMin } from "../../../_virtual/_rolldown/runtime.mjs";
1
+ import { __commonJSMin } from "../../_virtual/_rolldown/runtime.mjs";
2
2
  import { require_command_d } from "./types/command.mjs";
3
3
  import { require_config_d } from "./types/config.mjs";
4
4
  import { require_context_d } from "./types/context.mjs";
5
- import { require_api_d } from "./api.mjs";
6
5
  import { require_options_d } from "./types/options.mjs";
6
+ import { require_config_d as require_config_d$1 } from "./config.mjs";
7
7
 
8
8
  //#region ../core/dist/index.d.cts
9
9
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":["Partial","CommandMetadata","metadata","Record","CommandOptionConfig","options","CommandArgumentConfig","args"],"sources":["../../../../core/dist/index.d.cts"],"mappings":""}
@@ -1,11 +1,10 @@
1
- import { ResolvedEntryTypeDefinition } from "powerlines";
1
+ import { JsonSchemaStringFormat } from "@powerlines/schema";
2
+ import { RequiredKeys } from "@stryke/types/base";
3
+ import { ResolvedEntryFileReference } from "powerlines";
4
+
2
5
  //#region ../core/dist/types/command.d.cts
3
- declare const CommandParameterKinds: {
4
- readonly string: "string";
5
- readonly number: "number";
6
- readonly boolean: "boolean";
7
- };
8
- type CommandParameterKind = (typeof CommandParameterKinds)[keyof typeof CommandParameterKinds];
6
+ //#region src/types/command.d.ts
7
+ type CommandParameterType = "string" | "number" | "boolean";
9
8
  interface BaseCommandParameter {
10
9
  /**
11
10
  * The option name.
@@ -14,7 +13,7 @@ interface BaseCommandParameter {
14
13
  /**
15
14
  * The option kind.
16
15
  */
17
- kind: CommandParameterKind;
16
+ type: CommandParameterType;
18
17
  /**
19
18
  * The display title.
20
19
  */
@@ -36,9 +35,9 @@ interface BaseCommandParameter {
36
35
  */
37
36
  env: string | false;
38
37
  /**
39
- * Whether the option is optional.
38
+ * Whether the option is required.
40
39
  */
41
- optional: boolean;
40
+ required: boolean;
42
41
  /**
43
42
  * Whether the option accepts multiple values.
44
43
  */
@@ -48,7 +47,7 @@ interface BaseStringCommandParameter extends BaseCommandParameter {
48
47
  /**
49
48
  * The option kind.
50
49
  */
51
- kind: "string";
50
+ type: "string";
52
51
  /**
53
52
  * The default value.
54
53
  */
@@ -56,7 +55,7 @@ interface BaseStringCommandParameter extends BaseCommandParameter {
56
55
  /**
57
56
  * A standard string format to validate the option value against.
58
57
  */
59
- format?: "email" | "uri" | "uuid" | "ipv4" | "ipv6" | "date" | "time" | "date-time" | "duration";
58
+ format?: JsonSchemaStringFormat | string;
60
59
  /**
61
60
  * The allowed choices for the option value.
62
61
  */
@@ -87,7 +86,7 @@ interface BaseNumberCommandParameter extends BaseCommandParameter {
87
86
  /**
88
87
  * The option kind.
89
88
  */
90
- kind: "number";
89
+ type: "number";
91
90
  /**
92
91
  * The default value.
93
92
  */
@@ -122,7 +121,7 @@ interface BaseBooleanCommandParameter extends BaseCommandParameter {
122
121
  /**
123
122
  * The option kind.
124
123
  */
125
- kind: "boolean";
124
+ type: "boolean";
126
125
  /**
127
126
  * The default value.
128
127
  */
@@ -161,7 +160,48 @@ interface BooleanCommandOption extends SingleBooleanCommandParameter {
161
160
  }
162
161
  type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption | VariadicBooleanCommandParameter;
163
162
  type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
164
- interface CommandBase {
163
+ interface CommandMetadata {
164
+ /**
165
+ * The display name of the command.
166
+ *
167
+ * @remarks
168
+ * This value will be used in various displays of the user interface and documentation. If not provided, a formatted value of the command name will be used.
169
+ */
170
+ title?: string;
171
+ /**
172
+ * A brief description of what the command does.
173
+ *
174
+ * @remarks
175
+ * This value will be used in various displays of the user interface and documentation. If not provided, a default message may be shown.
176
+ */
177
+ description?: string;
178
+ /**
179
+ * One or more alternative names for the command.
180
+ */
181
+ alias?: string | string[];
182
+ /**
183
+ * Optional tags for the command.
184
+ *
185
+ * @remarks
186
+ * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
187
+ */
188
+ tags?: string[];
189
+ /**
190
+ * An optional icon to visually represent the command in user interfaces.
191
+ *
192
+ * @remarks
193
+ * This can be a string containing an emoji, a Unicode character, or any other symbol that helps to visually identify the command. If not provided, no icon will be displayed.
194
+ */
195
+ icon?: string;
196
+ /**
197
+ * A URL to the command documentation or reference.
198
+ *
199
+ * @remarks
200
+ * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the command. 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 `{docs}/command/subcommand`.
201
+ */
202
+ docs?: string;
203
+ }
204
+ interface CommandBase extends CommandMetadata {
165
205
  /**
166
206
  * The command id.
167
207
  */
@@ -178,33 +218,17 @@ interface CommandBase {
178
218
  * The path segments.
179
219
  */
180
220
  segments: string[];
181
- /**
182
- * The display title.
183
- */
184
- title?: string;
185
- /**
186
- * The command description.
187
- */
188
- description?: string;
189
221
  /**
190
222
  * Alternative command names.
191
223
  */
192
224
  alias?: string[];
193
- /**
194
- * The command icon.
195
- */
196
- icon?: string;
197
- /**
198
- * A URL to the command documentation or reference.
199
- */
200
- reference?: string;
201
225
  /**
202
226
  * Whether the command is virtual.
203
227
  *
204
228
  * @remarks
205
229
  * Virtual commands are considered forks in the command tree and are not directly executable. They are used to group related subcommands together without having an actual command handler or entry point.
206
230
  */
207
- isVirtual: boolean;
231
+ virtual: boolean;
208
232
  }
209
233
  interface CommandConfig extends CommandBase {
210
234
  /**
@@ -214,43 +238,10 @@ interface CommandConfig extends CommandBase {
214
238
  /**
215
239
  * The resolved entry definition.
216
240
  */
217
- entry: ResolvedEntryTypeDefinition;
218
- /**
219
- * Optional tags for the command.
220
- *
221
- * @remarks
222
- * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
223
- */
224
- tags?: string[];
225
- /**
226
- * A string representing the source of the command, which can be "file", a specific plugin name, or any other string value that describes the source that added the command.
227
- */
228
- source?: "file" | string;
241
+ entry: ResolvedEntryFileReference;
242
+ tags?: CommandMetadata["tags"];
229
243
  }
230
- type CommandTree = CommandConfig & {
231
- /**
232
- * The display title.
233
- */
234
- title: string;
235
- /**
236
- * The command description.
237
- */
238
- description: string;
239
- /**
240
- * Alternative command names.
241
- */
242
- alias: string[];
243
- /**
244
- * A set of tags for the command.
245
- *
246
- * @remarks
247
- * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
248
- */
249
- tags: string[];
250
- /**
251
- * A string representing the source of the command, which can be "file", a specific plugin name, or any other string value that describes the source that added the command.
252
- */
253
- source: "file" | string;
244
+ type CommandTree = RequiredKeys<CommandConfig, "title" | "description" | "alias" | "tags"> & {
254
245
  /**
255
246
  * The command options.
256
247
  */
@@ -269,5 +260,5 @@ type CommandTree = CommandConfig & {
269
260
  children: Record<string, CommandTree>;
270
261
  };
271
262
  //#endregion
272
- export { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
263
+ export { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandMetadata, CommandOption, CommandParameterType, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
273
264
  //# sourceMappingURL=command.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","AnyFunction","StandardJSONSchemaV1","JsonSchema7TupleType","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","default","env","optional","variadic","BaseSingleCommandParameter","BaseVariadicCommandParameter","BaseStringCommandParameter","format","choices","SingleStringCommandParameter","VariadicStringCommandParameter","StringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","NumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","BooleanCommandParameter","CommandParameter","AsCommandParameterConfig","T","Pick","Omit","Partial","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","CommandParameterConfig","BooleanCommandOption","isNegativeOf","skipAddingNegative","CommandOption","CommandOptionConfig","CommandArgument","CommandArgumentConfig","CommandBase","id","path","segments","icon","reference","isVirtual","CommandConfig","entry","tags","source","CommandTree","Record","options","args","parent","children","SerializedCommandTree","CommandMetadata","CommandModule","AnyZodObject","AnyZodTuple","metadata"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":"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"}
1
+ {"version":3,"file":"command.d.cts","names":["name","type","CommandParameterType","title","description","alias","default","env","required","variadic","BaseCommandParameter","format","JsonSchemaStringFormat","choices","BaseStringCommandParameter","SingleStringCommandParameter","VariadicStringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","StringCommandParameter","NumberCommandParameter","BooleanCommandParameter","T","Pick","Partial","Omit","AsCommandParameterConfig","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","isNegativeOf","skipAddingNegative","BooleanCommandOption","CommandOption","CommandArgument","tags","icon","docs","CommandMetadata","id","path","segments","virtual","CommandBase","entry","ResolvedEntryFileReference","RequiredKeys","CommandConfig","options","Record","args","parent","CommandTree","children","SerializedCommandTree","metadata","CommandOptionConfig","SchemaInput","CommandArgumentConfig","AnyFunction"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":";;;;;;KAKK,oBAAA;AAAA,UACK,oBAAA;;;AADe;EAKvBA,IAAAA;EAJ4B;;;EAQ5BC,IAAAA,EAAM,oBAAoB;EAA1BA;;;EAIAE,KAAAA;EAQAE;;;EAJAD,WAAAA;EAoBAK;;AAAQ;EAhBRJ,KAAAA;EAsCkC;;;EAlClCC,OAAAA;EAsCAL;;;EAlCAM,GAAAA;EA8CAM;;AAAO;EA1CPL,QAAAA;EA4CoC;;;EAxCpCC,QAAAA;AAAAA;AAAAA,UAsBQ,0BAAA,SAAmC,oBAAoB;EAuCpBC;;;EAnC3CT,IAAAA;EA+CO;AAAA;AAAA;EA3CPK,OAAAA;;;;EAIAK,MAAAA,GAAS,sBAAA;EAiDTF;;AAAQ;EA7CRI,OAAAA;AAAAA;AAAAA,UAEQ,4BAAA,SAAqC,0BAA0B;EA6CE;;;EAzCzEP,OAAAA;EAiDQ;AAAA;AAAA;EA7CRG,QAAAA;AAAAA;AAAAA,UAEQ,8BAAA,SAAuC,0BAA0B;EA6CgB;AAAA;;EAzCzFH,OAAAA;EA0CgE;;;EAtChEG,QAAAA;AAAAA;AAAAA,KAEG,sBAAA,GAAyB,4BAAA,GAA+B,8BAA8B;AAAA,UACjF,0BAAA,SAAmC,oBAAoB;EA6C1B;;;EAzCrCR,IAAAA;EA6CAK;;;EAzCAA,OAAAA;EA6CQ;;;EAzCRO,OAAAA;AAAAA;AAAAA,UAEQ,4BAAA,SAAqC,0BAA0B;EAiDvEJ;;AAAQ;EA7CRH,OAAAA;EA+C0B;;;EA3C1BG,QAAAA;AAAAA;AAAAA,UAEQ,8BAAA,SAAuC,0BAA0B;;;;EAIzEH,OAAAA;EAsDA6B;;AAAkB;EAlDlB1B,QAAAA;AAAAA;AAAAA,KAEG,sBAAA,GAAyB,4BAAA,GAA+B,8BAA8B;AAAA,UACjF,2BAAA,SAAoC,oBAAoB;EAiDpB;;;EA7C5CR,IAAAA;EA6C2H;;;EAzC3HK,OAAAA;AAAAA;AAAAA,UAEQ,6BAAA,SAAsC,2BAA2B;EAuCkD;AAC5D;;EApC/DA,OAAAA;EAqCqB;;;EAjCrBG,QAAAA;AAAAA;AAAAA,UAEQ,+BAAA,SAAwC,2BAA2B;EA+B7Be;;;EA3B9ClB,OAAAA;EA4BmE;;;EAxBnEG,QAAAA;AAAAA;AAAAA,KAEG,uBAAA,GAA0B,6BAAA,GAAgC,+BAA+B;AAAA,UASpF,oBAAA,SAA6B,6BAA6B;EAuDvB;;;EAnD3CyB,YAAAA;EA+DAU;;;EA3DAT,kBAAAA;AAAAA;AAAAA,KAEG,aAAA,GAAgB,sBAAA,GAAyB,sBAAA,GAAyB,oBAAA,GAAuB,+BAAA;AAAA,KAEzF,eAAA,GAAkB,sBAAA,GAAyB,sBAAA,GAAyB,uBAAA;AAAA,UAE/D,eAAA;EA+ED;;;;;;EAxEPhC,KAAAA;EAuEO8C;;;;AACe;AAAA;EAjEtB7C,WAAAA;;;;EAIAC,KAAAA;EAmES;;;;;;EA5DTkC,IAAAA;EAwDiBW;;;;;;EAjDjBV,IAAAA;EA6DAe;;;;;;EAtDAd,IAAAA;AAAAA;AAAAA,UAEQ,WAAA,SAAoB,eAAe;;;;EAI3CE,EAAAA;;;;EAIA3C,IAAAA;;;;EAIA4C,IAAAA;;;;EAIAC,QAAAA;;;;EAIAxC,KAAAA;;;;;;;EAOAyC,OAAAA;AAAAA;AAAAA,UAEQ,aAAA,SAAsB,WAAA;;;;EAI9BH,EAAAA;;;;EAIAK,KAAAA,EAAO,0BAAA;EACPT,IAAAA,GAAO,eAAA;AAAA;AAAA,KAEJ,WAAA,GAAc,YAAA,CAAa,aAAA;;;;EAI9Ba,OAAAA,EAAS,MAAA,SAAe,aAAA;;;;EAIxBE,IAAAA,EAAM,eAAA;;;;EAINC,MAAAA,SAAe,WAAA;;;;EAIfE,QAAAA,EAAU,MAAA,SAAe,WAAA;AAAA"}
@@ -0,0 +1,8 @@
1
+ import { __commonJSMin, __require } from "../../../_virtual/_rolldown/runtime.mjs";
2
+
3
+ //#region ../core/dist/types/command.d.cts
4
+
5
+ //#endregion
6
+ export default require_command_d();
7
+ export { require_command_d };
8
+ //# sourceMappingURL=command.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.mts","names":["name","type","CommandParameterType","title","description","alias","default","env","required","variadic","BaseCommandParameter","format","JsonSchemaStringFormat","choices","BaseStringCommandParameter","SingleStringCommandParameter","VariadicStringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","StringCommandParameter","NumberCommandParameter","BooleanCommandParameter","T","Pick","Partial","Omit","AsCommandParameterConfig","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","isNegativeOf","skipAddingNegative","BooleanCommandOption","CommandOption","CommandArgument","tags","icon","docs","CommandMetadata","id","path","segments","virtual","CommandBase","entry","ResolvedEntryFileReference","RequiredKeys","CommandConfig","options","Record","args","parent","CommandTree","children","SerializedCommandTree","metadata","CommandOptionConfig","SchemaInput","CommandArgumentConfig","AnyFunction"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":""}
@@ -1,15 +1,14 @@
1
1
  import { CommandBase, CommandOption } from "./command.cjs";
2
2
  import { Context } from "./context.cjs";
3
- import { OutputConfig, UserConfig } from "powerlines";
4
3
  import { RequiredKeys } from "@stryke/types/base";
4
+ import { OutputConfig, UserConfig } from "powerlines";
5
5
  import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
6
6
  import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
7
7
  import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
8
8
  import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
9
-
10
9
  //#region ../core/dist/types/config.d.cts
11
10
  //#region src/types/config.d.ts
12
- type BuildOptions = Pick<UserConfig, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
11
+ type BuildOptions = Pick<UserConfig, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
13
12
  interface ReferenceOptions {
14
13
  /**
15
14
  * A URL to the application documentation or reference.
@@ -19,7 +18,7 @@ interface ReferenceOptions {
19
18
  * A URL to the application command specific documentation or reference.
20
19
  *
21
20
  * @remarks
22
- * 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`.
21
+ * 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 `{docs}/command/subcommand`.
23
22
  */
24
23
  commands?: string;
25
24
  }
@@ -30,7 +29,7 @@ interface BaseOptions {
30
29
  * @remarks
31
30
  * 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.
32
31
  */
33
- globalOptions?: CommandOption[] | ((context: Context, input: CommandBase) => CommandOption[]) | false;
32
+ globalOptions?: CommandOption[] | ((context: Context<any>, input: CommandBase) => CommandOption[]) | false;
34
33
  /**
35
34
  * Determines whether commands and option names are treated as case-sensitive.
36
35
  *
@@ -62,9 +61,9 @@ interface BaseOptions {
62
61
  * A URL to the application documentation or reference.
63
62
  *
64
63
  * @remarks
65
- * 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
+ * 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 `{docs}/command/subcommand`.
66
65
  */
67
- reference?: ReferenceOptions | string;
66
+ docs?: ReferenceOptions | string;
68
67
  }
69
68
  /**
70
69
  * The plugin options for Shell Shock.
@@ -82,7 +81,7 @@ type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage" | "sourceMa
82
81
  /**
83
82
  * The user configuration options for Shell Shock.
84
83
  */
85
- type UserConfig$1 = BaseOptions & RequiredKeys<BuildOptions, "root" | "name"> & {
84
+ type UserConfig$1 = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
86
85
  /**
87
86
  * Configuration for the output of the build process
88
87
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","EngineOptions","EngineOptions$1","OutputConfig","OutputConfig$1","UserConfig","UserConfig$1","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","TsdownPluginResolvedConfig","RequiredKeys","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","Partial","dts","output","Omit","ResolvedConfig","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;;KAUKe,YAAAA,GAAeC,IAAAA,CAAKR,UAAAA;AAAAA,UACfS,gBAAAA;;;;EAIRC,GAAAA;EAJwB;;;;AAWhB;;EAARC,QAAAA;AAAAA;AAAAA,UAEQC,WAAAA;EAOqDpB;;;;;;EAA7DqB,aAAAA,GAAgBpB,aAAAA,OAAoBqB,OAAAA,EAASpB,OAAAA,EAASqB,KAAAA,EAAOvB,WAAAA,KAAgBC,aAAAA;EAAhCC;;;;;EAM7CsB,eAAAA;EAWAC;;;;;;AAiB4B;;;;EAjB5BA,GAAAA;EAsB2BI;;;;;;;;AAA2B;EAZtDH,aAAAA;;;;;;;EAOAC,SAAAA,GAAYV,gBAAAA;AAAAA;;;;KAKTW,OAAAA,GAAUR,WAAAA,GAAcS,OAAAA,CAAQlB,mBAAAA;;;;KAIhCN,cAAAA,GAAeW,IAAAA,CAAKV,YAAAA;EASPc;;;EALhBU,GAAAA;AAAAA;;;AAWoF;KANjFvB,YAAAA,GAAaa,WAAAA,GAAcN,YAAAA,CAAaC,YAAAA;;;;EAI3CgB,MAAAA,GAAS1B,cAAAA;AAAAA;;;;KAMN4B,cAAAA,GAAiBpB,0BAAAA,GAA6BJ,yBAAAA,GAA4BC,0BAAAA,GAA6BE,0BAAAA,GAA6BsB,QAAAA,CAASF,IAAAA,CAAKJ,OAAAA;EAuBzIrB;;;;;;;;;;EAZZkB,GAAAA,EAAKU,MAAAA;EAAAA;;;EAILR,SAAAA,EAAWV,gBAAAA;EAQXoB;;;EAJAD,oBAAAA;;;;EAIAC,UAAAA,EAAY9B,YAAAA;AAAAA"}
1
+ {"version":3,"file":"config.d.cts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","ReferenceOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","reference","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;KAWK,YAAA,GAAe,IAAI,CAAC,UAAA;AAAA,UACf,gBAAA;;;AAD2B;EAKnCE,GAAAA;EAJwB;;;AAWhB;AAAA;;EAARC,QAAQ;AAAA;AAAA,UAEA,WAAA;EAO0D;;;;;;EAAlEC,aAAAA,GAAgB,aAAA,OAAoBG,OAAAA,EAAS,OAAA,OAAcE,KAAAA,EAAO,WAAA,KAAgB,aAAA;EAArCH;;;;;EAM7CI,eAAAA;EAWAC;;;;;AAiBuB;AAAA;;;;EAjBvBA,GAAAA;EAsB2B;;;;;;;AAA2B;AAAA;EAZtDC,aAAAA;;;;;;;EAOAC,IAAAA,GAAO,gBAAA;AAAA;;;;KAKJ,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAIhC,cAAA,GAAe,IAAI,CAAC,YAAA;EASPE;;;EALhBI,GAAAA;AAAAA;;AASqB;AAMkB;KAVpC,YAAA,GAAa,WAAA,GAAc,YAAA,CAAa,YAAA;;;;EAI3CG,MAAAA,GAAS,cAAA;AAAA;;;;KAUN,cAAA,GAAiB,0BAAA,GAA6B,yBAAA,GAA4B,0BAAA,GAA6B,0BAAA,GAA6B,QAAA,CAAS,IAAA,CAAK,OAAA;EAApGY;;;;;;;;;;EAWjDvB,GAAAA,EAAK,MAAA;EAYL+B;;;EARAF,SAAAA,EAAW,gBAAA;;;;EAIXC,oBAAAA;;;;EAIAC,UAAAA,EAAY,YAAA;AAAA"}
@@ -1,4 +1,4 @@
1
- import { __commonJSMin, __require } from "../../../../_virtual/_rolldown/runtime.mjs";
1
+ import { __commonJSMin, __require } from "../../../_virtual/_rolldown/runtime.mjs";
2
2
  import { require_command_d } from "./command.mjs";
3
3
  import { require_context_d } from "./context.mjs";
4
4
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.mts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","ReferenceOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","reference","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.cts","names":["CommandConfig","CommandOption","CommandTree","ResolvedConfig","UnresolvedContext","UnresolvedContext$1","AlloyPluginContext","NodeJsPluginContext","TsdownPluginContext","Context","TResolvedConfig","Record","commandsPath","globalOptions","inputs","commands"],"sources":["../../../../../core/dist/types/context.d.cts"],"mappings":";;;;;;;;KAQKS,OAAAA,yBAAgCN,cAAAA,GAAiBA,cAAAA,IAAkBK,mBAAAA,CAAoBE,eAAAA,IAAmBJ,kBAAAA,CAAmBI,eAAAA,IAAmBH,mBAAAA,CAAoBG,eAAAA;EAA7J;;;EAIVE,YAAAA;EAJ0FF;;;EAQ1FG,aAAAA,EAAeZ,aAAAA;EARwJS;;;EAYvKI,MAAAA,EAAQd,aAAAA;EAIiBE;;;EAAzBa,QAAAA,EAAUJ,MAAAA,SAAeT,WAAAA;AAAAA"}
1
+ {"version":3,"file":"context.d.cts","names":["TResolvedConfig","ResolvedConfig","TsdownPluginContext","AlloyPluginContext","NodeJsPluginContext","commandsPath","globalOptions","CommandOption","inputs","CommandConfig","commands","Record","CommandTree","ExecutionContext$1","UnresolvedContext$1"],"sources":["../../../../../core/dist/types/context.d.cts"],"mappings":";;;;;;;;KAQK,OAAA,yBAAgC,cAAA,GAAiB,cAAA,IAAkB,mBAAA,CAAoB,eAAA,IAAmB,kBAAA,CAAmB,eAAA,IAAmB,mBAAA,CAAoB,eAAA;EAA7J;;;EAIVK,YAAAA;EAJ0F;;;EAQ1FC,aAAAA,EAAe,aAAA;EARwJ;;;EAYvKE,MAAAA,EAAQ,aAAA;EAIiB;;;EAAzBE,QAAAA,EAAU,MAAA,SAAe,WAAA;AAAA"}
@@ -1,4 +1,4 @@
1
- import { __commonJSMin, __require } from "../../../../_virtual/_rolldown/runtime.mjs";
1
+ import { __commonJSMin, __require } from "../../../_virtual/_rolldown/runtime.mjs";
2
2
  import { require_command_d } from "./command.mjs";
3
3
  import { require_config_d } from "./config.mjs";
4
4
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.mts","names":["TResolvedConfig","ResolvedConfig","TsdownPluginContext","AlloyPluginContext","NodeJsPluginContext","commandsPath","globalOptions","CommandOption","inputs","CommandConfig","commands","Record","CommandTree","ExecutionContext$1","UnresolvedContext$1"],"sources":["../../../../../core/dist/types/context.d.cts"],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { __commonJSMin } from "../../../../_virtual/_rolldown/runtime.mjs";
1
+ import { __commonJSMin } from "../../../_virtual/_rolldown/runtime.mjs";
2
2
 
3
3
  //#region ../core/dist/types/options.d.cts
4
4
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.mts","names":["help","version"],"sources":["../../../../../core/dist/types/options.d.cts"],"mappings":""}
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
2
  let _stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
4
3
  let _stryke_string_format_upper_case_first = require("@stryke/string-format/upper-case-first");
5
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"ansi-utils.d.cts","names":[],"sources":["../../src/helpers/ansi-utils.ts"],"mappings":";;;cAwBa,SAAA;;;;;;;;;;;cAYA,YAAA;AAAA,cAEA,MAAA;;;;;;;;;;;;;;;;;;;;cAuBA,SAAA;AAAA,cAEA,QAAA;;;;;;;;;;;;;;;;;;;;cAuBA,WAAA;AAAA,UAEI,gBAAA;EACf,IAAA;EACA,KAAA;AAAA;AAAA,UAGe,iBAAA,SAA0B,gBAAA;EACzC,UAAA,EAAY,gBAAA;AAAA;AAAA,KAwBF,UAAA,GAAa,MAAA,+DAGK,SAAA,GAAY,gBAAA;AAAA,KAI9B,UAAA,GAAa,MAAA,4DAGE,MAAA,GAAS,iBAAA;AAAA,KAI/B,qBAAA,MAA2B,CAAA,gCAEd,CAAA,GAAI,qBAAA,CAAsB,CAAA,CAAE,CAAA,OAE1C,iBAAA;AAAA,KAEQ,eAAA,GAAkB,MAAA;EAE1B,KAAA,EAAO,qBAAA,CAAsB,yBAAA;AAAA;AAAA,KAGrB,UAAA,GAAa,UAAA,GAAa,UAAA,GAAa,eAAA;;AAzDnD;;;;;iBAggDgB,aAAA,CAAc,KAAA,EAAO,yBAAA,GAA4B,UAAA"}
1
+ {"version":3,"file":"ansi-utils.d.cts","names":[],"sources":["../../src/helpers/ansi-utils.ts"],"mappings":";;;cAwBa,SAAA;;;;;;;;;;;cAYA,YAAA;AAAA,cAEA,MAAA;;;;;;;;;;;;;;;;;;;;cAuBA,SAAA;AAAA,cAEA,QAAA;;;;;;;;;;;;;;;;;;;;cAuBA,WAAA;AAAA,UAEI,gBAAA;EACf,IAAA;EACA,KAAK;AAAA;AAAA,UAGU,iBAAA,SAA0B,gBAAgB;EACzD,UAAA,EAAY,gBAAA;AAAA;AAAA,KAwBF,UAAA,GAAa,MAAA,+DAGK,SAAA,GAAY,gBAAA;AAAA,KAI9B,UAAA,GAAa,MAAA,4DAGE,MAAA,GAAS,iBAAA;AAAA,KAI/B,qBAAA,MAA2B,CAAA,gCAEd,CAAA,GAAI,qBAAA,CAAsB,CAAA,CAAE,CAAA,OAE1C,iBAAA;AAAA,KAEQ,eAAA,GAAkB,MAAA;EAE1B,KAAA,EAAO,qBAAA,CAAsB,yBAAA;AAAA;AAAA,KAGrB,UAAA,GAAa,UAAA,GAAa,UAAA,GAAa,eAAA;;AAzDnD;;;;AAAgD;iBAggDhC,aAAA,CAAc,KAAA,EAAO,yBAAA,GAA4B,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"ansi-utils.d.mts","names":[],"sources":["../../src/helpers/ansi-utils.ts"],"mappings":";;;cAwBa,SAAA;;;;;;;;;;;cAYA,YAAA;AAAA,cAEA,MAAA;;;;;;;;;;;;;;;;;;;;cAuBA,SAAA;AAAA,cAEA,QAAA;;;;;;;;;;;;;;;;;;;;cAuBA,WAAA;AAAA,UAEI,gBAAA;EACf,IAAA;EACA,KAAA;AAAA;AAAA,UAGe,iBAAA,SAA0B,gBAAA;EACzC,UAAA,EAAY,gBAAA;AAAA;AAAA,KAwBF,UAAA,GAAa,MAAA,+DAGK,SAAA,GAAY,gBAAA;AAAA,KAI9B,UAAA,GAAa,MAAA,4DAGE,MAAA,GAAS,iBAAA;AAAA,KAI/B,qBAAA,MAA2B,CAAA,gCAEd,CAAA,GAAI,qBAAA,CAAsB,CAAA,CAAE,CAAA,OAE1C,iBAAA;AAAA,KAEQ,eAAA,GAAkB,MAAA;EAE1B,KAAA,EAAO,qBAAA,CAAsB,yBAAA;AAAA;AAAA,KAGrB,UAAA,GAAa,UAAA,GAAa,UAAA,GAAa,eAAA;;AAzDnD;;;;;iBAggDgB,aAAA,CAAc,KAAA,EAAO,yBAAA,GAA4B,UAAA"}
1
+ {"version":3,"file":"ansi-utils.d.mts","names":[],"sources":["../../src/helpers/ansi-utils.ts"],"mappings":""}