@shell-shock/core 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/components/docs.cjs +4 -4
  2. package/dist/components/docs.cjs.map +1 -1
  3. package/dist/components/docs.d.cts +5 -5
  4. package/dist/components/docs.d.cts.map +1 -1
  5. package/dist/components/docs.d.mts +5 -5
  6. package/dist/components/helpers.d.cts +6 -6
  7. package/dist/components/helpers.d.mts +6 -6
  8. package/dist/components/helpers.d.mts.map +1 -1
  9. package/dist/components/options-parser-logic.cjs +31 -31
  10. package/dist/components/options-parser-logic.cjs.map +1 -1
  11. package/dist/components/options-parser-logic.d.cts +9 -9
  12. package/dist/components/options-parser-logic.d.cts.map +1 -1
  13. package/dist/components/options-parser-logic.d.mts +9 -9
  14. package/dist/components/options-parser-logic.d.mts.map +1 -1
  15. package/dist/components/options-parser-logic.mjs +26 -26
  16. package/dist/components/options-parser-logic.mjs.map +1 -1
  17. package/dist/components/usage.cjs +5 -5
  18. package/dist/components/usage.cjs.map +1 -1
  19. package/dist/components/usage.d.cts +2 -2
  20. package/dist/components/usage.d.cts.map +1 -1
  21. package/dist/components/usage.d.mts +2 -2
  22. package/dist/components/usage.mjs +4 -4
  23. package/dist/components/usage.mjs.map +1 -1
  24. package/dist/components/utils-builtin.cjs +2 -2
  25. package/dist/components/utils-builtin.cjs.map +1 -1
  26. package/dist/components/utils-builtin.mjs +5 -5
  27. package/dist/components/utils-builtin.mjs.map +1 -1
  28. package/dist/contexts/options.cjs +2 -2
  29. package/dist/contexts/options.cjs.map +1 -1
  30. package/dist/contexts/options.d.cts +1 -1
  31. package/dist/contexts/options.d.cts.map +1 -1
  32. package/dist/contexts/options.d.mts +1 -1
  33. package/dist/contexts/options.d.mts.map +1 -1
  34. package/dist/contexts/options.mjs +4 -4
  35. package/dist/contexts/options.mjs.map +1 -1
  36. package/dist/helpers/automd.cjs +2 -2
  37. package/dist/helpers/automd.cjs.map +1 -1
  38. package/dist/helpers/automd.mjs.map +1 -1
  39. package/dist/helpers/paths.cjs +125 -0
  40. package/dist/helpers/paths.cjs.map +1 -0
  41. package/dist/helpers/paths.mjs +121 -0
  42. package/dist/helpers/paths.mjs.map +1 -0
  43. package/dist/helpers/persistence.cjs +68 -116
  44. package/dist/helpers/persistence.cjs.map +1 -1
  45. package/dist/helpers/persistence.mjs +68 -116
  46. package/dist/helpers/persistence.mjs.map +1 -1
  47. package/dist/helpers/update-package-json.cjs +4 -4
  48. package/dist/helpers/update-package-json.cjs.map +1 -1
  49. package/dist/helpers/utilities.cjs +1 -1
  50. package/dist/helpers/utilities.mjs +1 -1
  51. package/dist/helpers/validations.cjs +2 -3
  52. package/dist/helpers/validations.cjs.map +1 -1
  53. package/dist/helpers/validations.mjs +2 -2
  54. package/dist/helpers/validations.mjs.map +1 -1
  55. package/dist/index.cjs +14 -11
  56. package/dist/index.d.cts +2 -2
  57. package/dist/index.d.mts +2 -2
  58. package/dist/index.mjs +3 -3
  59. package/dist/plugin-utils/deepkit.cjs +72 -0
  60. package/dist/plugin-utils/deepkit.cjs.map +1 -0
  61. package/dist/plugin-utils/deepkit.d.cts +24 -0
  62. package/dist/plugin-utils/deepkit.d.cts.map +1 -0
  63. package/dist/plugin-utils/deepkit.d.mts +24 -0
  64. package/dist/plugin-utils/deepkit.d.mts.map +1 -0
  65. package/dist/plugin-utils/deepkit.mjs +70 -0
  66. package/dist/plugin-utils/deepkit.mjs.map +1 -0
  67. package/dist/plugin-utils/get-command-tree.cjs +2 -2
  68. package/dist/plugin-utils/get-command-tree.cjs.map +1 -1
  69. package/dist/plugin-utils/index.cjs +27 -18
  70. package/dist/plugin-utils/index.d.cts +3 -1
  71. package/dist/plugin-utils/index.d.mts +3 -1
  72. package/dist/plugin-utils/index.mjs +3 -1
  73. package/dist/plugin-utils/reflect.cjs +4 -5
  74. package/dist/plugin-utils/reflect.cjs.map +1 -1
  75. package/dist/plugin-utils/reflect.mjs +4 -4
  76. package/dist/plugin-utils/reflect.mjs.map +1 -1
  77. package/dist/plugin-utils/type-checks.cjs +89 -0
  78. package/dist/plugin-utils/type-checks.cjs.map +1 -0
  79. package/dist/plugin-utils/type-checks.d.cts +42 -0
  80. package/dist/plugin-utils/type-checks.d.cts.map +1 -0
  81. package/dist/plugin-utils/type-checks.d.mts +42 -0
  82. package/dist/plugin-utils/type-checks.d.mts.map +1 -0
  83. package/dist/plugin-utils/type-checks.mjs +84 -0
  84. package/dist/plugin-utils/type-checks.mjs.map +1 -0
  85. package/dist/plugin.cjs +28 -24
  86. package/dist/plugin.cjs.map +1 -1
  87. package/dist/plugin.d.cts.map +1 -1
  88. package/dist/plugin.d.mts.map +1 -1
  89. package/dist/plugin.mjs +12 -8
  90. package/dist/plugin.mjs.map +1 -1
  91. package/dist/resolver/deepkit.cjs +129 -0
  92. package/dist/resolver/deepkit.cjs.map +1 -0
  93. package/dist/resolver/deepkit.mjs +128 -0
  94. package/dist/resolver/deepkit.mjs.map +1 -0
  95. package/dist/resolver/helpers.cjs +173 -0
  96. package/dist/resolver/helpers.cjs.map +1 -0
  97. package/dist/resolver/helpers.mjs +168 -0
  98. package/dist/resolver/helpers.mjs.map +1 -0
  99. package/dist/resolver/module.cjs +144 -0
  100. package/dist/resolver/module.cjs.map +1 -0
  101. package/dist/resolver/module.mjs +143 -0
  102. package/dist/resolver/module.mjs.map +1 -0
  103. package/dist/resolver/resolve.cjs +209 -0
  104. package/dist/resolver/resolve.cjs.map +1 -0
  105. package/dist/resolver/resolve.mjs +208 -0
  106. package/dist/resolver/resolve.mjs.map +1 -0
  107. package/dist/types/command.cjs +127 -104
  108. package/dist/types/command.cjs.map +1 -1
  109. package/dist/types/command.d.cts +39 -78
  110. package/dist/types/command.d.cts.map +1 -1
  111. package/dist/types/command.d.mts +39 -78
  112. package/dist/types/command.d.mts.map +1 -1
  113. package/dist/types/command.mjs +115 -95
  114. package/dist/types/command.mjs.map +1 -1
  115. package/dist/types/context.cjs +1 -1
  116. package/dist/types/context.cjs.map +1 -1
  117. package/dist/types/context.d.cts +2 -2
  118. package/dist/types/context.d.cts.map +1 -1
  119. package/dist/types/context.d.mts +2 -2
  120. package/dist/types/context.d.mts.map +1 -1
  121. package/dist/types/context.mjs +1 -1
  122. package/dist/types/context.mjs.map +1 -1
  123. package/dist/types/index.cjs +13 -10
  124. package/dist/types/index.d.cts +2 -2
  125. package/dist/types/index.d.mts +2 -2
  126. package/dist/types/index.mjs +2 -2
  127. package/package.json +24 -75
  128. package/dist/helpers/resolve-command.cjs +0 -430
  129. package/dist/helpers/resolve-command.cjs.map +0 -1
  130. package/dist/helpers/resolve-command.mjs +0 -425
  131. package/dist/helpers/resolve-command.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { CommandInput, CommandOption, CommandTree } from "./command.mjs";
