@shell-shock/core 0.17.7 → 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.
- package/dist/api.cjs +81 -28
- package/dist/api.d.cts +51 -3
- package/dist/api.d.cts.map +1 -1
- package/dist/api.d.mts +51 -3
- package/dist/api.d.mts.map +1 -1
- package/dist/api.mjs +79 -26
- package/dist/api.mjs.map +1 -1
- package/dist/components/docs.cjs +1 -1
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/docs.mjs.map +1 -1
- package/dist/components/exec-builtin.cjs +1 -1
- package/dist/components/exec-builtin.mjs +1 -1
- package/dist/components/state-builtin.cjs +2 -2
- package/dist/components/state-builtin.d.cts.map +1 -1
- package/dist/components/state-builtin.d.mts.map +1 -1
- package/dist/components/state-builtin.mjs +2 -2
- package/dist/components/state-builtin.mjs.map +1 -1
- package/dist/components/utils-builtin.cjs +1 -1
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +1 -1
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/contexts/options.cjs +1 -1
- package/dist/contexts/options.mjs +1 -1
- package/dist/contexts/options.mjs.map +1 -1
- package/dist/helpers/docs-helpers.mjs.map +1 -1
- package/dist/helpers/paths.cjs +7 -7
- package/dist/helpers/paths.mjs +7 -7
- package/dist/helpers/paths.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +2 -0
- package/dist/helpers/persistence.mjs +2 -0
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/update-package-json.cjs +30 -24
- package/dist/helpers/update-package-json.mjs +30 -24
- package/dist/helpers/update-package-json.mjs.map +1 -1
- package/dist/helpers/utilities.mjs.map +1 -1
- package/dist/helpers/validations.mjs.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/plugin-utils/compute-bin.cjs +1 -1
- package/dist/plugin-utils/compute-bin.mjs +1 -1
- package/dist/plugin-utils/compute-bin.mjs.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/deepkit.cjs +1 -1
- package/dist/plugin-utils/deepkit.mjs +1 -1
- package/dist/plugin-utils/deepkit.mjs.map +1 -1
- package/dist/plugin-utils/description-helpers.mjs.map +1 -1
- package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/reflect.cjs +2 -2
- package/dist/plugin-utils/reflect.mjs +2 -2
- package/dist/plugin-utils/reflect.mjs.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/type-checks.mjs.map +1 -1
- package/dist/plugin.cjs +49 -7
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +49 -7
- package/dist/plugin.mjs.map +1 -1
- package/dist/resolver/deepkit.cjs +1 -1
- package/dist/resolver/deepkit.mjs +1 -1
- package/dist/resolver/deepkit.mjs.map +1 -1
- package/dist/resolver/helpers.mjs.map +1 -1
- package/dist/resolver/module.cjs +1 -1
- package/dist/resolver/module.mjs +1 -1
- package/dist/resolver/module.mjs.map +1 -1
- package/dist/resolver/resolve.cjs +1 -1
- package/dist/resolver/resolve.mjs +1 -1
- package/dist/resolver/resolve.mjs.map +1 -1
- package/dist/types/command.d.cts +1 -1
- package/dist/types/command.d.mts +2 -2
- package/dist/types/command.mjs.map +1 -1
- package/dist/types/config.cjs +20 -30
- package/dist/types/config.d.cts +13 -10
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +13 -10
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/config.mjs +20 -31
- package/dist/types/config.mjs.map +1 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +3 -2
- package/dist/types/context.d.cts.map +1 -1
- package/dist/types/context.d.mts +3 -2
- package/dist/types/context.d.mts.map +1 -1
- package/dist/types/context.mjs +2 -2
- package/dist/types/context.mjs.map +1 -1
- package/dist/types/env.d.cts +1 -1
- package/dist/types/env.d.mts +1 -1
- package/dist/types/env.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +2 -2
- package/package.json +25 -24
package/dist/types/config.mjs
CHANGED
|
@@ -10,11 +10,6 @@ const __ΩPartial = [
|
|
|
10
10
|
"Partial",
|
|
11
11
|
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
12
12
|
];
|
|
13
|
-
const __ΩRequired = [
|
|
14
|
-
"T",
|
|
15
|
-
"Required",
|
|
16
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
17
|
-
];
|
|
18
13
|
const __ΩOmit = [
|
|
19
14
|
"T",
|
|
20
15
|
"K",
|
|
@@ -23,6 +18,11 @@ const __ΩOmit = [
|
|
|
23
18
|
"Omit",
|
|
24
19
|
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
25
20
|
];
|
|
21
|
+
const __ΩRequired = [
|
|
22
|
+
"T",
|
|
23
|
+
"Required",
|
|
24
|
+
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
25
|
+
];
|
|
26
26
|
const __ΩRecord = [
|
|
27
27
|
"K",
|
|
28
28
|
"T",
|
|
@@ -35,22 +35,6 @@ const __ΩExclude = [
|
|
|
35
35
|
"Exclude",
|
|
36
36
|
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
37
37
|
];
|
|
38
|
-
const __ΩBuildOptions = [
|
|
39
|
-
() => __ΩPick,
|
|
40
|
-
"root",
|
|
41
|
-
"name",
|
|
42
|
-
"title",
|
|
43
|
-
"description",
|
|
44
|
-
"logLevel",
|
|
45
|
-
"mode",
|
|
46
|
-
"skipCache",
|
|
47
|
-
"autoInstall",
|
|
48
|
-
"plugins",
|
|
49
|
-
"tsconfig",
|
|
50
|
-
"tsconfigRaw",
|
|
51
|
-
"BuildOptions",
|
|
52
|
-
"!P.\".#.$.%.&.'.(.).*.+.,Jo!#w-y"
|
|
53
|
-
];
|
|
54
38
|
const __ΩReferenceOptions = [
|
|
55
39
|
"app",
|
|
56
40
|
"A URL to the application documentation or reference.",
|
|
@@ -60,8 +44,6 @@ const __ΩReferenceOptions = [
|
|
|
60
44
|
"P&4!?\"&4#8?$Mw%y"
|
|
61
45
|
];
|
|
62
46
|
const __ΩBaseOptions = [
|
|
63
|
-
() => __ΩPartial,
|
|
64
|
-
() => __ΩBuildOptions,
|
|
65
47
|
"CommandOption",
|
|
66
48
|
"Context",
|
|
67
49
|
"context",
|
|
@@ -83,7 +65,7 @@ const __ΩBaseOptions = [
|
|
|
83
65
|
"reference",
|
|
84
66
|
"A URL to the application documentation or reference.",
|
|
85
67
|
"BaseOptions",
|
|
86
|
-
"
|
|
68
|
+
"PP\"w!FP\"w\"2#\"w$2%\"w!F/&.'J4(8?))4*8>+?,P&&FJ4-8?.P./&J408?1Pn2&J438?4Mw5y"
|
|
87
69
|
];
|
|
88
70
|
const __ΩOptions = [
|
|
89
71
|
() => __ΩBaseOptions,
|
|
@@ -96,22 +78,29 @@ const __ΩOutputConfig = [
|
|
|
96
78
|
"path",
|
|
97
79
|
"copy",
|
|
98
80
|
"storage",
|
|
81
|
+
"sourceMap",
|
|
99
82
|
false,
|
|
100
83
|
"dts",
|
|
101
84
|
"An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.",
|
|
102
85
|
"OutputConfig",
|
|
103
|
-
"P!P.\"
|
|
86
|
+
"P!P.\".#.$.%Jo!#P.&4'8?(MKw)y"
|
|
104
87
|
];
|
|
105
88
|
const __ΩUserConfig = [
|
|
106
89
|
() => __ΩBaseOptions,
|
|
107
|
-
() => __ΩPartial,
|
|
108
|
-
() => __ΩPick,
|
|
109
|
-
"root",
|
|
110
90
|
() => __ΩOutputConfig,
|
|
111
91
|
"output",
|
|
112
92
|
"Configuration for the output of the build process",
|
|
113
93
|
"UserConfig",
|
|
114
|
-
"Pn!!
|
|
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"
|
|
115
104
|
];
|
|
116
105
|
const __ΩResolvedConfig = [
|
|
117
106
|
() => __ΩRequired,
|
|
@@ -131,9 +120,9 @@ const __ΩResolvedConfig = [
|
|
|
131
120
|
"userConfig",
|
|
132
121
|
"The user configuration for the Shell Shock process.",
|
|
133
122
|
"ResolvedConfig",
|
|
134
|
-
"P
|
|
123
|
+
"P!!!!n#P.$.%Jo\"#o!\"P&&o'?(n)4*?+&4,?-n.4/?0MKw1y"
|
|
135
124
|
];
|
|
136
125
|
|
|
137
126
|
//#endregion
|
|
138
|
-
export { __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig };
|
|
127
|
+
export { __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig };
|
|
139
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 { AutoMDPluginResolvedConfig } from \"@powerlines/plugin-automd\";\nimport type {\n NodeJsPluginOptions,\n NodeJsPluginResolvedConfig
|
|
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"}
|
package/dist/types/context.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const __ΩContext = [
|
|
|
13
13
|
"commandsPath",
|
|
14
14
|
"The root path where commands are located.",
|
|
15
15
|
"CommandOption",
|
|
16
|
-
"
|
|
16
|
+
"globalOptions",
|
|
17
17
|
"The default command arguments to apply to all application commands.",
|
|
18
18
|
"CommandConfig",
|
|
19
19
|
"inputs",
|
|
@@ -23,7 +23,7 @@ const __ΩContext = [
|
|
|
23
23
|
"commands",
|
|
24
24
|
"The command-line application structure.",
|
|
25
25
|
"Context",
|
|
26
|
-
"\"w!c\"P
|
|
26
|
+
"\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
|
|
27
27
|
];
|
|
28
28
|
const __ΩUnresolvedContext = [
|
|
29
29
|
"ResolvedConfig",
|
package/dist/types/context.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CommandConfig, CommandOption, CommandTree } from "./command.cjs";
|
|
2
2
|
import { ResolvedConfig } from "./config.cjs";
|
|
3
3
|
import { UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
4
|
+
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
4
5
|
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
5
6
|
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
6
7
|
|
|
7
8
|
//#region src/types/context.d.ts
|
|
8
|
-
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
|
+
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & AlloyPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
10
|
/**
|
|
10
11
|
* The root path where commands are located.
|
|
11
12
|
*/
|
|
@@ -13,7 +14,7 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
|
|
|
13
14
|
/**
|
|
14
15
|
* The default command arguments to apply to all application commands.
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
globalOptions: CommandOption[];
|
|
17
18
|
/**
|
|
18
19
|
* The list of commands discovered in the project.
|
|
19
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.cts","names":[],"sources":["../../src/types/context.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.cts","names":[],"sources":["../../src/types/context.ts"],"mappings":";;;;;;;;KAyBY,OAAA,yBAAgC,cAAA,GAAiB,cAAA,IAC3D,mBAAA,CAAoB,eAAA,IAClB,kBAAA,CAAmB,eAAA,IACnB,mBAAA,CAAoB,eAAA;;AAHxB;;EAOM,YAAA;EAPsC;;;EAYtC,aAAA,EAAe,aAAA;EAVE;;;EAejB,MAAA,EAAQ,aAAA;EALO;;;EAUf,QAAA,EAAU,MAAA,SAAe,WAAA;AAAA;AAAA,KAGnB,iBAAA,yBACc,cAAA,GAAiB,cAAA,IACvC,mBAAA,CAA4B,eAAA"}
|
package/dist/types/context.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
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
|
+
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
4
5
|
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
5
6
|
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
6
7
|
|
|
7
8
|
//#region src/types/context.d.ts
|
|
8
|
-
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
|
+
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & AlloyPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
10
|
/**
|
|
10
11
|
* The root path where commands are located.
|
|
11
12
|
*/
|
|
@@ -13,7 +14,7 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
|
|
|
13
14
|
/**
|
|
14
15
|
* The default command arguments to apply to all application commands.
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
globalOptions: CommandOption[];
|
|
17
18
|
/**
|
|
18
19
|
* The list of commands discovered in the project.
|
|
19
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"mappings":";;;;;;;;KAyBY,OAAA,yBAAgC,cAAA,GAAiB,cAAA,IAC3D,mBAAA,CAAoB,eAAA,IAClB,kBAAA,CAAmB,eAAA,IACnB,mBAAA,CAAoB,eAAA;;AAHxB;;EAOM,YAAA;EAPsC;;;EAYtC,aAAA,EAAe,aAAA;EAVE;;;EAejB,MAAA,EAAQ,aAAA;EALO;;;EAUf,QAAA,EAAU,MAAA,SAAe,WAAA;AAAA;AAAA,KAGnB,iBAAA,yBACc,cAAA,GAAiB,cAAA,IACvC,mBAAA,CAA4B,eAAA"}
|
package/dist/types/context.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const __ΩContext = [
|
|
|
11
11
|
"commandsPath",
|
|
12
12
|
"The root path where commands are located.",
|
|
13
13
|
"CommandOption",
|
|
14
|
-
"
|
|
14
|
+
"globalOptions",
|
|
15
15
|
"The default command arguments to apply to all application commands.",
|
|
16
16
|
"CommandConfig",
|
|
17
17
|
"inputs",
|
|
@@ -21,7 +21,7 @@ const __ΩContext = [
|
|
|
21
21
|
"commands",
|
|
22
22
|
"The command-line application structure.",
|
|
23
23
|
"Context",
|
|
24
|
-
"\"w!c\"P
|
|
24
|
+
"\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
|
|
25
25
|
];
|
|
26
26
|
const __ΩUnresolvedContext = [
|
|
27
27
|
"ResolvedConfig",
|
|
@@ -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 { 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
|
|
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"}
|
package/dist/types/env.d.cts
CHANGED
package/dist/types/env.d.mts
CHANGED
package/dist/types/env.mjs.map
CHANGED
|
@@ -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/
|
|
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"}
|
package/dist/types/index.cjs
CHANGED
|
@@ -30,6 +30,7 @@ exports.__ΩCommandParameterKind = require_types_command.__ΩCommandParameterKin
|
|
|
30
30
|
exports.__ΩCommandParameterType = require_types_command.__ΩCommandParameterType;
|
|
31
31
|
exports.__ΩCommandTree = require_types_command.__ΩCommandTree;
|
|
32
32
|
exports.__ΩContext = require_types_context.__ΩContext;
|
|
33
|
+
exports.__ΩEngineOptions = require_types_config.__ΩEngineOptions;
|
|
33
34
|
exports.__ΩNumberCommandParameter = require_types_command.__ΩNumberCommandParameter;
|
|
34
35
|
exports.__ΩNumberCommandParameterConfig = require_types_command.__ΩNumberCommandParameterConfig;
|
|
35
36
|
exports.__ΩOptions = require_types_config.__ΩOptions;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -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 };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -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.mjs";
|
|
2
2
|
import { Context, UnresolvedContext } from "./context.mjs";
|
|
3
|
-
import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./config.mjs";
|
|
3
|
+
import { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./config.mjs";
|
|
4
4
|
import { BaseCommandOptions } from "./options.mjs";
|
|
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 };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommandParameterKinds, __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __ΩBaseCommandParameter, __ΩBaseNumberCommandParameter, __ΩBaseSingleCommandParameter, __ΩBaseStringCommandParameter, __ΩBaseVariadicCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterKind, __ΩCommandParameterType, __ΩCommandTree, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩSerializedCommandTree, __ΩSingleBooleanCommandParameter, __ΩSingleNumberCommandParameter, __ΩSingleStringCommandParameter, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩVariadicBooleanCommandParameter, __ΩVariadicNumberCommandParameter, __ΩVariadicStringCommandParameter } from "./command.mjs";
|
|
2
|
-
import { __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig } from "./config.mjs";
|
|
2
|
+
import { __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig } from "./config.mjs";
|
|
3
3
|
import { __ΩContext, __ΩUnresolvedContext } from "./context.mjs";
|
|
4
4
|
import { __ΩBaseCommandOptions } from "./options.mjs";
|
|
5
5
|
|
|
6
|
-
export { CommandParameterKinds, __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __ΩBaseCommandOptions, __ΩBaseCommandParameter, __ΩBaseNumberCommandParameter, __ΩBaseSingleCommandParameter, __ΩBaseStringCommandParameter, __ΩBaseVariadicCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterKind, __ΩCommandParameterType, __ΩCommandTree, __ΩContext, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩSerializedCommandTree, __ΩSingleBooleanCommandParameter, __ΩSingleNumberCommandParameter, __ΩSingleStringCommandParameter, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩVariadicBooleanCommandParameter, __ΩVariadicNumberCommandParameter, __ΩVariadicStringCommandParameter };
|
|
6
|
+
export { CommandParameterKinds, __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __ΩBaseCommandOptions, __ΩBaseCommandParameter, __ΩBaseNumberCommandParameter, __ΩBaseSingleCommandParameter, __ΩBaseStringCommandParameter, __ΩBaseVariadicCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterKind, __ΩCommandParameterType, __ΩCommandTree, __ΩContext, __ΩEngineOptions, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩSerializedCommandTree, __ΩSingleBooleanCommandParameter, __ΩSingleNumberCommandParameter, __ΩSingleStringCommandParameter, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩVariadicBooleanCommandParameter, __ΩVariadicNumberCommandParameter, __ΩVariadicStringCommandParameter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/core",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the core Shell Shock functionality used to build and manage a command-line application.",
|
|
6
6
|
"keywords": ["shell-shock", "powerlines", "storm-software"],
|
|
@@ -364,39 +364,40 @@
|
|
|
364
364
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
365
365
|
"@alloy-js/markdown": "0.23.0-dev.1",
|
|
366
366
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
367
|
-
"@powerlines/deepkit": "^0.8.
|
|
368
|
-
"@powerlines/
|
|
369
|
-
"@powerlines/plugin-
|
|
370
|
-
"@powerlines/plugin-
|
|
371
|
-
"@powerlines/plugin-
|
|
372
|
-
"@powerlines/plugin-
|
|
367
|
+
"@powerlines/deepkit": "^0.8.64",
|
|
368
|
+
"@powerlines/engine": "^0.47.4",
|
|
369
|
+
"@powerlines/plugin-alloy": "^0.26.84",
|
|
370
|
+
"@powerlines/plugin-automd": "^0.1.465",
|
|
371
|
+
"@powerlines/plugin-deepkit": "^0.11.347",
|
|
372
|
+
"@powerlines/plugin-nodejs": "^0.1.393",
|
|
373
|
+
"@powerlines/plugin-tsdown": "^0.1.406",
|
|
373
374
|
"@standard-schema/spec": "^1.1.0",
|
|
374
375
|
"@standard-schema/utils": "^0.3.0",
|
|
375
|
-
"@stryke/cli": "^0.13.
|
|
376
|
-
"@stryke/convert": "^0.
|
|
377
|
-
"@stryke/fs": "^0.33.
|
|
378
|
-
"@stryke/helpers": "^0.10.
|
|
379
|
-
"@stryke/json": "^0.14.
|
|
380
|
-
"@stryke/path": "^0.
|
|
381
|
-
"@stryke/string-format": "^0.17.
|
|
382
|
-
"@stryke/type-checks": "^0.6.
|
|
383
|
-
"@stryke/types": "^0.
|
|
384
|
-
"@stryke/zod": "^0.3.
|
|
376
|
+
"@stryke/cli": "^0.13.42",
|
|
377
|
+
"@stryke/convert": "^0.7.3",
|
|
378
|
+
"@stryke/fs": "^0.33.70",
|
|
379
|
+
"@stryke/helpers": "^0.10.12",
|
|
380
|
+
"@stryke/json": "^0.14.16",
|
|
381
|
+
"@stryke/path": "^0.28.2",
|
|
382
|
+
"@stryke/string-format": "^0.17.13",
|
|
383
|
+
"@stryke/type-checks": "^0.6.5",
|
|
384
|
+
"@stryke/types": "^0.12.0",
|
|
385
|
+
"@stryke/zod": "^0.3.17",
|
|
385
386
|
"automd": "^0.4.3",
|
|
386
387
|
"defu": "^6.1.7",
|
|
387
388
|
"json-schema": "^0.4.0",
|
|
388
|
-
"
|
|
389
|
+
"powerlines": "^0.47.4",
|
|
390
|
+
"tsdown": "^0.21.10"
|
|
389
391
|
},
|
|
390
392
|
"devDependencies": {
|
|
391
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
393
|
+
"@powerlines/plugin-plugin": "^0.12.416",
|
|
392
394
|
"@types/json-schema": "^7.0.15",
|
|
393
395
|
"@types/node": "^25.6.0",
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"zod": "^4.3.6"
|
|
396
|
+
"typescript": "^6.0.3",
|
|
397
|
+
"zod": "^4.4.3"
|
|
397
398
|
},
|
|
398
|
-
"peerDependencies": { "
|
|
399
|
+
"peerDependencies": { "zod": "^3.25.0 || ^4.0.0" },
|
|
399
400
|
"peerDependenciesMeta": { "zod": { "optional": true } },
|
|
400
401
|
"publishConfig": { "access": "public" },
|
|
401
|
-
"gitHead": "
|
|
402
|
+
"gitHead": "7b4030fd6be000c960e8cc4c4f7b4db205054e69"
|
|
402
403
|
}
|