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