1
+ import { CommandConfig, CommandOption, CommandTree } from "./command.mjs";
2
2
  import { ResolvedConfig } from "./config.mjs";
3
3
  import { UnresolvedContext as UnresolvedContext$1 } from "powerlines";
4
4
  import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
@@ -17,7 +17,7 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
17
17
  /**
18
18
  * The list of commands discovered in the project.
19
19
  */
20
- inputs: CommandInput[];
20
+ inputs: CommandConfig[];
21
21
  /**
22
22
  * The command-line application structure.
23
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"sourcesContent":[],"mappings":";;;;;;;KAwBY,gCAAgC,iBAAiB,kBAC3D,oBAAoB,mBAClB,oBAAoB;;AAFxB;;EAA6D,YAAA,EAAA,MAAA;EACvC;;;EAClB,OAAA,EASW,aATX,EAAA;EASW;;;EAUC,MAAA,EALF,YAKE,EAAA;EAAM;AAGtB;;EAC2C,QAAA,EAJ3B,MAI2B,CAAA,MAAA,EAJZ,WAIY,CAAA;CACX;AAA5B,KAFQ,iBAER,CAAA,wBADsB,cACtB,GADuC,cACvC,CAAA,GAAA,mBAAA,CAA4B,eAA5B,CAAA"}
1
+ {"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"sourcesContent":[],"mappings":";;;;;;;KAwBY,gCAAgC,iBAAiB,kBAC3D,oBAAoB,mBAClB,oBAAoB;;AAFxB;;EAA6D,YAAA,EAAA,MAAA;EACvC;;;EAClB,OAAA,EASW,aATX,EAAA;EASW;;;EAUC,MAAA,EALF,aAKE,EAAA;EAAM;AAGtB;;EAC2C,QAAA,EAJ3B,MAI2B,CAAA,MAAA,EAJZ,WAIY,CAAA;CACX;AAA5B,KAFQ,iBAER,CAAA,wBADsB,cACtB,GADuC,cACvC,CAAA,GAAA,mBAAA,CAA4B,eAA5B,CAAA"}
@@ -11,7 +11,7 @@ const __ΩContext = [
11
11
  "commandsPath",
12
12
  "CommandOption",
13
13
  "options",
14
- "CommandInput",
14
+ "CommandConfig",
15
15
  "inputs",
16
16
  () => __ΩRecord,
17
17
  "CommandTree",
@@ -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 { 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 { CommandInput, CommandOption, CommandTree } from \"./command\";\nimport type { ResolvedConfig } from \"./config\";\n\nexport type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> =\n TsdownPluginContext<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 options: CommandOption[];\n\n /**\n * The list of commands discovered in the project.\n */\n inputs: CommandInput[];\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
+ {"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 { 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 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 options: 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"}
@@ -4,32 +4,35 @@ const require_types_context = require('./context.cjs');
4
4
  const require_types_options = require('./options.cjs');
