@shell-shock/core 0.17.21 → 0.17.23
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/README.md +16 -7
- package/dist/api.cjs +4 -5
- package/dist/api.d.cts +1 -1
- package/dist/api.d.mts +1 -1
- package/dist/api.mjs +2 -2
- package/dist/command-B6KYexlV.d.mts +308 -0
- package/dist/command-B6KYexlV.d.mts.map +1 -0
- package/dist/command-CtfR7hKM.d.cts +308 -0
- package/dist/command-CtfR7hKM.d.cts.map +1 -0
- package/dist/components/command-validation-logic.cjs +153 -216
- package/dist/components/command-validation-logic.d.cts +2 -1
- package/dist/components/command-validation-logic.d.cts.map +1 -1
- package/dist/components/command-validation-logic.d.mts +2 -1
- package/dist/components/command-validation-logic.mjs +153 -214
- package/dist/components/docs.cjs +6 -364
- package/dist/components/docs.d.cts +2 -3
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts +2 -3
- package/dist/components/docs.mjs +2 -356
- package/dist/components/exec-builtin.cjs +63 -100
- package/dist/components/exec-builtin.d.cts +1 -2
- package/dist/components/exec-builtin.d.cts.map +1 -1
- package/dist/components/exec-builtin.d.mts +1 -2
- package/dist/components/exec-builtin.mjs +7 -41
- package/dist/components/helpers.cjs +2 -52
- package/dist/components/helpers.d.cts +2 -1
- package/dist/components/helpers.d.cts.map +1 -1
- package/dist/components/helpers.d.mts +2 -1
- package/dist/components/helpers.mjs +2 -50
- package/dist/components/index.cjs +7 -23
- package/dist/components/index.mjs +9 -9
- package/dist/components/options-parser-logic.cjs +198 -420
- package/dist/components/options-parser-logic.d.cts +2 -5
- package/dist/components/options-parser-logic.d.cts.map +1 -1
- package/dist/components/options-parser-logic.d.mts +2 -5
- package/dist/components/options-parser-logic.mjs +192 -407
- package/dist/components/state-builtin.cjs +106 -164
- package/dist/components/state-builtin.d.cts +1 -2
- package/dist/components/state-builtin.d.cts.map +1 -1
- package/dist/components/state-builtin.d.mts +1 -2
- package/dist/components/state-builtin.mjs +12 -68
- package/dist/components/usage.cjs +4 -48
- package/dist/components/usage.d.cts +1 -2
- package/dist/components/usage.d.cts.map +1 -1
- package/dist/components/usage.d.mts +1 -2
- package/dist/components/usage.mjs +4 -46
- package/dist/components/utils-builtin.cjs +77 -144
- package/dist/components/utils-builtin.d.cts +1 -2
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +1 -2
- package/dist/components/utils-builtin.mjs +9 -74
- package/dist/config-BIF9mEz0.d.cts +157 -0
- package/dist/config-BIF9mEz0.d.cts.map +1 -0
- package/dist/config-CnNYdfsL.d.mts +157 -0
- package/dist/config-CnNYdfsL.d.mts.map +1 -0
- package/dist/config.cjs +24 -58
- package/dist/config.d.cts +1 -2
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +1 -2
- package/dist/config.mjs +23 -55
- package/dist/{plugin-utils/context-helpers.mjs → context-helpers-D3EJxwbq.mjs} +5 -83
- package/dist/context-helpers-D3EJxwbq.mjs.map +1 -0
- package/dist/{plugin-utils/context-helpers.cjs → context-helpers-_wUuFRB8.cjs} +63 -92
- package/dist/contexts/command.cjs +3 -9
- package/dist/contexts/command.d.cts +1 -2
- package/dist/contexts/command.d.cts.map +1 -1
- package/dist/contexts/command.d.mts +1 -2
- package/dist/contexts/command.mjs +2 -7
- package/dist/contexts/index.cjs +19 -1
- package/dist/contexts/index.d.cts +2 -1
- package/dist/contexts/index.d.mts +2 -1
- package/dist/contexts/index.mjs +2 -1
- package/dist/contexts/options.cjs +7 -30
- package/dist/contexts/options.d.cts +1 -2
- package/dist/contexts/options.d.cts.map +1 -1
- package/dist/contexts/options.d.mts +1 -2
- package/dist/contexts/options.mjs +7 -27
- package/dist/contexts/power-plant.cjs +19 -0
- package/dist/contexts/power-plant.d.cts +2 -0
- package/dist/contexts/power-plant.d.mts +2 -0
- package/dist/contexts/power-plant.mjs +5 -0
- package/dist/docs-C6ZvsVMu.cjs +278 -0
- package/dist/docs-CGQ2HtEY.mjs +249 -0
- package/dist/docs-CGQ2HtEY.mjs.map +1 -0
- package/dist/engine.cjs +5 -39
- package/dist/engine.d.cts +1 -2
- package/dist/engine.d.cts.map +1 -1
- package/dist/engine.d.mts +1 -2
- package/dist/engine.mjs +4 -37
- package/dist/generator.cjs +68 -0
- package/dist/generator.d.cts +15 -0
- package/dist/generator.d.cts.map +1 -0
- package/dist/generator.d.mts +15 -0
- package/dist/generator.d.mts.map +1 -0
- package/dist/generator.mjs +66 -0
- package/dist/generator.mjs.map +1 -0
- package/dist/{helpers/get-framework.cjs → get-framework-CxZc2krd.cjs} +7 -8
- package/dist/{helpers/get-framework.mjs → get-framework-Dlqz2hVZ.mjs} +3 -8
- package/dist/get-framework-Dlqz2hVZ.mjs.map +1 -0
- package/dist/helpers/power-plant.cjs +102 -0
- package/dist/helpers/power-plant.d.cts +61 -0
- package/dist/helpers/power-plant.d.cts.map +1 -0
- package/dist/helpers/power-plant.d.mts +61 -0
- package/dist/helpers/power-plant.d.mts.map +1 -0
- package/dist/helpers/power-plant.mjs +99 -0
- package/dist/helpers/power-plant.mjs.map +1 -0
- package/dist/index-D4klH_pj.d.mts +2 -0
- package/dist/index-DYOBadKY.d.cts +2 -0
- package/dist/index.cjs +1 -37
- package/dist/index.d.cts +4 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +4 -6
- package/dist/index.mjs +0 -35
- package/dist/package-B7Vu265G.mjs +6 -0
- package/dist/package-B7Vu265G.mjs.map +1 -0
- package/dist/{package.cjs → package-BLC4qc8t.cjs} +2 -4
- package/dist/plugin-B-hM2twc.mjs +1458 -0
- package/dist/plugin-B-hM2twc.mjs.map +1 -0
- package/dist/plugin-Bhfq0DMC.cjs +1490 -0
- package/dist/plugin-utils/index.cjs +359 -26
- package/dist/plugin-utils/index.d.cts +273 -9
- package/dist/plugin-utils/index.d.cts.map +1 -0
- package/dist/plugin-utils/index.d.mts +273 -9
- package/dist/plugin-utils/index.d.mts.map +1 -0
- package/dist/plugin-utils/index.mjs +346 -10
- package/dist/plugin-utils/index.mjs.map +1 -0
- package/dist/plugin.cjs +3 -496
- package/dist/plugin.d.cts +1 -3
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts +1 -3
- package/dist/plugin.mjs +2 -491
- package/dist/power-plant-LgxcvlMN.d.cts +4 -0
- package/dist/power-plant-LgxcvlMN.d.mts +4 -0
- package/dist/reflect-CSiffeL9.cjs +27 -0
- package/dist/reflect-DXKSFgvS.mjs +23 -0
- package/dist/reflect-DXKSFgvS.mjs.map +1 -0
- package/dist/schemas/env.cjs +91 -0
- package/dist/schemas/env.d.cts +145 -0
- package/dist/schemas/env.d.cts.map +1 -0
- package/dist/schemas/env.d.mts +145 -0
- package/dist/{types → schemas}/env.d.mts.map +1 -1
- package/dist/schemas/env.mjs +91 -0
- package/dist/schemas/index.cjs +4 -0
- package/dist/schemas/index.d.cts +2 -0
- package/dist/schemas/index.d.mts +2 -0
- package/dist/schemas/index.mjs +3 -0
- package/dist/types/command.cjs +0 -402
- package/dist/types/command.d.cts +2 -309
- package/dist/types/command.d.mts +2 -309
- package/dist/types/command.mjs +1 -368
- package/dist/types/config.cjs +0 -175
- package/dist/types/config.d.cts +2 -126
- package/dist/types/config.d.mts +2 -126
- package/dist/types/config.mjs +1 -164
- package/dist/types/context.cjs +0 -45
- package/dist/types/context.d.cts +2 -31
- package/dist/types/context.d.mts +2 -31
- package/dist/types/context.mjs +1 -41
- package/dist/types/index.cjs +3 -53
- package/dist/types/index.d.cts +4 -5
- package/dist/types/index.d.mts +4 -5
- package/dist/types/index.mjs +4 -5
- package/package.json +106 -42
- package/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/dist/api.cjs.map +0 -1
- package/dist/components/command-validation-logic.cjs.map +0 -1
- package/dist/components/docs.cjs.map +0 -1
- package/dist/components/docs.mjs.map +0 -1
- package/dist/components/exec-builtin.cjs.map +0 -1
- package/dist/components/helpers.cjs.map +0 -1
- package/dist/components/options-parser-logic.cjs.map +0 -1
- package/dist/components/state-builtin.cjs.map +0 -1
- package/dist/components/usage.cjs.map +0 -1
- package/dist/components/utils-builtin.cjs.map +0 -1
- package/dist/config.cjs.map +0 -1
- package/dist/contexts/command.cjs.map +0 -1
- package/dist/contexts/options.cjs.map +0 -1
- package/dist/engine.cjs.map +0 -1
- package/dist/helpers/automd.cjs +0 -193
- package/dist/helpers/automd.cjs.map +0 -1
- package/dist/helpers/automd.mjs +0 -190
- package/dist/helpers/automd.mjs.map +0 -1
- package/dist/helpers/docs-helpers.cjs +0 -24
- package/dist/helpers/docs-helpers.cjs.map +0 -1
- package/dist/helpers/docs-helpers.mjs +0 -24
- package/dist/helpers/docs-helpers.mjs.map +0 -1
- package/dist/helpers/get-framework.cjs.map +0 -1
- package/dist/helpers/get-framework.mjs.map +0 -1
- package/dist/helpers/paths.cjs +0 -137
- package/dist/helpers/paths.cjs.map +0 -1
- package/dist/helpers/paths.mjs +0 -134
- package/dist/helpers/paths.mjs.map +0 -1
- package/dist/helpers/persistence.cjs +0 -114
- package/dist/helpers/persistence.cjs.map +0 -1
- package/dist/helpers/persistence.mjs +0 -113
- package/dist/helpers/persistence.mjs.map +0 -1
- package/dist/helpers/update-package-json.cjs +0 -65
- package/dist/helpers/update-package-json.cjs.map +0 -1
- package/dist/helpers/update-package-json.mjs +0 -64
- package/dist/helpers/update-package-json.mjs.map +0 -1
- package/dist/helpers/utilities.cjs +0 -95
- package/dist/helpers/utilities.cjs.map +0 -1
- package/dist/helpers/utilities.mjs +0 -94
- package/dist/helpers/utilities.mjs.map +0 -1
- package/dist/helpers/validations.cjs +0 -71
- package/dist/helpers/validations.cjs.map +0 -1
- package/dist/helpers/validations.mjs +0 -70
- package/dist/helpers/validations.mjs.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/package.cjs.map +0 -1
- package/dist/package.mjs +0 -6
- package/dist/package.mjs.map +0 -1
- package/dist/plugin-utils/compute-bin.cjs +0 -49
- package/dist/plugin-utils/compute-bin.cjs.map +0 -1
- package/dist/plugin-utils/compute-bin.d.cts +0 -13
- package/dist/plugin-utils/compute-bin.d.cts.map +0 -1
- package/dist/plugin-utils/compute-bin.d.mts +0 -13
- package/dist/plugin-utils/compute-bin.d.mts.map +0 -1
- package/dist/plugin-utils/compute-bin.mjs +0 -49
- package/dist/plugin-utils/compute-bin.mjs.map +0 -1
- package/dist/plugin-utils/context-helpers.cjs.map +0 -1
- package/dist/plugin-utils/context-helpers.d.cts +0 -106
- package/dist/plugin-utils/context-helpers.d.cts.map +0 -1
- package/dist/plugin-utils/context-helpers.d.mts +0 -106
- package/dist/plugin-utils/context-helpers.d.mts.map +0 -1
- package/dist/plugin-utils/context-helpers.mjs.map +0 -1
- package/dist/plugin-utils/deepkit.cjs +0 -70
- package/dist/plugin-utils/deepkit.cjs.map +0 -1
- package/dist/plugin-utils/deepkit.d.cts +0 -23
- package/dist/plugin-utils/deepkit.d.cts.map +0 -1
- package/dist/plugin-utils/deepkit.d.mts +0 -23
- package/dist/plugin-utils/deepkit.d.mts.map +0 -1
- package/dist/plugin-utils/deepkit.mjs +0 -69
- package/dist/plugin-utils/deepkit.mjs.map +0 -1
- package/dist/plugin-utils/description-helpers.cjs +0 -112
- package/dist/plugin-utils/description-helpers.cjs.map +0 -1
- package/dist/plugin-utils/description-helpers.d.cts +0 -44
- package/dist/plugin-utils/description-helpers.d.cts.map +0 -1
- package/dist/plugin-utils/description-helpers.d.mts +0 -44
- package/dist/plugin-utils/description-helpers.d.mts.map +0 -1
- package/dist/plugin-utils/description-helpers.mjs +0 -108
- package/dist/plugin-utils/description-helpers.mjs.map +0 -1
- package/dist/plugin-utils/get-command-tree.cjs +0 -118
- package/dist/plugin-utils/get-command-tree.cjs.map +0 -1
- package/dist/plugin-utils/get-command-tree.d.cts +0 -36
- package/dist/plugin-utils/get-command-tree.d.cts.map +0 -1
- package/dist/plugin-utils/get-command-tree.d.mts +0 -36
- package/dist/plugin-utils/get-command-tree.d.mts.map +0 -1
- package/dist/plugin-utils/get-command-tree.mjs +0 -115
- package/dist/plugin-utils/get-command-tree.mjs.map +0 -1
- package/dist/plugin-utils/reflect.cjs +0 -54
- package/dist/plugin-utils/reflect.cjs.map +0 -1
- package/dist/plugin-utils/reflect.d.cts +0 -14
- package/dist/plugin-utils/reflect.d.cts.map +0 -1
- package/dist/plugin-utils/reflect.d.mts +0 -14
- package/dist/plugin-utils/reflect.d.mts.map +0 -1
- package/dist/plugin-utils/reflect.mjs +0 -53
- package/dist/plugin-utils/reflect.mjs.map +0 -1
- package/dist/plugin-utils/traverse-command-tree.cjs +0 -65
- package/dist/plugin-utils/traverse-command-tree.cjs.map +0 -1
- package/dist/plugin-utils/traverse-command-tree.d.cts +0 -22
- package/dist/plugin-utils/traverse-command-tree.d.cts.map +0 -1
- package/dist/plugin-utils/traverse-command-tree.d.mts +0 -22
- package/dist/plugin-utils/traverse-command-tree.d.mts.map +0 -1
- package/dist/plugin-utils/traverse-command-tree.mjs +0 -63
- package/dist/plugin-utils/traverse-command-tree.mjs.map +0 -1
- package/dist/plugin-utils/type-checks.cjs +0 -222
- package/dist/plugin-utils/type-checks.cjs.map +0 -1
- package/dist/plugin-utils/type-checks.d.cts +0 -41
- package/dist/plugin-utils/type-checks.d.cts.map +0 -1
- package/dist/plugin-utils/type-checks.d.mts +0 -41
- package/dist/plugin-utils/type-checks.d.mts.map +0 -1
- package/dist/plugin-utils/type-checks.mjs +0 -218
- package/dist/plugin-utils/type-checks.mjs.map +0 -1
- package/dist/plugin.cjs.map +0 -1
- package/dist/plugin.mjs.map +0 -1
- package/dist/resolver/deepkit.cjs +0 -110
- package/dist/resolver/deepkit.cjs.map +0 -1
- package/dist/resolver/deepkit.mjs +0 -109
- package/dist/resolver/deepkit.mjs.map +0 -1
- package/dist/resolver/helpers.cjs +0 -184
- package/dist/resolver/helpers.cjs.map +0 -1
- package/dist/resolver/helpers.mjs +0 -180
- package/dist/resolver/helpers.mjs.map +0 -1
- package/dist/resolver/resolve.cjs +0 -473
- package/dist/resolver/resolve.cjs.map +0 -1
- package/dist/resolver/resolve.mjs +0 -473
- package/dist/resolver/resolve.mjs.map +0 -1
- package/dist/types/command.cjs.map +0 -1
- package/dist/types/command.d.cts.map +0 -1
- package/dist/types/command.d.mts.map +0 -1
- package/dist/types/command.mjs.map +0 -1
- package/dist/types/config.cjs.map +0 -1
- package/dist/types/config.d.cts.map +0 -1
- package/dist/types/config.d.mts.map +0 -1
- package/dist/types/config.mjs.map +0 -1
- package/dist/types/context.cjs.map +0 -1
- package/dist/types/context.d.cts.map +0 -1
- package/dist/types/context.d.mts.map +0 -1
- package/dist/types/context.mjs.map +0 -1
- package/dist/types/env.cjs +0 -53
- package/dist/types/env.cjs.map +0 -1
- package/dist/types/env.d.cts +0 -71
- package/dist/types/env.d.cts.map +0 -1
- package/dist/types/env.d.mts +0 -71
- package/dist/types/env.mjs +0 -51
- /package/dist/{types → schemas}/env.mjs.map +0 -0
package/dist/types/config.cjs
CHANGED
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
//#region src/types/config.ts
|
|
4
|
-
const __ΩPick = [
|
|
5
|
-
"T",
|
|
6
|
-
"K",
|
|
7
|
-
"Pick",
|
|
8
|
-
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
9
|
-
];
|
|
10
|
-
const __ΩPartial = [
|
|
11
|
-
"T",
|
|
12
|
-
"Partial",
|
|
13
|
-
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
14
|
-
];
|
|
15
|
-
const __ΩOmit = [
|
|
16
|
-
"T",
|
|
17
|
-
"K",
|
|
18
|
-
() => __ΩPick,
|
|
19
|
-
() => __ΩExclude,
|
|
20
|
-
"Omit",
|
|
21
|
-
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
22
|
-
];
|
|
23
|
-
const __ΩRequired = [
|
|
24
|
-
"T",
|
|
25
|
-
"Required",
|
|
26
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
27
|
-
];
|
|
28
|
-
const __ΩRecord = [
|
|
29
|
-
"K",
|
|
30
|
-
"T",
|
|
31
|
-
"Record",
|
|
32
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
33
|
-
];
|
|
34
|
-
const __ΩExclude = [
|
|
35
|
-
"T",
|
|
36
|
-
"U",
|
|
37
|
-
"Exclude",
|
|
38
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
39
|
-
];
|
|
40
|
-
const __ΩDocsOptions = [
|
|
41
|
-
"app",
|
|
42
|
-
"A URL to the application documentation or reference.",
|
|
43
|
-
"commands",
|
|
44
|
-
"A URL to the application command specific documentation or reference.",
|
|
45
|
-
"DocsOptions",
|
|
46
|
-
"P&4!?\"&4#8?$Mw%y"
|
|
47
|
-
];
|
|
48
|
-
const __ΩBaseOptions = [
|
|
49
|
-
"CommandOption",
|
|
50
|
-
"Context",
|
|
51
|
-
"context",
|
|
52
|
-
"CommandBase",
|
|
53
|
-
"input",
|
|
54
|
-
"",
|
|
55
|
-
false,
|
|
56
|
-
"globalOptions",
|
|
57
|
-
"A set of global command options to apply to each command.",
|
|
58
|
-
"isCaseSensitive",
|
|
59
|
-
true,
|
|
60
|
-
"Determines whether commands and option names are treated as case-sensitive.",
|
|
61
|
-
"bin",
|
|
62
|
-
"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).",
|
|
63
|
-
true,
|
|
64
|
-
"autoAssignEnv",
|
|
65
|
-
"Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?",
|
|
66
|
-
() => __ΩDocsOptions,
|
|
67
|
-
"docs",
|
|
68
|
-
"A URL to the command-line interface application's reference documentation.",
|
|
69
|
-
"BaseOptions",
|
|
70
|
-
"PP\"w!FP\"w\"2#\"w$2%\"w!F/&.'J4(8?))4*8>+?,P&&FJ4-8?.P./&J408?1Pn2&J438?4Mw5y"
|
|
71
|
-
];
|
|
72
|
-
const __ΩOptions = [
|
|
73
|
-
() => __ΩBaseOptions,
|
|
74
|
-
() => __ΩPartial,
|
|
75
|
-
"Options",
|
|
76
|
-
"Pn!!o\"\"Kw#y"
|
|
77
|
-
];
|
|
78
|
-
const __ΩOutputConfig = [
|
|
79
|
-
() => __ΩPick,
|
|
80
|
-
"path",
|
|
81
|
-
"copy",
|
|
82
|
-
"storage",
|
|
83
|
-
"sourceMap",
|
|
84
|
-
false,
|
|
85
|
-
"dts",
|
|
86
|
-
"An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.",
|
|
87
|
-
"OutputConfig",
|
|
88
|
-
"P!P.\".#.$.%Jo!#P.&4'8?(MKw)y"
|
|
89
|
-
];
|
|
90
|
-
const __ΩUserConfig = [
|
|
91
|
-
() => __ΩBaseOptions,
|
|
92
|
-
() => __ΩOutputConfig,
|
|
93
|
-
"output",
|
|
94
|
-
"Configuration for the output of the build process",
|
|
95
|
-
"UserConfig",
|
|
96
|
-
"Pn!!Pn\"4#8?$MKw%y"
|
|
97
|
-
];
|
|
98
|
-
const __ΩUserConfigFnObject = [
|
|
99
|
-
"env",
|
|
100
|
-
() => __ΩUserConfig,
|
|
101
|
-
() => __ΩUserConfig,
|
|
102
|
-
"",
|
|
103
|
-
"UserConfigFnObject",
|
|
104
|
-
"P!2!Pn\"n#FJ/$w%y"
|
|
105
|
-
];
|
|
106
|
-
const __ΩUserConfigFnPromise = [
|
|
107
|
-
"env",
|
|
108
|
-
() => __ΩUserConfig,
|
|
109
|
-
() => __ΩUserConfig,
|
|
110
|
-
"",
|
|
111
|
-
"UserConfigFnPromise",
|
|
112
|
-
"P!2!Pn\"n#FJ`/$w%y"
|
|
113
|
-
];
|
|
114
|
-
const __ΩUserConfigFn = [
|
|
115
|
-
"env",
|
|
116
|
-
() => __ΩUserConfig,
|
|
117
|
-
() => __ΩUserConfig,
|
|
118
|
-
() => __ΩUserConfig,
|
|
119
|
-
() => __ΩUserConfig,
|
|
120
|
-
"",
|
|
121
|
-
"UserConfigFn",
|
|
122
|
-
"P!2!Pn\"n#FPn$n%FJ`J/&w'y"
|
|
123
|
-
];
|
|
124
|
-
const __ΩUserConfigExport = [
|
|
125
|
-
() => __ΩUserConfig,
|
|
126
|
-
() => __ΩUserConfig,
|
|
127
|
-
() => __ΩUserConfig,
|
|
128
|
-
() => __ΩUserConfig,
|
|
129
|
-
() => __ΩUserConfigFnObject,
|
|
130
|
-
() => __ΩUserConfigFnPromise,
|
|
131
|
-
() => __ΩUserConfigFn,
|
|
132
|
-
"UserConfigExport",
|
|
133
|
-
"Pn!n\"FPn#n$FJ`n%n&n'Jw(y"
|
|
134
|
-
];
|
|
135
|
-
const __ΩEngineOptions = [
|
|
136
|
-
() => __ΩOmit,
|
|
137
|
-
"root",
|
|
138
|
-
"name",
|
|
139
|
-
"framework",
|
|
140
|
-
"EngineOptions",
|
|
141
|
-
"!P.\".#.$Jo!#w%y"
|
|
142
|
-
];
|
|
143
|
-
const __ΩResolvedConfig = [
|
|
144
|
-
() => __ΩRequired,
|
|
145
|
-
() => __ΩOmit,
|
|
146
|
-
() => __ΩOptions,
|
|
147
|
-
"bin",
|
|
148
|
-
"docs",
|
|
149
|
-
() => __ΩRecord,
|
|
150
|
-
"bin",
|
|
151
|
-
"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).",
|
|
152
|
-
() => __ΩDocsOptions,
|
|
153
|
-
"docs",
|
|
154
|
-
"The URL(s) to the command-line interface application's reference documentation.",
|
|
155
|
-
"appSpecificEnvPrefix",
|
|
156
|
-
"The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.",
|
|
157
|
-
() => __ΩUserConfig,
|
|
158
|
-
"userConfig",
|
|
159
|
-
"The user configuration for the Shell Shock process.",
|
|
160
|
-
"ResolvedConfig",
|
|
161
|
-
"P!!!!n#P.$.%Jo\"#o!\"P&&o'?(n)4*?+&4,?-n.4/?0MKw1y"
|
|
162
|
-
];
|
|
163
|
-
|
|
164
|
-
//#endregion
|
|
165
|
-
exports.__ΩDocsOptions = __ΩDocsOptions;
|
|
166
|
-
exports.__ΩEngineOptions = __ΩEngineOptions;
|
|
167
|
-
exports.__ΩOptions = __ΩOptions;
|
|
168
|
-
exports.__ΩOutputConfig = __ΩOutputConfig;
|
|
169
|
-
exports.__ΩResolvedConfig = __ΩResolvedConfig;
|
|
170
|
-
exports.__ΩUserConfig = __ΩUserConfig;
|
|
171
|
-
exports.__ΩUserConfigExport = __ΩUserConfigExport;
|
|
172
|
-
exports.__ΩUserConfigFn = __ΩUserConfigFn;
|
|
173
|
-
exports.__ΩUserConfigFnObject = __ΩUserConfigFnObject;
|
|
174
|
-
exports.__ΩUserConfigFnPromise = __ΩUserConfigFnPromise;
|
|
175
|
-
//# sourceMappingURL=config.cjs.map
|
package/dist/types/config.d.cts
CHANGED
|
@@ -1,126 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { RequiredKeys } from "@stryke/types/base";
|
|
4
|
-
import { ConfigParams, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
|
|
5
|
-
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
6
|
-
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
7
|
-
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
8
|
-
import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
9
|
-
import { EngineOptions as EngineOptions$1 } from "powerlines/engine";
|
|
10
|
-
|
|
11
|
-
//#region src/types/config.d.ts
|
|
12
|
-
type BuildOptions = Pick<UserConfig$1, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
|
|
13
|
-
interface DocsOptions {
|
|
14
|
-
/**
|
|
15
|
-
* A URL to the application documentation or reference.
|
|
16
|
-
*/
|
|
17
|
-
app: string;
|
|
18
|
-
/**
|
|
19
|
-
* A URL to the application command specific documentation or reference.
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* This URL is expected to contain the token `{command}` or `{cmd}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
23
|
-
*/
|
|
24
|
-
commands?: string;
|
|
25
|
-
}
|
|
26
|
-
interface BaseOptions {
|
|
27
|
-
/**
|
|
28
|
-
* A set of global command options to apply to each command.
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.
|
|
32
|
-
*/
|
|
33
|
-
globalOptions?: CommandOption[] | ((context: Context<any>, input: CommandBase) => CommandOption[]) | false;
|
|
34
|
-
/**
|
|
35
|
-
* Determines whether commands and option names are treated as case-sensitive.
|
|
36
|
-
*
|
|
37
|
-
* @defaultValue `false`
|
|
38
|
-
*/
|
|
39
|
-
isCaseSensitive?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* 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).
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* 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.
|
|
45
|
-
*
|
|
46
|
-
* @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin
|
|
47
|
-
* @see https://yarnpkg.com/cli/bin
|
|
48
|
-
* @see https://pnpm.io/package_json#bin
|
|
49
|
-
*/
|
|
50
|
-
bin?: string | string[];
|
|
51
|
-
/**
|
|
52
|
-
* Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* 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}.
|
|
56
|
-
*
|
|
57
|
-
* @see https://medium.com/chingu/an-introduction-to-environment-variables-and-how-to-use-them-f602f66d15fa
|
|
58
|
-
* @see https://stringcase.org/cases/constant/
|
|
59
|
-
*/
|
|
60
|
-
autoAssignEnv?: true | string;
|
|
61
|
-
/**
|
|
62
|
-
* A URL to the command-line interface application's reference documentation.
|
|
63
|
-
*
|
|
64
|
-
* @remarks
|
|
65
|
-
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` (or `{cmd}`) is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
66
|
-
*/
|
|
67
|
-
docs?: DocsOptions | string;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* The plugin options for Shell Shock.
|
|
71
|
-
*/
|
|
72
|
-
type Options = BaseOptions & Partial<NodeJsPluginOptions>;
|
|
73
|
-
/**
|
|
74
|
-
* The output configuration options for Shell Shock.
|
|
75
|
-
*/
|
|
76
|
-
type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMap"> & {
|
|
77
|
-
/**
|
|
78
|
-
* An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.
|
|
79
|
-
*/
|
|
80
|
-
dts?: false;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* The user configuration options for Shell Shock.
|
|
84
|
-
*/
|
|
85
|
-
type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
|
|
86
|
-
/**
|
|
87
|
-
* Configuration for the output of the build process
|
|
88
|
-
*/
|
|
89
|
-
output?: OutputConfig;
|
|
90
|
-
};
|
|
91
|
-
type UserConfigFnObject = (env: ConfigParams) => UserConfig | UserConfig[];
|
|
92
|
-
type UserConfigFnPromise = (env: ConfigParams) => Promise<UserConfig | UserConfig[]>;
|
|
93
|
-
type UserConfigFn = (env: ConfigParams) => UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]>;
|
|
94
|
-
type UserConfigExport = UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
95
|
-
type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework">;
|
|
96
|
-
/**
|
|
97
|
-
* The resolved configuration options for Shell Shock.
|
|
98
|
-
*/
|
|
99
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "docs">> & {
|
|
100
|
-
/**
|
|
101
|
-
* 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).
|
|
102
|
-
*
|
|
103
|
-
* @remarks
|
|
104
|
-
* 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.
|
|
105
|
-
*
|
|
106
|
-
* @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin
|
|
107
|
-
* @see https://yarnpkg.com/cli/bin
|
|
108
|
-
* @see https://pnpm.io/package_json#bin
|
|
109
|
-
*/
|
|
110
|
-
bin: Record<string, string>;
|
|
111
|
-
/**
|
|
112
|
-
* The URL(s) to the command-line interface application's reference documentation.
|
|
113
|
-
*/
|
|
114
|
-
docs: DocsOptions;
|
|
115
|
-
/**
|
|
116
|
-
* The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.
|
|
117
|
-
*/
|
|
118
|
-
appSpecificEnvPrefix: string;
|
|
119
|
-
/**
|
|
120
|
-
* The user configuration for the Shell Shock process.
|
|
121
|
-
*/
|
|
122
|
-
userConfig: UserConfig;
|
|
123
|
-
};
|
|
124
|
-
//#endregion
|
|
125
|
-
export { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
|
126
|
-
//# sourceMappingURL=config.d.cts.map
|
|
1
|
+
import { a as ResolvedConfig, c as UserConfigFn, i as OutputConfig, l as UserConfigFnObject, n as EngineOptions, o as UserConfig, r as Options, s as UserConfigExport, t as DocsOptions, u as UserConfigFnPromise } from "../config-BIF9mEz0.cjs";
|
|
2
|
+
export { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
package/dist/types/config.d.mts
CHANGED
|
@@ -1,126 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
4
|
-
import { ConfigParams, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
|
|
5
|
-
import { RequiredKeys } from "@stryke/types/base";
|
|
6
|
-
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
7
|
-
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
8
|
-
import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
9
|
-
import { EngineOptions as EngineOptions$1 } from "powerlines/engine";
|
|
10
|
-
|
|
11
|
-
//#region src/types/config.d.ts
|
|
12
|
-
type BuildOptions = Pick<UserConfig$1, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
|
|
13
|
-
interface DocsOptions {
|
|
14
|
-
/**
|
|
15
|
-
* A URL to the application documentation or reference.
|
|
16
|
-
*/
|
|
17
|
-
app: string;
|
|
18
|
-
/**
|
|
19
|
-
* A URL to the application command specific documentation or reference.
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* This URL is expected to contain the token `{command}` or `{cmd}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
23
|
-
*/
|
|
24
|
-
commands?: string;
|
|
25
|
-
}
|
|
26
|
-
interface BaseOptions {
|
|
27
|
-
/**
|
|
28
|
-
* A set of global command options to apply to each command.
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.
|
|
32
|
-
*/
|
|
33
|
-
globalOptions?: CommandOption[] | ((context: Context<any>, input: CommandBase) => CommandOption[]) | false;
|
|
34
|
-
/**
|
|
35
|
-
* Determines whether commands and option names are treated as case-sensitive.
|
|
36
|
-
*
|
|
37
|
-
* @defaultValue `false`
|
|
38
|
-
*/
|
|
39
|
-
isCaseSensitive?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* 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).
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* 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.
|
|
45
|
-
*
|
|
46
|
-
* @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin
|
|
47
|
-
* @see https://yarnpkg.com/cli/bin
|
|
48
|
-
* @see https://pnpm.io/package_json#bin
|
|
49
|
-
*/
|
|
50
|
-
bin?: string | string[];
|
|
51
|
-
/**
|
|
52
|
-
* Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* 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}.
|
|
56
|
-
*
|
|
57
|
-
* @see https://medium.com/chingu/an-introduction-to-environment-variables-and-how-to-use-them-f602f66d15fa
|
|
58
|
-
* @see https://stringcase.org/cases/constant/
|
|
59
|
-
*/
|
|
60
|
-
autoAssignEnv?: true | string;
|
|
61
|
-
/**
|
|
62
|
-
* A URL to the command-line interface application's reference documentation.
|
|
63
|
-
*
|
|
64
|
-
* @remarks
|
|
65
|
-
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` (or `{cmd}`) is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
66
|
-
*/
|
|
67
|
-
docs?: DocsOptions | string;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* The plugin options for Shell Shock.
|
|
71
|
-
*/
|
|
72
|
-
type Options = BaseOptions & Partial<NodeJsPluginOptions>;
|
|
73
|
-
/**
|
|
74
|
-
* The output configuration options for Shell Shock.
|
|
75
|
-
*/
|
|
76
|
-
type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMap"> & {
|
|
77
|
-
/**
|
|
78
|
-
* An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.
|
|
79
|
-
*/
|
|
80
|
-
dts?: false;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* The user configuration options for Shell Shock.
|
|
84
|
-
*/
|
|
85
|
-
type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
|
|
86
|
-
/**
|
|
87
|
-
* Configuration for the output of the build process
|
|
88
|
-
*/
|
|
89
|
-
output?: OutputConfig;
|
|
90
|
-
};
|
|
91
|
-
type UserConfigFnObject = (env: ConfigParams) => UserConfig | UserConfig[];
|
|
92
|
-
type UserConfigFnPromise = (env: ConfigParams) => Promise<UserConfig | UserConfig[]>;
|
|
93
|
-
type UserConfigFn = (env: ConfigParams) => UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]>;
|
|
94
|
-
type UserConfigExport = UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
95
|
-
type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework">;
|
|
96
|
-
/**
|
|
97
|
-
* The resolved configuration options for Shell Shock.
|
|
98
|
-
*/
|
|
99
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "docs">> & {
|
|
100
|
-
/**
|
|
101
|
-
* 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).
|
|
102
|
-
*
|
|
103
|
-
* @remarks
|
|
104
|
-
* 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.
|
|
105
|
-
*
|
|
106
|
-
* @see https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin
|
|
107
|
-
* @see https://yarnpkg.com/cli/bin
|
|
108
|
-
* @see https://pnpm.io/package_json#bin
|
|
109
|
-
*/
|
|
110
|
-
bin: Record<string, string>;
|
|
111
|
-
/**
|
|
112
|
-
* The URL(s) to the command-line interface application's reference documentation.
|
|
113
|
-
*/
|
|
114
|
-
docs: DocsOptions;
|
|
115
|
-
/**
|
|
116
|
-
* The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.
|
|
117
|
-
*/
|
|
118
|
-
appSpecificEnvPrefix: string;
|
|
119
|
-
/**
|
|
120
|
-
* The user configuration for the Shell Shock process.
|
|
121
|
-
*/
|
|
122
|
-
userConfig: UserConfig;
|
|
123
|
-
};
|
|
124
|
-
//#endregion
|
|
125
|
-
export { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
|
126
|
-
//# sourceMappingURL=config.d.mts.map
|
|
1
|
+
import { a as ResolvedConfig, c as UserConfigFn, i as OutputConfig, l as UserConfigFnObject, n as EngineOptions, o as UserConfig, r as Options, s as UserConfigExport, t as DocsOptions, u as UserConfigFnPromise } from "../config-CnNYdfsL.mjs";
|
|
2
|
+
export { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
package/dist/types/config.mjs
CHANGED
|
@@ -1,164 +1 @@
|
|
|
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 __ΩOmit = [
|
|
14
|
-
"T",
|
|
15
|
-
"K",
|
|
16
|
-
() => __ΩPick,
|
|
17
|
-
() => __ΩExclude,
|
|
18
|
-
"Omit",
|
|
19
|
-
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
20
|
-
];
|
|
21
|
-
const __ΩRequired = [
|
|
22
|
-
"T",
|
|
23
|
-
"Required",
|
|
24
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
25
|
-
];
|
|
26
|
-
const __ΩRecord = [
|
|
27
|
-
"K",
|
|
28
|
-
"T",
|
|
29
|
-
"Record",
|
|
30
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
31
|
-
];
|
|
32
|
-
const __ΩExclude = [
|
|
33
|
-
"T",
|
|
34
|
-
"U",
|
|
35
|
-
"Exclude",
|
|
36
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
37
|
-
];
|
|
38
|
-
const __ΩDocsOptions = [
|
|
39
|
-
"app",
|
|
40
|
-
"A URL to the application documentation or reference.",
|
|
41
|
-
"commands",
|
|
42
|
-
"A URL to the application command specific documentation or reference.",
|
|
43
|
-
"DocsOptions",
|
|
44
|
-
"P&4!?\"&4#8?$Mw%y"
|
|
45
|
-
];
|
|
46
|
-
const __ΩBaseOptions = [
|
|
47
|
-
"CommandOption",
|
|
48
|
-
"Context",
|
|
49
|
-
"context",
|
|
50
|
-
"CommandBase",
|
|
51
|
-
"input",
|
|
52
|
-
"",
|
|
53
|
-
false,
|
|
54
|
-
"globalOptions",
|
|
55
|
-
"A set of global command options to apply to each command.",
|
|
56
|
-
"isCaseSensitive",
|
|
57
|
-
true,
|
|
58
|
-
"Determines whether commands and option names are treated as case-sensitive.",
|
|
59
|
-
"bin",
|
|
60
|
-
"The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).",
|
|
61
|
-
true,
|
|
62
|
-
"autoAssignEnv",
|
|
63
|
-
"Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?",
|
|
64
|
-
() => __ΩDocsOptions,
|
|
65
|
-
"docs",
|
|
66
|
-
"A URL to the command-line interface application's reference documentation.",
|
|
67
|
-
"BaseOptions",
|
|
68
|
-
"PP\"w!FP\"w\"2#\"w$2%\"w!F/&.'J4(8?))4*8>+?,P&&FJ4-8?.P./&J408?1Pn2&J438?4Mw5y"
|
|
69
|
-
];
|
|
70
|
-
const __ΩOptions = [
|
|
71
|
-
() => __ΩBaseOptions,
|
|
72
|
-
() => __ΩPartial,
|
|
73
|
-
"Options",
|
|
74
|
-
"Pn!!o\"\"Kw#y"
|
|
75
|
-
];
|
|
76
|
-
const __ΩOutputConfig = [
|
|
77
|
-
() => __ΩPick,
|
|
78
|
-
"path",
|
|
79
|
-
"copy",
|
|
80
|
-
"storage",
|
|
81
|
-
"sourceMap",
|
|
82
|
-
false,
|
|
83
|
-
"dts",
|
|
84
|
-
"An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.",
|
|
85
|
-
"OutputConfig",
|
|
86
|
-
"P!P.\".#.$.%Jo!#P.&4'8?(MKw)y"
|
|
87
|
-
];
|
|
88
|
-
const __ΩUserConfig = [
|
|
89
|
-
() => __ΩBaseOptions,
|
|
90
|
-
() => __ΩOutputConfig,
|
|
91
|
-
"output",
|
|
92
|
-
"Configuration for the output of the build process",
|
|
93
|
-
"UserConfig",
|
|
94
|
-
"Pn!!Pn\"4#8?$MKw%y"
|
|
95
|
-
];
|
|
96
|
-
const __ΩUserConfigFnObject = [
|
|
97
|
-
"env",
|
|
98
|
-
() => __ΩUserConfig,
|
|
99
|
-
() => __ΩUserConfig,
|
|
100
|
-
"",
|
|
101
|
-
"UserConfigFnObject",
|
|
102
|
-
"P!2!Pn\"n#FJ/$w%y"
|
|
103
|
-
];
|
|
104
|
-
const __ΩUserConfigFnPromise = [
|
|
105
|
-
"env",
|
|
106
|
-
() => __ΩUserConfig,
|
|
107
|
-
() => __ΩUserConfig,
|
|
108
|
-
"",
|
|
109
|
-
"UserConfigFnPromise",
|
|
110
|
-
"P!2!Pn\"n#FJ`/$w%y"
|
|
111
|
-
];
|
|
112
|
-
const __ΩUserConfigFn = [
|
|
113
|
-
"env",
|
|
114
|
-
() => __ΩUserConfig,
|
|
115
|
-
() => __ΩUserConfig,
|
|
116
|
-
() => __ΩUserConfig,
|
|
117
|
-
() => __ΩUserConfig,
|
|
118
|
-
"",
|
|
119
|
-
"UserConfigFn",
|
|
120
|
-
"P!2!Pn\"n#FPn$n%FJ`J/&w'y"
|
|
121
|
-
];
|
|
122
|
-
const __ΩUserConfigExport = [
|
|
123
|
-
() => __ΩUserConfig,
|
|
124
|
-
() => __ΩUserConfig,
|
|
125
|
-
() => __ΩUserConfig,
|
|
126
|
-
() => __ΩUserConfig,
|
|
127
|
-
() => __ΩUserConfigFnObject,
|
|
128
|
-
() => __ΩUserConfigFnPromise,
|
|
129
|
-
() => __ΩUserConfigFn,
|
|
130
|
-
"UserConfigExport",
|
|
131
|
-
"Pn!n\"FPn#n$FJ`n%n&n'Jw(y"
|
|
132
|
-
];
|
|
133
|
-
const __ΩEngineOptions = [
|
|
134
|
-
() => __ΩOmit,
|
|
135
|
-
"root",
|
|
136
|
-
"name",
|
|
137
|
-
"framework",
|
|
138
|
-
"EngineOptions",
|
|
139
|
-
"!P.\".#.$Jo!#w%y"
|
|
140
|
-
];
|
|
141
|
-
const __ΩResolvedConfig = [
|
|
142
|
-
() => __ΩRequired,
|
|
143
|
-
() => __ΩOmit,
|
|
144
|
-
() => __ΩOptions,
|
|
145
|
-
"bin",
|
|
146
|
-
"docs",
|
|
147
|
-
() => __ΩRecord,
|
|
148
|
-
"bin",
|
|
149
|
-
"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).",
|
|
150
|
-
() => __ΩDocsOptions,
|
|
151
|
-
"docs",
|
|
152
|
-
"The URL(s) to the command-line interface application's reference documentation.",
|
|
153
|
-
"appSpecificEnvPrefix",
|
|
154
|
-
"The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.",
|
|
155
|
-
() => __ΩUserConfig,
|
|
156
|
-
"userConfig",
|
|
157
|
-
"The user configuration for the Shell Shock process.",
|
|
158
|
-
"ResolvedConfig",
|
|
159
|
-
"P!!!!n#P.$.%Jo\"#o!\"P&&o'?(n)4*?+&4,?-n.4/?0MKw1y"
|
|
160
|
-
];
|
|
161
|
-
|
|
162
|
-
//#endregion
|
|
163
|
-
export { __ΩDocsOptions, __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩUserConfig, __ΩUserConfigExport, __ΩUserConfigFn, __ΩUserConfigFnObject, __ΩUserConfigFnPromise };
|
|
164
|
-
//# sourceMappingURL=config.mjs.map
|
|
1
|
+
export { };
|
package/dist/types/context.cjs
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
//#region src/types/context.ts
|
|
4
|
-
const __ΩRecord = [
|
|
5
|
-
"K",
|
|
6
|
-
"T",
|
|
7
|
-
"Record",
|
|
8
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
9
|
-
];
|
|
10
|
-
const __ΩContext = [
|
|
11
|
-
"ResolvedConfig",
|
|
12
|
-
"TResolvedConfig",
|
|
13
|
-
"commandsPath",
|
|
14
|
-
"The root path where commands are located.",
|
|
15
|
-
"CommandOption",
|
|
16
|
-
"globalOptions",
|
|
17
|
-
"The default command arguments to apply to all application commands.",
|
|
18
|
-
"CommandConfig",
|
|
19
|
-
"inputs",
|
|
20
|
-
"The list of commands discovered in the project.",
|
|
21
|
-
() => __ΩRecord,
|
|
22
|
-
"CommandTree",
|
|
23
|
-
"commands",
|
|
24
|
-
"The command-line application structure.",
|
|
25
|
-
"Context",
|
|
26
|
-
"\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
|
|
27
|
-
];
|
|
28
|
-
const __ΩExecutionContext = [
|
|
29
|
-
"ResolvedConfig",
|
|
30
|
-
"TResolvedConfig",
|
|
31
|
-
"ExecutionContext",
|
|
32
|
-
"\"w!c\"!w#y"
|
|
33
|
-
];
|
|
34
|
-
const __ΩUnresolvedContext = [
|
|
35
|
-
"ResolvedConfig",
|
|
36
|
-
"TResolvedConfig",
|
|
37
|
-
"UnresolvedContext",
|
|
38
|
-
"\"w!c\"!w#y"
|
|
39
|
-
];
|
|
40
|
-
|
|
41
|
-
//#endregion
|
|
42
|
-
exports.__ΩContext = __ΩContext;
|
|
43
|
-
exports.__ΩExecutionContext = __ΩExecutionContext;
|
|
44
|
-
exports.__ΩUnresolvedContext = __ΩUnresolvedContext;
|
|
45
|
-
//# sourceMappingURL=context.cjs.map
|
package/dist/types/context.d.cts
CHANGED
|
@@ -1,31 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { ExecutionContext as ExecutionContext$1, UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
4
|
-
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
5
|
-
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
6
|
-
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
7
|
-
|
|
8
|
-
//#region src/types/context.d.ts
|
|
9
|
-
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & AlloyPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
10
|
-
/**
|
|
11
|
-
* The root path where commands are located.
|
|
12
|
-
*/
|
|
13
|
-
commandsPath: string;
|
|
14
|
-
/**
|
|
15
|
-
* The default command arguments to apply to all application commands.
|
|
16
|
-
*/
|
|
17
|
-
globalOptions: CommandOption[];
|
|
18
|
-
/**
|
|
19
|
-
* The list of commands discovered in the project.
|
|
20
|
-
*/
|
|
21
|
-
inputs: CommandConfig[];
|
|
22
|
-
/**
|
|
23
|
-
* The command-line application structure.
|
|
24
|
-
*/
|
|
25
|
-
commands: Record<string, CommandTree>;
|
|
26
|
-
};
|
|
27
|
-
type ExecutionContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = ExecutionContext$1<TResolvedConfig>;
|
|
28
|
-
type UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnresolvedContext$1<TResolvedConfig>;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Context, ExecutionContext, UnresolvedContext };
|
|
31
|
-
//# sourceMappingURL=context.d.cts.map
|
|
1
|
+
import { d as CommandGeneratorOptions, f as Context, m as UnresolvedContext, p as ExecutionContext } from "../config-BIF9mEz0.cjs";
|
|
2
|
+
export { CommandGeneratorOptions, Context, ExecutionContext, UnresolvedContext };
|