@shell-shock/preset-script 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/components/args-parser-logic.d.cts +7 -7
- package/dist/components/args-parser-logic.d.cts.map +1 -1
- package/dist/components/bin-entry.cjs +0 -1
- package/dist/components/bin-entry.cjs.map +1 -1
- package/dist/components/bin-entry.d.cts.map +1 -1
- package/dist/components/bin-entry.d.mts.map +1 -1
- package/dist/components/bin-entry.mjs +0 -1
- package/dist/components/bin-entry.mjs.map +1 -1
- package/dist/components/command-entry.d.cts +4 -4
- package/dist/components/command-entry.d.mts +4 -4
- package/dist/components/command-entry.d.mts.map +1 -1
- package/dist/components/command-router.cjs +5 -7
- package/dist/components/command-router.cjs.map +1 -1
- package/dist/components/command-router.mjs +5 -7
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/console-builtin.cjs +314 -82
- package/dist/components/console-builtin.cjs.map +1 -1
- package/dist/components/console-builtin.d.cts +12 -2
- package/dist/components/console-builtin.d.cts.map +1 -1
- package/dist/components/console-builtin.d.mts +12 -2
- package/dist/components/console-builtin.d.mts.map +1 -1
- package/dist/components/console-builtin.mjs +315 -84
- package/dist/components/console-builtin.mjs.map +1 -1
- package/dist/components/help.cjs +35 -23
- package/dist/components/help.cjs.map +1 -1
- package/dist/components/help.d.cts +19 -11
- package/dist/components/help.d.cts.map +1 -1
- package/dist/components/help.d.mts +19 -11
- package/dist/components/help.d.mts.map +1 -1
- package/dist/components/help.mjs +36 -24
- package/dist/components/help.mjs.map +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +3 -3
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/components/utils-builtin.cjs +18 -16
- package/dist/components/utils-builtin.cjs.map +1 -1
- package/dist/components/utils-builtin.d.cts +7 -7
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +7 -7
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +18 -16
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.d.cts +3 -3
- package/dist/components/virtual-command-entry.d.cts.map +1 -1
- package/dist/helpers/ansi-utils.cjs +74 -10
- package/dist/helpers/ansi-utils.cjs.map +1 -1
- package/dist/helpers/ansi-utils.mjs +74 -10
- package/dist/helpers/ansi-utils.mjs.map +1 -1
- package/dist/helpers/get-default-options.cjs +20 -0
- package/dist/helpers/get-default-options.cjs.map +1 -1
- package/dist/helpers/get-default-options.mjs +20 -0
- package/dist/helpers/get-default-options.mjs.map +1 -1
- package/dist/index.cjs +97 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +99 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -12,7 +12,6 @@ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
|
12
12
|
let __alloy_js_core = require("@alloy-js/core");
|
|
13
13
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
14
14
|
let __powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
15
|
-
let __shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
16
15
|
let __shell_shock_core_plugin_utils_context_helpers = require("@shell-shock/core/plugin-utils/context-helpers");
|
|
17
16
|
let __shell_shock_plugin_theme = require("@shell-shock/plugin-theme");
|
|
18
17
|
__shell_shock_plugin_theme = require_rolldown_runtime.__toESM(__shell_shock_plugin_theme);
|
|
@@ -49,96 +48,119 @@ const plugin = (options = {}) => {
|
|
|
49
48
|
async handler() {
|
|
50
49
|
const _self$ = this;
|
|
51
50
|
this.debug("Rendering entrypoint modules for the Shell Shock `script` preset.");
|
|
52
|
-
const commands = this.inputs.map((input) => (0, __shell_shock_core_plugin_utils.getCommandTree)(this, input.path.segments)).filter(Boolean);
|
|
53
51
|
return (0, __powerlines_plugin_alloy_render.render)(this, [(0, __alloy_js_core_jsx_runtime.createComponent)(require_components_bin_entry.BinEntry, {
|
|
54
52
|
builtinImports: {
|
|
55
53
|
console: [
|
|
56
54
|
"divider",
|
|
57
55
|
"writeLine",
|
|
58
|
-
"colors"
|
|
56
|
+
"colors",
|
|
57
|
+
"banner",
|
|
58
|
+
"help"
|
|
59
59
|
],
|
|
60
60
|
utils: ["getArgs"]
|
|
61
61
|
},
|
|
62
62
|
get children() {
|
|
63
|
-
return
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
writeLine("");
|
|
90
|
-
divider({ style: "primary" });
|
|
91
|
-
writeLine("");
|
|
92
|
-
writeLine("");`),
|
|
93
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
94
|
-
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
95
|
-
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
96
|
-
get each() {
|
|
97
|
-
return Object.values(commands);
|
|
98
|
-
},
|
|
99
|
-
doubleHardline: true,
|
|
100
|
-
joiner: __alloy_js_core.code`
|
|
101
|
-
writeLine("");
|
|
102
|
-
divider({ style: "secondary" });
|
|
103
|
-
writeLine("");
|
|
63
|
+
return [
|
|
64
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
65
|
+
get when() {
|
|
66
|
+
return Object.keys(_self$.commands).length > 0;
|
|
67
|
+
},
|
|
68
|
+
get children() {
|
|
69
|
+
return [
|
|
70
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.VarDeclaration, {
|
|
71
|
+
"const": true,
|
|
72
|
+
name: "args",
|
|
73
|
+
type: "string[]",
|
|
74
|
+
initializer: __alloy_js_core.code`getArgs();`
|
|
75
|
+
}),
|
|
76
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
77
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(require_components_command_router.CommandRouter, {
|
|
78
|
+
path: [],
|
|
79
|
+
get commands() {
|
|
80
|
+
return _self$.commands ?? {};
|
|
81
|
+
}
|
|
82
|
+
}),
|
|
83
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
84
|
+
];
|
|
85
|
+
}
|
|
86
|
+
}),
|
|
87
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
88
|
+
__alloy_js_core.code`
|
|
104
89
|
writeLine("");
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
90
|
+
banner();
|
|
91
|
+
writeLine(""); `,
|
|
92
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
93
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
94
|
+
__alloy_js_core.code`writeLine(colors.text.heading.secondary("Global Options:"));`,
|
|
95
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
96
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(require_components_help.HelpOptions, { get options() {
|
|
97
|
+
return _self$.options;
|
|
98
|
+
} }),
|
|
99
|
+
__alloy_js_core.code`writeLine(""); `,
|
|
100
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
101
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
102
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
103
|
+
get when() {
|
|
104
|
+
return Object.keys(_self$.commands).length > 0;
|
|
105
|
+
},
|
|
106
|
+
get children() {
|
|
107
|
+
return [
|
|
108
|
+
__alloy_js_core.code`writeLine(colors.text.body.secondary("The following commands are available:"));
|
|
109
|
+
writeLine(""); `,
|
|
110
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
111
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
112
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
113
|
+
get each() {
|
|
114
|
+
return Object.values(_self$.commands);
|
|
115
|
+
},
|
|
116
|
+
doubleHardline: true,
|
|
117
|
+
joiner: __alloy_js_core.code`writeLine(""); `,
|
|
118
|
+
ender: __alloy_js_core.code`writeLine(""); `,
|
|
119
|
+
children: (child) => [
|
|
120
|
+
(0, __alloy_js_core_jsx_runtime.memo)(() => __alloy_js_core.code`
|
|
121
|
+
writeLine(colors.text.heading.primary("${child.title} ${child.isVirtual ? "" : "Command"}"));
|
|
110
122
|
writeLine("");
|
|
111
123
|
writeLine(colors.text.body.secondary("${child.description}"));
|
|
112
124
|
writeLine("");
|
|
113
|
-
writeLine("");
|
|
114
125
|
`),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
126
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
|
|
127
|
+
(0, __alloy_js_core_jsx_runtime.createComponent)(require_components_help.Help, {
|
|
128
|
+
command: child,
|
|
129
|
+
indent: 2
|
|
130
|
+
}),
|
|
131
|
+
(0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
132
|
+
]
|
|
133
|
+
}),
|
|
134
|
+
(0, __alloy_js_core_jsx_runtime.memo)(() => __alloy_js_core.code`help("Running a specific command with the help flag (via: '${(0, __shell_shock_core_plugin_utils_context_helpers.getAppBin)(_self$)} <specific command> --help') will provide additional information that is specific to that command.");
|
|
135
|
+
writeLine("");`)
|
|
136
|
+
];
|
|
137
|
+
}
|
|
138
|
+
})
|
|
139
|
+
];
|
|
125
140
|
}
|
|
126
|
-
}), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.
|
|
127
|
-
get
|
|
128
|
-
return Object.values(commands);
|
|
141
|
+
}), (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
142
|
+
get when() {
|
|
143
|
+
return Object.values(_self$.commands).length > 0;
|
|
129
144
|
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
145
|
+
get children() {
|
|
146
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.For, {
|
|
147
|
+
get each() {
|
|
148
|
+
return Object.values(_self$.commands);
|
|
149
|
+
},
|
|
150
|
+
doubleHardline: true,
|
|
151
|
+
children: (child) => (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
152
|
+
get when() {
|
|
153
|
+
return child.isVirtual;
|
|
154
|
+
},
|
|
155
|
+
get fallback() {
|
|
156
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_components_command_entry.CommandEntry, { command: child });
|
|
157
|
+
},
|
|
158
|
+
get children() {
|
|
159
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_components_virtual_command_entry.VirtualCommandEntry, { command: child });
|
|
160
|
+
}
|
|
161
|
+
})
|
|
162
|
+
});
|
|
163
|
+
}
|
|
142
164
|
})]);
|
|
143
165
|
}
|
|
144
166
|
}
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["code","For","Show","VarDeclaration","render","
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["code","For","Show","VarDeclaration","render","getAppBin","theme","BinEntry","CommandEntry","CommandRouter","ConsoleBuiltin","Help","HelpOptions","UtilsBuiltin","VirtualCommandEntry","getDefaultOptions","plugin","options","name","config","debug","defaultOptions","isCaseSensitive","configResolved","dependencies","didyoumean2","prepare","_$createComponent","order","handler","_self$","builtinImports","console","utils","children","when","Object","keys","commands","length","type","initializer","_$createIntrinsic","path","each","values","doubleHardline","joiner","ender","child","_$memo","title","isVirtual","description","command","indent","fallback"],"sources":["../src/index.tsx"],"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 { code, For, Show } from \"@alloy-js/core\";\nimport { VarDeclaration } from \"@alloy-js/typescript\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { getAppBin } from \"@shell-shock/core/plugin-utils/context-helpers\";\nimport theme from \"@shell-shock/plugin-theme\";\nimport type { Plugin } from \"powerlines/types/plugin\";\nimport { BinEntry } from \"./components/bin-entry\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { ConsoleBuiltin } from \"./components/console-builtin\";\nimport { Help, HelpOptions } from \"./components/help\";\nimport { UtilsBuiltin } from \"./components/utils-builtin\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getDefaultOptions } from \"./helpers/get-default-options\";\nimport type { ScriptPresetContext, ScriptPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock base plugin.\n */\nexport const plugin = <\n TContext extends ScriptPresetContext = ScriptPresetContext\n>(\n options: ScriptPresetOptions = {}\n) => {\n return [\n theme({\n theme: options.theme\n }),\n {\n name: \"shell-shock:script-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `script` preset.\"\n );\n\n return {\n defaultOptions: getDefaultOptions,\n isCaseSensitive: false,\n ...options\n };\n },\n configResolved() {\n this.dependencies.didyoumean2 = \"^7.0.4\";\n },\n async prepare() {\n this.debug(\n \"Rendering built-in modules for the Shell Shock `script` preset.\"\n );\n\n return render(\n this,\n <>\n <UtilsBuiltin />\n <ConsoleBuiltin />\n </>\n );\n }\n },\n {\n name: \"shell-shock:script-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `script` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\"divider\", \"writeLine\", \"colors\", \"banner\", \"help\"],\n utils: [\"getArgs\"]\n }}>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n const\n name=\"args\"\n type=\"string[]\"\n initializer={code`getArgs();`}\n />\n <hbr />\n <CommandRouter path={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`\n writeLine(\"\");\n banner();\n writeLine(\"\"); `}\n <hbr />\n <hbr />\n {code`writeLine(colors.text.heading.secondary(\"Global Options:\"));`}\n <hbr />\n <HelpOptions options={this.options} />\n {code`writeLine(\"\"); `}\n <hbr />\n <hbr />\n <Show when={Object.keys(this.commands).length > 0}>\n {code`writeLine(colors.text.body.secondary(\"The following commands are available:\"));\n writeLine(\"\"); `}\n <hbr />\n <hbr />\n <For\n each={Object.values(this.commands)}\n doubleHardline\n joiner={code`writeLine(\"\"); `}\n ender={code`writeLine(\"\"); `}>\n {child => (\n <>\n {code`\n writeLine(colors.text.heading.primary(\"${child.title} ${child.isVirtual ? \"\" : \"Command\"}\"));\n writeLine(\"\");\n writeLine(colors.text.body.secondary(\"${child.description}\"));\n writeLine(\"\");\n `}\n <hbr />\n <Help command={child} indent={2} />\n <hbr />\n </>\n )}\n </For>\n {code`help(\"Running a specific command with the help flag (via: '${getAppBin(this)} <specific command> --help') will provide additional information that is specific to that command.\");\n writeLine(\"\");`}\n </Show>\n </BinEntry>\n <Show when={Object.values(this.commands).length > 0}>\n <For each={Object.values(this.commands)} doubleHardline>\n {child => (\n <Show\n when={child.isVirtual}\n fallback={<CommandEntry command={child} />}>\n <VirtualCommandEntry command={child} />\n </Show>\n )}\n </For>\n </Show>\n </>\n );\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":"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"}
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;AACmB,cADN,MACM,EAAA,CAAA,iBAAA,mBAAA,GAAsB,mBAAtB,CAAA,CAAA,OAAA,CAAA,EAER,mBAFQ,EAAA,GA2HZ,MA3HY,CA2HL,QA3HK,CAAA,EAAA"}
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;AAqCA;AACmB,cADN,MACM,EAAA,CAAA,iBAAA,mBAAA,GAAsB,mBAAtB,CAAA,CAAA,OAAA,CAAA,EAER,mBAFQ,EAAA,GA2HZ,MA3HY,CA2HL,QA3HK,CAAA,EAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinEntry } from "./components/bin-entry.mjs";
|
|
2
|
-
import { Help } from "./components/help.mjs";
|
|
2
|
+
import { Help, HelpOptions } from "./components/help.mjs";
|
|
3
3
|
import { CommandRouter } from "./components/command-router.mjs";
|
|
4
4
|
import { VirtualCommandEntry } from "./components/virtual-command-entry.mjs";
|
|
5
5
|
import { CommandEntry } from "./components/command-entry.mjs";
|
|
@@ -10,8 +10,7 @@ import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runti
|
|
|
10
10
|
import { For, Show, code } from "@alloy-js/core";
|
|
11
11
|
import { VarDeclaration } from "@alloy-js/typescript";
|
|
12
12
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
13
|
-
import {
|
|
14
|
-
import { getAppDescription, getAppTitle } from "@shell-shock/core/plugin-utils/context-helpers";
|
|
13
|
+
import { getAppBin } from "@shell-shock/core/plugin-utils/context-helpers";
|
|
15
14
|
import theme from "@shell-shock/plugin-theme";
|
|
16
15
|
|
|
17
16
|
//#region src/index.tsx
|
|
@@ -46,96 +45,119 @@ const plugin = (options = {}) => {
|
|
|
46
45
|
async handler() {
|
|
47
46
|
const _self$ = this;
|
|
48
47
|
this.debug("Rendering entrypoint modules for the Shell Shock `script` preset.");
|
|
49
|
-
const commands = this.inputs.map((input) => getCommandTree(this, input.path.segments)).filter(Boolean);
|
|
50
48
|
return render(this, [createComponent(BinEntry, {
|
|
51
49
|
builtinImports: {
|
|
52
50
|
console: [
|
|
53
51
|
"divider",
|
|
54
52
|
"writeLine",
|
|
55
|
-
"colors"
|
|
53
|
+
"colors",
|
|
54
|
+
"banner",
|
|
55
|
+
"help"
|
|
56
56
|
],
|
|
57
57
|
utils: ["getArgs"]
|
|
58
58
|
},
|
|
59
59
|
get children() {
|
|
60
|
-
return
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
writeLine("");
|
|
87
|
-
divider({ style: "primary" });
|
|
88
|
-
writeLine("");
|
|
89
|
-
writeLine("");`),
|
|
90
|
-
createIntrinsic("hbr", {}),
|
|
91
|
-
createIntrinsic("hbr", {}),
|
|
92
|
-
createComponent(For, {
|
|
93
|
-
get each() {
|
|
94
|
-
return Object.values(commands);
|
|
95
|
-
},
|
|
96
|
-
doubleHardline: true,
|
|
97
|
-
joiner: code`
|
|
98
|
-
writeLine("");
|
|
99
|
-
divider({ style: "secondary" });
|
|
100
|
-
writeLine("");
|
|
60
|
+
return [
|
|
61
|
+
createComponent(Show, {
|
|
62
|
+
get when() {
|
|
63
|
+
return Object.keys(_self$.commands).length > 0;
|
|
64
|
+
},
|
|
65
|
+
get children() {
|
|
66
|
+
return [
|
|
67
|
+
createComponent(VarDeclaration, {
|
|
68
|
+
"const": true,
|
|
69
|
+
name: "args",
|
|
70
|
+
type: "string[]",
|
|
71
|
+
initializer: code`getArgs();`
|
|
72
|
+
}),
|
|
73
|
+
createIntrinsic("hbr", {}),
|
|
74
|
+
createComponent(CommandRouter, {
|
|
75
|
+
path: [],
|
|
76
|
+
get commands() {
|
|
77
|
+
return _self$.commands ?? {};
|
|
78
|
+
}
|
|
79
|
+
}),
|
|
80
|
+
createIntrinsic("hbr", {})
|
|
81
|
+
];
|
|
82
|
+
}
|
|
83
|
+
}),
|
|
84
|
+
createIntrinsic("hbr", {}),
|
|
85
|
+
code`
|
|
101
86
|
writeLine("");
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
87
|
+
banner();
|
|
88
|
+
writeLine(""); `,
|
|
89
|
+
createIntrinsic("hbr", {}),
|
|
90
|
+
createIntrinsic("hbr", {}),
|
|
91
|
+
code`writeLine(colors.text.heading.secondary("Global Options:"));`,
|
|
92
|
+
createIntrinsic("hbr", {}),
|
|
93
|
+
createComponent(HelpOptions, { get options() {
|
|
94
|
+
return _self$.options;
|
|
95
|
+
} }),
|
|
96
|
+
code`writeLine(""); `,
|
|
97
|
+
createIntrinsic("hbr", {}),
|
|
98
|
+
createIntrinsic("hbr", {}),
|
|
99
|
+
createComponent(Show, {
|
|
100
|
+
get when() {
|
|
101
|
+
return Object.keys(_self$.commands).length > 0;
|
|
102
|
+
},
|
|
103
|
+
get children() {
|
|
104
|
+
return [
|
|
105
|
+
code`writeLine(colors.text.body.secondary("The following commands are available:"));
|
|
106
|
+
writeLine(""); `,
|
|
107
|
+
createIntrinsic("hbr", {}),
|
|
108
|
+
createIntrinsic("hbr", {}),
|
|
109
|
+
createComponent(For, {
|
|
110
|
+
get each() {
|
|
111
|
+
return Object.values(_self$.commands);
|
|
112
|
+
},
|
|
113
|
+
doubleHardline: true,
|
|
114
|
+
joiner: code`writeLine(""); `,
|
|
115
|
+
ender: code`writeLine(""); `,
|
|
116
|
+
children: (child) => [
|
|
117
|
+
memo(() => code`
|
|
118
|
+
writeLine(colors.text.heading.primary("${child.title} ${child.isVirtual ? "" : "Command"}"));
|
|
107
119
|
writeLine("");
|
|
108
120
|
writeLine(colors.text.body.secondary("${child.description}"));
|
|
109
121
|
writeLine("");
|
|
110
|
-
writeLine("");
|
|
111
122
|
`),
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
123
|
+
createIntrinsic("hbr", {}),
|
|
124
|
+
createComponent(Help, {
|
|
125
|
+
command: child,
|
|
126
|
+
indent: 2
|
|
127
|
+
}),
|
|
128
|
+
createIntrinsic("hbr", {})
|
|
129
|
+
]
|
|
130
|
+
}),
|
|
131
|
+
memo(() => code`help("Running a specific command with the help flag (via: '${getAppBin(_self$)} <specific command> --help') will provide additional information that is specific to that command.");
|
|
132
|
+
writeLine("");`)
|
|
133
|
+
];
|
|
134
|
+
}
|
|
135
|
+
})
|
|
136
|
+
];
|
|
122
137
|
}
|
|
123
|
-
}), createComponent(
|
|
124
|
-
get
|
|
125
|
-
return Object.values(commands);
|
|
138
|
+
}), createComponent(Show, {
|
|
139
|
+
get when() {
|
|
140
|
+
return Object.values(_self$.commands).length > 0;
|
|
126
141
|
},
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
142
|
+
get children() {
|
|
143
|
+
return createComponent(For, {
|
|
144
|
+
get each() {
|
|
145
|
+
return Object.values(_self$.commands);
|
|
146
|
+
},
|
|
147
|
+
doubleHardline: true,
|
|
148
|
+
children: (child) => createComponent(Show, {
|
|
149
|
+
get when() {
|
|
150
|
+
return child.isVirtual;
|
|
151
|
+
},
|
|
152
|
+
get fallback() {
|
|
153
|
+
return createComponent(CommandEntry, { command: child });
|
|
154
|
+
},
|
|
155
|
+
get children() {
|
|
156
|
+
return createComponent(VirtualCommandEntry, { command: child });
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
});
|
|
160
|
+
}
|
|
139
161
|
})]);
|
|
140
162
|
}
|
|
141
163
|
}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["code","For","Show","VarDeclaration","render","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["code","For","Show","VarDeclaration","render","getAppBin","theme","BinEntry","CommandEntry","CommandRouter","ConsoleBuiltin","Help","HelpOptions","UtilsBuiltin","VirtualCommandEntry","getDefaultOptions","plugin","options","name","config","debug","defaultOptions","isCaseSensitive","configResolved","dependencies","didyoumean2","prepare","_$createComponent","order","handler","_self$","builtinImports","console","utils","children","when","Object","keys","commands","length","type","initializer","_$createIntrinsic","path","each","values","doubleHardline","joiner","ender","child","_$memo","title","isVirtual","description","command","indent","fallback"],"sources":["../src/index.tsx"],"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 { code, For, Show } from \"@alloy-js/core\";\nimport { VarDeclaration } from \"@alloy-js/typescript\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { getAppBin } from \"@shell-shock/core/plugin-utils/context-helpers\";\nimport theme from \"@shell-shock/plugin-theme\";\nimport type { Plugin } from \"powerlines/types/plugin\";\nimport { BinEntry } from \"./components/bin-entry\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { ConsoleBuiltin } from \"./components/console-builtin\";\nimport { Help, HelpOptions } from \"./components/help\";\nimport { UtilsBuiltin } from \"./components/utils-builtin\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getDefaultOptions } from \"./helpers/get-default-options\";\nimport type { ScriptPresetContext, ScriptPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock base plugin.\n */\nexport const plugin = <\n TContext extends ScriptPresetContext = ScriptPresetContext\n>(\n options: ScriptPresetOptions = {}\n) => {\n return [\n theme({\n theme: options.theme\n }),\n {\n name: \"shell-shock:script-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `script` preset.\"\n );\n\n return {\n defaultOptions: getDefaultOptions,\n isCaseSensitive: false,\n ...options\n };\n },\n configResolved() {\n this.dependencies.didyoumean2 = \"^7.0.4\";\n },\n async prepare() {\n this.debug(\n \"Rendering built-in modules for the Shell Shock `script` preset.\"\n );\n\n return render(\n this,\n <>\n <UtilsBuiltin />\n <ConsoleBuiltin />\n </>\n );\n }\n },\n {\n name: \"shell-shock:script-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `script` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\"divider\", \"writeLine\", \"colors\", \"banner\", \"help\"],\n utils: [\"getArgs\"]\n }}>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n const\n name=\"args\"\n type=\"string[]\"\n initializer={code`getArgs();`}\n />\n <hbr />\n <CommandRouter path={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`\n writeLine(\"\");\n banner();\n writeLine(\"\"); `}\n <hbr />\n <hbr />\n {code`writeLine(colors.text.heading.secondary(\"Global Options:\"));`}\n <hbr />\n <HelpOptions options={this.options} />\n {code`writeLine(\"\"); `}\n <hbr />\n <hbr />\n <Show when={Object.keys(this.commands).length > 0}>\n {code`writeLine(colors.text.body.secondary(\"The following commands are available:\"));\n writeLine(\"\"); `}\n <hbr />\n <hbr />\n <For\n each={Object.values(this.commands)}\n doubleHardline\n joiner={code`writeLine(\"\"); `}\n ender={code`writeLine(\"\"); `}>\n {child => (\n <>\n {code`\n writeLine(colors.text.heading.primary(\"${child.title} ${child.isVirtual ? \"\" : \"Command\"}\"));\n writeLine(\"\");\n writeLine(colors.text.body.secondary(\"${child.description}\"));\n writeLine(\"\");\n `}\n <hbr />\n <Help command={child} indent={2} />\n <hbr />\n </>\n )}\n </For>\n {code`help(\"Running a specific command with the help flag (via: '${getAppBin(this)} <specific command> --help') will provide additional information that is specific to that command.\");\n writeLine(\"\");`}\n </Show>\n </BinEntry>\n <Show when={Object.values(this.commands).length > 0}>\n <For each={Object.values(this.commands)} doubleHardline>\n {child => (\n <Show\n when={child.isVirtual}\n fallback={<CommandEntry command={child} />}>\n <VirtualCommandEntry command={child} />\n </Show>\n )}\n </For>\n </Show>\n </>\n );\n }\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/preset-script",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Shell Shock preset that generates a fully-featured script application.",
|
|
6
6
|
"repository": {
|
|
@@ -251,23 +251,23 @@
|
|
|
251
251
|
"dependencies": {
|
|
252
252
|
"@alloy-js/core": "0.22.0",
|
|
253
253
|
"@alloy-js/typescript": "^0.22.0",
|
|
254
|
-
"@powerlines/deepkit": "^0.6.
|
|
255
|
-
"@powerlines/plugin-alloy": "^0.20.
|
|
256
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
257
|
-
"@shell-shock/core": "^0.4.
|
|
258
|
-
"@shell-shock/plugin-theme": "^0.0.
|
|
254
|
+
"@powerlines/deepkit": "^0.6.46",
|
|
255
|
+
"@powerlines/plugin-alloy": "^0.20.9",
|
|
256
|
+
"@powerlines/plugin-plugin": "^0.12.217",
|
|
257
|
+
"@shell-shock/core": "^0.4.2",
|
|
258
|
+
"@shell-shock/plugin-theme": "^0.0.10",
|
|
259
259
|
"@stryke/path": "^0.26.4",
|
|
260
260
|
"@stryke/string-format": "^0.13.7",
|
|
261
261
|
"@stryke/type-checks": "^0.5.23",
|
|
262
262
|
"defu": "^6.1.4",
|
|
263
|
-
"powerlines": "^0.38.
|
|
263
|
+
"powerlines": "^0.38.33",
|
|
264
264
|
"@stryke/helpers": "0.9.40"
|
|
265
265
|
},
|
|
266
266
|
"devDependencies": {
|
|
267
267
|
"@babel/core": "^7.29.0",
|
|
268
|
-
"@powerlines/plugin-alloy": "^0.20.
|
|
269
|
-
"@types/node": "^22.19.
|
|
268
|
+
"@powerlines/plugin-alloy": "^0.20.9",
|
|
269
|
+
"@types/node": "^22.19.8"
|
|
270
270
|
},
|
|
271
271
|
"publishConfig": { "access": "public" },
|
|
272
|
-
"gitHead": "
|
|
272
|
+
"gitHead": "93f7eadb6fb5670226a117c04e7e8b505554d76d"
|
|
273
273
|
}
|