5
5
  const require_types_runtime = require('./runtime.cjs');
6
6
 
7
+ exports.CommandParameterKinds = require_types_command.CommandParameterKinds;
8
+ exports.__ΩAsCommandParameterConfig = require_types_command.__ΩAsCommandParameterConfig;
7
9
  exports.__ΩBaseCommandOptions = require_types_options.__ΩBaseCommandOptions;
8
10
  exports.__ΩBaseCommandParameter = require_types_command.__ΩBaseCommandParameter;
9
- exports.__ΩBooleanCommandArgument = require_types_command.__ΩBooleanCommandArgument;
10
11
  exports.__ΩBooleanCommandOption = require_types_command.__ΩBooleanCommandOption;
11
12
  exports.__ΩBooleanCommandParameter = require_types_command.__ΩBooleanCommandParameter;
13
+ exports.__ΩBooleanCommandParameterConfig = require_types_command.__ΩBooleanCommandParameterConfig;
12
14
  exports.__ΩCommandArgument = require_types_command.__ΩCommandArgument;
15
+ exports.__ΩCommandArgumentConfig = require_types_command.__ΩCommandArgumentConfig;
13
16
  exports.__ΩCommandBase = require_types_command.__ΩCommandBase;
17
+ exports.__ΩCommandConfig = require_types_command.__ΩCommandConfig;
14
18
  exports.__ΩCommandContext = require_types_runtime.__ΩCommandContext;
15
- exports.__ΩCommandInput = require_types_command.__ΩCommandInput;
19
+ exports.__ΩCommandMetadata = require_types_command.__ΩCommandMetadata;
16
20
  exports.__ΩCommandModule = require_types_command.__ΩCommandModule;
17
21
  exports.__ΩCommandOption = require_types_command.__ΩCommandOption;
18
- exports.__ΩCommandParameterSchema = require_types_command.__ΩCommandParameterSchema;
22
+ exports.__ΩCommandOptionConfig = require_types_command.__ΩCommandOptionConfig;
23
+ exports.__ΩCommandParameter = require_types_command.__ΩCommandParameter;
24
+ exports.__ΩCommandParameterConfig = require_types_command.__ΩCommandParameterConfig;
25
+ exports.__ΩCommandParameterKind = require_types_command.__ΩCommandParameterKind;
26
+ exports.__ΩCommandParameterType = require_types_command.__ΩCommandParameterType;
19
27
  exports.__ΩCommandTree = require_types_command.__ΩCommandTree;
20
28
  exports.__ΩContext = require_types_context.__ΩContext;
21
- exports.__ΩMetadata = require_types_command.__ΩMetadata;
22
- exports.__ΩNumberCommandArgument = require_types_command.__ΩNumberCommandArgument;
23
- exports.__ΩNumberCommandOption = require_types_command.__ΩNumberCommandOption;
24
29
  exports.__ΩNumberCommandParameter = require_types_command.__ΩNumberCommandParameter;
30
+ exports.__ΩNumberCommandParameterConfig = require_types_command.__ΩNumberCommandParameterConfig;
25
31
  exports.__ΩOptions = require_types_config.__ΩOptions;
26
32
  exports.__ΩOutputConfig = require_types_config.__ΩOutputConfig;
27
33
  exports.__ΩResolvedConfig = require_types_config.__ΩResolvedConfig;
28
- exports.__ΩSerializedCommandArgument = require_types_command.__ΩSerializedCommandArgument;
29
- exports.__ΩSerializedCommandOption = require_types_command.__ΩSerializedCommandOption;
30
34
  exports.__ΩSerializedCommandTree = require_types_command.__ΩSerializedCommandTree;
31
- exports.__ΩStringCommandArgument = require_types_command.__ΩStringCommandArgument;
32
- exports.__ΩStringCommandOption = require_types_command.__ΩStringCommandOption;
33
35
  exports.__ΩStringCommandParameter = require_types_command.__ΩStringCommandParameter;
36
+ exports.__ΩStringCommandParameterConfig = require_types_command.__ΩStringCommandParameterConfig;
34
37
  exports.__ΩUnresolvedContext = require_types_context.__ΩUnresolvedContext;
35
38
  exports.__ΩUserConfig = require_types_config.__ΩUserConfig;
@@ -1,6 +1,6 @@
1
- import { BaseCommandParameter, BooleanCommandArgument, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandInput, CommandModule, CommandOption, CommandParameterSchema, CommandTree, Metadata, NumberCommandArgument, NumberCommandOption, NumberCommandParameter, SerializedCommandArgument, SerializedCommandOption, SerializedCommandTree, StringCommandArgument, StringCommandOption, StringCommandParameter } from "./command.cjs";
1
+ import { AsCommandParameterConfig, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig } from "./command.cjs";
2
2
  import { Context, UnresolvedContext } from "./context.cjs";
3
3
  import { Options, OutputConfig, ResolvedConfig, UserConfig } from "./config.cjs";
4
4
  import { BaseCommandOptions } from "./options.cjs";
5
5
  import { CommandContext } from "./runtime.cjs";
6
- export { BaseCommandOptions, BaseCommandParameter, BooleanCommandArgument, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandContext, CommandInput, CommandModule, CommandOption, CommandParameterSchema, CommandTree, Context, Metadata, NumberCommandArgument, NumberCommandOption, NumberCommandParameter, Options, OutputConfig, ResolvedConfig, SerializedCommandArgument, SerializedCommandOption, SerializedCommandTree, StringCommandArgument, StringCommandOption, StringCommandParameter, UnresolvedContext, UserConfig };
6
+ export { AsCommandParameterConfig, BaseCommandOptions, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandContext, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, Context, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ResolvedConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig };
@@ -1,6 +1,6 @@
1
- import { BaseCommandParameter, BooleanCommandArgument, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandInput, CommandModule, CommandOption, CommandParameterSchema, CommandTree, Metadata, NumberCommandArgument, NumberCommandOption, NumberCommandParameter, SerializedCommandArgument, SerializedCommandOption, SerializedCommandTree, StringCommandArgument, StringCommandOption, StringCommandParameter } from "./command.mjs";
1
+ import { AsCommandParameterConfig, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig } from "./command.mjs";
2
2
  import { Context, UnresolvedContext } from "./context.mjs";
3
3
  import { Options, OutputConfig, ResolvedConfig, UserConfig } from "./config.mjs";
4
4
  import { BaseCommandOptions } from "./options.mjs";
5
5
  import { CommandContext } from "./runtime.mjs";
6
- export { BaseCommandOptions, BaseCommandParameter, BooleanCommandArgument, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandContext, CommandInput, CommandModule, CommandOption, CommandParameterSchema, CommandTree, Context, Metadata, NumberCommandArgument, NumberCommandOption, NumberCommandParameter, Options, OutputConfig, ResolvedConfig, SerializedCommandArgument, SerializedCommandOption, SerializedCommandTree, StringCommandArgument, StringCommandOption, StringCommandParameter, UnresolvedContext, UserConfig };
6
+ export { AsCommandParameterConfig, BaseCommandOptions, BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandContext, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, Context, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ResolvedConfig, SerializedCommandTree, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig };
@@ -1,7 +1,7 @@
1
- import { __ΩBaseCommandParameter, __ΩBooleanCommandArgument, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩCommandArgument, __ΩCommandBase, __ΩCommandInput, __ΩCommandModule, __ΩCommandOption, __ΩCommandParameterSchema, __ΩCommandTree, __ΩMetadata, __ΩNumberCommandArgument, __ΩNumberCommandOption, __ΩNumberCommandParameter, __ΩSerializedCommandArgument, __ΩSerializedCommandOption, __ΩSerializedCommandTree, __ΩStringCommandArgument, __ΩStringCommandOption, __ΩStringCommandParameter } from "./command.mjs";
1
+ import { CommandParameterKinds, __ΩAsCommandParameterConfig, __ΩBaseCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterKind, __ΩCommandParameterType, __ΩCommandTree, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩSerializedCommandTree, __ΩStringCommandParameter, __ΩStringCommandParameterConfig } from "./command.mjs";
2
2
  import { __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩUserConfig } from "./config.mjs";
3
3
  import { __ΩContext, __ΩUnresolvedContext } from "./context.mjs";
4
4
  import { __ΩBaseCommandOptions } from "./options.mjs";
5
5
  import { __ΩCommandContext } from "./runtime.mjs";
6
6
 
7
- export { __ΩBaseCommandOptions, __ΩBaseCommandParameter, __ΩBooleanCommandArgument, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩCommandArgument, __ΩCommandBase, __ΩCommandContext, __ΩCommandInput, __ΩCommandModule, __ΩCommandOption, __ΩCommandParameterSchema, __ΩCommandTree, __ΩContext, __ΩMetadata, __ΩNumberCommandArgument, __ΩNumberCommandOption, __ΩNumberCommandParameter, __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩSerializedCommandArgument, __ΩSerializedCommandOption, __ΩSerializedCommandTree, __ΩStringCommandArgument, __ΩStringCommandOption, __ΩStringCommandParameter, __ΩUnresolvedContext, __ΩUserConfig };
7
+ export { CommandParameterKinds, __ΩAsCommandParameterConfig, __ΩBaseCommandOptions, __ΩBaseCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandContext, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterKind, __ΩCommandParameterType, __ΩCommandTree, __ΩContext, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩSerializedCommandTree, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩUnresolvedContext, __ΩUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/core",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "A package containing the core Shell Shock functionality used to build and manage a command-line application.",
6
6
  "repository": {
@@ -229,62 +229,6 @@
229
229
  "default": "./dist/plugin-utils/index.mjs"
230
230
  }
231
231
  },
232
- "./plugin-utils/context-helpers": {
233
- "require": {
234
- "types": "./dist/plugin-utils/context-helpers.d.cts",
235
- "default": "./dist/plugin-utils/context-helpers.cjs"
236
- },
237
- "import": {
238
- "types": "./dist/plugin-utils/context-helpers.d.mts",
239
- "default": "./dist/plugin-utils/context-helpers.mjs"
240
- },
241
- "default": {
242
- "types": "./dist/plugin-utils/context-helpers.d.mts",
243
- "default": "./dist/plugin-utils/context-helpers.mjs"
244
- }
245
- },
246
- "./plugin-utils/get-command-tree": {
247
- "require": {
248
- "types": "./dist/plugin-utils/get-command-tree.d.cts",
249
- "default": "./dist/plugin-utils/get-command-tree.cjs"
250
- },
251
- "import": {
252
- "types": "./dist/plugin-utils/get-command-tree.d.mts",
253
- "default": "./dist/plugin-utils/get-command-tree.mjs"
254
- },
255
- "default": {
256
- "types": "./dist/plugin-utils/get-command-tree.d.mts",
257
- "default": "./dist/plugin-utils/get-command-tree.mjs"
258
- }
259
- },
260
- "./plugin-utils/reflect": {
261
- "require": {
262
- "types": "./dist/plugin-utils/reflect.d.cts",
263
- "default": "./dist/plugin-utils/reflect.cjs"
264
- },
265
- "import": {
266
- "types": "./dist/plugin-utils/reflect.d.mts",
267
- "default": "./dist/plugin-utils/reflect.mjs"
268
- },
269
- "default": {
270
- "types": "./dist/plugin-utils/reflect.d.mts",
271
- "default": "./dist/plugin-utils/reflect.mjs"
272
- }
273
- },
274
- "./plugin-utils/traverse-command-tree": {
275
- "require": {
276
- "types": "./dist/plugin-utils/traverse-command-tree.d.cts",
277
- "default": "./dist/plugin-utils/traverse-command-tree.cjs"
278
- },
279
- "import": {
280
- "types": "./dist/plugin-utils/traverse-command-tree.d.mts",
281
- "default": "./dist/plugin-utils/traverse-command-tree.mjs"
282
- },
283
- "default": {
284
- "types": "./dist/plugin-utils/traverse-command-tree.d.mts",
285
- "default": "./dist/plugin-utils/traverse-command-tree.mjs"
286
- }
287
- },
288
232
  "./types": {
289
233
  "require": {
290
234
  "types": "./dist/types/index.d.cts",
@@ -394,32 +338,37 @@
394
338
  "@alloy-js/core": "0.23.0-dev.8",
395
339
  "@alloy-js/markdown": "0.23.0-dev.1",
396
340
  "@alloy-js/typescript": "0.23.0-dev.4",
397
- "@powerlines/deepkit": "^0.6.88",
398
- "@powerlines/plugin-alloy": "^0.23.40",
399
- "@powerlines/plugin-automd": "^0.1.309",
400
- "@powerlines/plugin-deepkit": "^0.11.188",
401
- "@powerlines/plugin-nodejs": "^0.1.228",
402
- "@powerlines/plugin-tsdown": "^0.1.260",
403
- "@stryke/cli": "^0.13.15",
404
- "@stryke/convert": "^0.6.40",
405
- "@stryke/fs": "^0.33.43",
406
- "@stryke/helpers": "^0.9.42",
407
- "@stryke/json": "^0.9.43",
408
- "@stryke/path": "^0.26.6",
409
- "@stryke/string-format": "^0.14.2",
410
- "@stryke/type-checks": "^0.5.25",
411
- "@stryke/types": "^0.10.39",
341
+ "@powerlines/deepkit": "^0.6.90",
342
+ "@powerlines/plugin-alloy": "^0.24.2",
343
+ "@powerlines/plugin-automd": "^0.1.311",
344
+ "@powerlines/plugin-deepkit": "^0.11.190",
345
+ "@powerlines/plugin-nodejs": "^0.1.231",
346
+ "@powerlines/plugin-tsdown": "^0.1.262",
347
+ "@standard-schema/spec": "^1.1.0",
348
+ "@standard-schema/utils": "^0.3.0",
349
+ "@stryke/cli": "^0.13.22",
350
+ "@stryke/convert": "^0.6.46",
351
+ "@stryke/fs": "^0.33.50",
352
+ "@stryke/helpers": "^0.9.48",
353
+ "@stryke/json": "^0.14.0",
354
+ "@stryke/path": "^0.26.12",
355
+ "@stryke/string-format": "^0.14.8",
356
+ "@stryke/type-checks": "^0.5.31",
357
+ "@stryke/types": "^0.10.45",
358
+ "@stryke/zod": "^0.3.1",
412
359
  "automd": "^0.4.3",
413
360
  "defu": "^6.1.4",
414
- "powerlines": "^0.39.17",
361
+ "json-schema": "^0.4.0",
362
+ "powerlines": "^0.39.19",
415
363
  "rolldown": "1.0.0-rc.6"
416
364
  },
417
365
  "devDependencies": {
418
- "@powerlines/plugin-plugin": "^0.12.260",
366
+ "@powerlines/plugin-plugin": "^0.12.262",
367
+ "@types/json-schema": "^7.0.15",
419
368
  "@types/node": "^25.3.3",
420
369
  "typescript": "^5.9.3",
421
370
  "zod": "^4.3.6"
422
371
  },
423
372
  "publishConfig": { "access": "public" },
424
- "gitHead": "d0abdaa95b5e40df2157d393f0ba8499589140ca"
373
+ "gitHead": "6fbda1ffc234bdd12b5d0fd0a32e59727b369c5c"
425
374
  }