@shell-shock/preset-cli 0.6.0 → 0.7.1
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/components/banner-function-declaration.cjs +5 -5
- package/dist/components/banner-function-declaration.d.mts +2 -2
- package/dist/components/banner-function-declaration.d.mts.map +1 -1
- package/dist/components/banner-function-declaration.mjs +5 -5
- package/dist/components/banner-function-declaration.mjs.map +1 -1
- package/dist/components/command-entry.cjs +129 -122
- package/dist/components/command-entry.d.cts +2 -2
- package/dist/components/command-entry.d.cts.map +1 -1
- package/dist/components/command-entry.d.mts +2 -2
- package/dist/components/command-entry.d.mts.map +1 -1
- package/dist/components/command-entry.mjs +129 -122
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.d.cts +3 -3
- package/dist/components/index.cjs +0 -9
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.mts +1 -2
- package/dist/components/index.mjs +1 -2
- package/dist/components/virtual-command-entry.d.cts +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -7
- package/dist/index.mjs.map +1 -1
- package/dist/types/plugin.d.cts +6 -10
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +6 -10
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +12 -24
- package/dist/components/prompts-builtin.cjs +0 -2704
- package/dist/components/prompts-builtin.d.cts +0 -40
- package/dist/components/prompts-builtin.d.cts.map +0 -1
- package/dist/components/prompts-builtin.d.mts +0 -40
- package/dist/components/prompts-builtin.d.mts.map +0 -1
- package/dist/components/prompts-builtin.mjs +0 -2696
- package/dist/components/prompts-builtin.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import { BannerFunctionDeclaration } from "./components/banner-function-declarat
|
|
|
2
2
|
import { CommandRouter } from "./components/command-router.mjs";
|
|
3
3
|
import { VirtualCommandEntry } from "./components/virtual-command-entry.mjs";
|
|
4
4
|
import { CommandEntry } from "./components/command-entry.mjs";
|
|
5
|
-
import { PromptsBuiltin } from "./components/prompts-builtin.mjs";
|
|
6
|
-
import "./components/index.mjs";
|
|
7
5
|
import { getDefaultOptions } from "./helpers/get-default-options.mjs";
|
|
8
6
|
import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
|
|
9
7
|
import { For, Show, code } from "@alloy-js/core";
|
|
10
8
|
import { VarDeclaration } from "@alloy-js/typescript";
|
|
11
9
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
10
|
+
import prompts from "@shell-shock/plugin-prompts";
|
|
12
11
|
import theme from "@shell-shock/plugin-theme";
|
|
12
|
+
import upgrade from "@shell-shock/plugin-upgrade";
|
|
13
13
|
import { BinEntry } from "@shell-shock/preset-script/components/bin-entry";
|
|
14
14
|
import { ConsoleBuiltin } from "@shell-shock/preset-script/components/console-builtin";
|
|
15
15
|
import { VirtualHelp } from "@shell-shock/preset-script/components/help";
|
|
@@ -22,6 +22,8 @@ import { UtilsBuiltin } from "@shell-shock/preset-script/components/utils-builti
|
|
|
22
22
|
const plugin = (options = {}) => {
|
|
23
23
|
return [
|
|
24
24
|
theme({ theme: options.theme }),
|
|
25
|
+
prompts(options),
|
|
26
|
+
upgrade({ packageName: options.packageName }),
|
|
25
27
|
{
|
|
26
28
|
name: "shell-shock:cli-preset",
|
|
27
29
|
config() {
|
|
@@ -37,11 +39,7 @@ const plugin = (options = {}) => {
|
|
|
37
39
|
},
|
|
38
40
|
async prepare() {
|
|
39
41
|
this.debug("Rendering built-in modules for the Shell Shock `cli` preset.");
|
|
40
|
-
return render(this, [
|
|
41
|
-
createComponent(UtilsBuiltin, {}),
|
|
42
|
-
createComponent(ConsoleBuiltin, {}),
|
|
43
|
-
createComponent(PromptsBuiltin, {})
|
|
44
|
-
]);
|
|
42
|
+
return render(this, [createComponent(UtilsBuiltin, {}), createComponent(ConsoleBuiltin, {})]);
|
|
45
43
|
}
|
|
46
44
|
},
|
|
47
45
|
{
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["code","For","Show","VarDeclaration","render","theme","BinEntry","ConsoleBuiltin","VirtualHelp","UtilsBuiltin","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["code","For","Show","VarDeclaration","render","prompts","theme","upgrade","BinEntry","ConsoleBuiltin","VirtualHelp","UtilsBuiltin","BannerFunctionDeclaration","CommandEntry","CommandRouter","VirtualCommandEntry","getDefaultOptions","plugin","options","packageName","name","config","debug","defaultOptions","isCaseSensitive","configResolved","dependencies","didyoumean2","prepare","_$createComponent","order","handler","_self$","builtinImports","console","utils","prefix","_$createIntrinsic","children","when","Object","keys","commands","length","type","initializer","segments","values","each","doubleHardline","child","isVirtual","fallback","command"],"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 prompts from \"@shell-shock/plugin-prompts\";\nimport theme from \"@shell-shock/plugin-theme\";\nimport upgrade from \"@shell-shock/plugin-upgrade\";\nimport { BinEntry } from \"@shell-shock/preset-script/components/bin-entry\";\nimport { ConsoleBuiltin } from \"@shell-shock/preset-script/components/console-builtin\";\nimport { VirtualHelp } from \"@shell-shock/preset-script/components/help\";\nimport { UtilsBuiltin } from \"@shell-shock/preset-script/components/utils-builtin\";\nimport type { Plugin } from \"powerlines/types/plugin\";\nimport { BannerFunctionDeclaration } from \"./components/banner-function-declaration\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getDefaultOptions } from \"./helpers/get-default-options\";\nimport type { CLIPresetContext, CLIPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock base plugin.\n */\nexport const plugin = <TContext extends CLIPresetContext = CLIPresetContext>(\n options: CLIPresetOptions = {}\n) => {\n return [\n theme({\n theme: options.theme\n }),\n prompts(options),\n upgrade({\n packageName: options.packageName\n }),\n {\n name: \"shell-shock:cli-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `cli` 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 `cli` preset.\"\n );\n\n return render(\n this,\n <>\n <UtilsBuiltin />\n <ConsoleBuiltin />\n </>\n );\n }\n },\n {\n name: \"shell-shock:cli-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `cli` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\n \"divider\",\n \"stripAnsi\",\n \"writeLine\",\n \"splitText\",\n \"colors\",\n \"help\",\n \"writeLine\",\n \"splitText\",\n \"stripAnsi\"\n ],\n utils: [\n \"useApp\",\n \"useArgs\",\n \"isMinimal\",\n \"isInteractive\",\n \"isHelp\"\n ],\n prompts: [\n \"text\",\n \"numeric\",\n \"toggle\",\n \"select\",\n \"isCancel\",\n \"sleep\"\n ]\n }}\n prefix={\n <>\n <BannerFunctionDeclaration />\n <hbr />\n <hbr />\n </>\n }>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n let\n name=\"args\"\n type=\"string[]\"\n initializer={code`useArgs();`}\n />\n <hbr />\n <CommandRouter segments={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`await banner(0);`}\n <hbr />\n <hbr />\n <VirtualHelp\n options={this.options}\n commands={this.commands ?? {}}\n />\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":";;;;;;;;;;;;;;;;;;;;;AAuCA,MAAaiB,UACXC,UAA4B,EAAE,KAC3B;AACH,QAAO;EACLZ,MAAM,EACJA,OAAOY,QAAQZ,OAChB,CAAC;EACFD,QAAQa,QAAQ;EAChBX,QAAQ,EACNY,aAAaD,QAAQC,aACtB,CAAC;EACF;GACEC,MAAM;GACNC,SAAS;AACP,SAAKC,MACH,oEACD;AAED,WAAO;KACLC,gBAAgBP;KAChBQ,iBAAiB;KACjB,GAAGN;KACJ;;GAEHO,iBAAiB;AACf,SAAKC,aAAaC,cAAc;;GAElC,MAAMC,UAAU;AACd,SAAKN,MACH,+DACD;AAED,WAAOlB,OACL,MAAI,CAAAyB,gBAEDlB,cAAY,EAAA,CAAA,EAAAkB,gBACZpB,gBAAc,EAAA,CAAA,CAEnB,CAAC;;GAEJ;EACD;GACEW,MAAM;GACNQ,SAAS;IACPE,OAAO;IACP,MAAMC,UAAU;KAAA,MAAAC,SAAA;AACd,UAAKV,MACH,iEACD;AAED,YAAOlB,OACL,MAAI,CAAAyB,gBAEDrB,UAAQ;MACPyB,gBAAgB;OACdC,SAAS;QACP;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACD;OACDC,OAAO;QACL;QACA;QACA;QACA;QACA;QACD;OACD9B,SAAS;QACP;QACA;QACA;QACA;QACA;QACA;QAAO;OAEV;MAAA,IACD+B,SAAM;AAAA,cAAA;QAAAP,gBAEDjB,2BAAyB,EAAA,CAAA;QAAAyB,gBAAA,OAAA,EAAA,CAAA;QAAAA,gBAAA,OAAA,EAAA,CAAA;QAAA;;MAAA,IAAAC,WAAA;AAAA,cAAA;QAAAT,gBAK7B3B,MAAI;SAAA,IAACqC,OAAI;AAAA,iBAAEC,OAAOC,KAAKT,OAAKU,SAAS,CAACC,SAAS;;SAAC,IAAAL,WAAA;AAAA,iBAAA;WAAAT,gBAC9C1B,gBAAc;YAAA,OAAA;YAEbiB,MAAI;YACJwB,MAAI;YACJC,aAAa7C,IAAI;YAAY,CAAA;WAAAqC,gBAAA,OAAA,EAAA,CAAA;WAAAR,gBAG9Bf,eAAa;YAACgC,UAAU,EAAE;YAAA,IAAEJ,WAAQ;AAAA,oBAAEV,OAAKU,YAAY,EAAE;;YAAA,CAAA;WAAAL,gBAAA,OAAA,EAAA,CAAA;WAAA;;SAAA,CAAA;QAAAA,gBAAA,OAAA,EAAA,CAAA;QAI3DrC,IAAI;QAAkBqC,gBAAA,OAAA,EAAA,CAAA;QAAAA,gBAAA,OAAA,EAAA,CAAA;QAAAR,gBAGtBnB,aAAW;SAAA,IACVQ,UAAO;AAAA,iBAAEc,OAAKd;;SAAO,IACrBwB,WAAQ;AAAA,iBAAEV,OAAKU,YAAY,EAAE;;SAAA,CAAA;QAAA;;MAAA,CAAA,EAAAb,gBAGhC3B,MAAI;MAAA,IAACqC,OAAI;AAAA,cAAEC,OAAOO,OAAOf,OAAKU,SAAS,CAACC,SAAS;;MAAC,IAAAL,WAAA;AAAA,cAAAT,gBAChD5B,KAAG;QAAA,IAAC+C,OAAI;AAAA,gBAAER,OAAOO,OAAOf,OAAKU,SAAS;;QAAEO,gBAAc;QAAAX,WACpDY,UAAKrB,gBACH3B,MAAI;SAAA,IACHqC,OAAI;AAAA,iBAAEW,MAAMC;;SAAS,IACrBC,WAAQ;AAAA,iBAAAvB,gBAAGhB,cAAY,EAACwC,SAASH,OAAK,CAAA;;SAAA,IAAAZ,WAAA;AAAA,iBAAAT,gBACrCd,qBAAmB,EAACsC,SAASH,OAAK,CAAA;;SAAA,CAAA;QAEtC,CAAA;;MAAA,CAAA,CAIT,CAAC;;IAEL;GACD;EACF;;AAGH,kBAAejC"}
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core";
|
|
2
1
|
import { CommandBase, CommandOption } from "@shell-shock/core/types/command";
|
|
3
2
|
import { Context } from "@shell-shock/core/types/context";
|
|
4
3
|
import { ThemePluginResolvedConfig } from "@shell-shock/plugin-theme/types/plugin";
|
|
4
|
+
import { UpgradePluginContext, UpgradePluginOptions, UpgradePluginResolvedConfig, UpgradePluginUserConfig } from "@shell-shock/plugin-upgrade/types/plugin";
|
|
5
5
|
import { ScriptPresetContext, ScriptPresetOptions, ScriptPresetResolvedConfig, ScriptPresetUserConfig } from "@shell-shock/preset-script/types/plugin";
|
|
6
6
|
|
|
7
7
|
//#region src/types/plugin.d.ts
|
|
8
|
-
|
|
8
|
+
type CLIPresetOptions = Omit<ScriptPresetOptions, "defaultOptions"> & UpgradePluginOptions & {
|
|
9
9
|
/**
|
|
10
10
|
* The default interactive mode to apply to commands.
|
|
11
11
|
*
|
|
@@ -33,14 +33,10 @@ interface CLIPresetOptions extends Omit<ScriptPresetOptions, "defaultOptions"> {
|
|
|
33
33
|
* To disable the addition of these default options, set this property to `false`, or provide a custom set of options/a function that returns them.
|
|
34
34
|
*/
|
|
35
35
|
defaultOptions?: CommandOption[] | ((context: Context, input: CommandBase) => CommandOption[]) | false;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
type CLIPresetUserConfig = ScriptPresetUserConfig & CLIPresetOptions;
|
|
42
|
-
type CLIPresetResolvedConfig = ScriptPresetResolvedConfig & Required<Omit<CLIPresetOptions, "theme">> & Pick<ThemePluginResolvedConfig, "theme">;
|
|
43
|
-
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = ScriptPresetContext<TResolvedConfig>;
|
|
36
|
+
};
|
|
37
|
+
type CLIPresetUserConfig = ScriptPresetUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
|
|
38
|
+
type CLIPresetResolvedConfig = ScriptPresetResolvedConfig & UpgradePluginResolvedConfig & Required<Omit<CLIPresetOptions, "theme">> & Pick<ThemePluginResolvedConfig, "theme">;
|
|
39
|
+
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = ScriptPresetContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
|
|
44
40
|
//#endregion
|
|
45
41
|
export { CLIPresetContext, CLIPresetOptions, CLIPresetResolvedConfig, CLIPresetUserConfig };
|
|
46
42
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAqCY,gBAAA,GAAmB,KAAK,yCAClC;;AADF;;;;;;;;;AAmCA;EAAkC,WAAA,CAAA,EAAA,OAAA,GAAA,OAAA;EAChC;;;AAGF;;;;;;;;;AAKA;;EACoD,cAAA,CAAA,EAf5C,aAe4C,EAAA,GAAA,CAAA,CAAA,OAAA,EAdjC,OAciC,EAAA,KAAA,EAdjB,WAciB,EAAA,GAdD,aAcC,EAAA,CAAA,GAAA,KAAA;CAC5B;AAApB,KAXQ,mBAAA,GAAsB,sBAW9B,GAVF,uBAUE,GATF,gBASE;AACmB,KARX,uBAAA,GAA0B,0BAQf,GAPrB,2BAOqB,GANrB,QAMqB,CANZ,IAMY,CANP,gBAMO,EAAA,OAAA,CAAA,CAAA,GALrB,IAKqB,CALhB,yBAKgB,EAAA,OAAA,CAAA;AAArB,KAHU,gBAGV,CAAA,wBAFwB,uBAExB,GAFkD,uBAElD,CAAA,GADE,mBACF,CADsB,eACtB,CAAA,GAAA,oBAAA,CAAqB,eAArB,CAAA"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Children } from "@alloy-js/core";
|
|
2
1
|
import { CommandBase, CommandOption } from "@shell-shock/core/types/command";
|
|
3
2
|
import { Context } from "@shell-shock/core/types/context";
|
|
4
3
|
import { ThemePluginResolvedConfig } from "@shell-shock/plugin-theme/types/plugin";
|
|
4
|
+
import { UpgradePluginContext, UpgradePluginOptions, UpgradePluginResolvedConfig, UpgradePluginUserConfig } from "@shell-shock/plugin-upgrade/types/plugin";
|
|
5
5
|
import { ScriptPresetContext, ScriptPresetOptions, ScriptPresetResolvedConfig, ScriptPresetUserConfig } from "@shell-shock/preset-script/types/plugin";
|
|
6
6
|
|
|
7
7
|
//#region src/types/plugin.d.ts
|
|
8
|
-
|
|
8
|
+
type CLIPresetOptions = Omit<ScriptPresetOptions, "defaultOptions"> & UpgradePluginOptions & {
|
|
9
9
|
/**
|
|
10
10
|
* The default interactive mode to apply to commands.
|
|
11
11
|
*
|
|
@@ -33,14 +33,10 @@ interface CLIPresetOptions extends Omit<ScriptPresetOptions, "defaultOptions"> {
|
|
|
33
33
|
* To disable the addition of these default options, set this property to `false`, or provide a custom set of options/a function that returns them.
|
|
34
34
|
*/
|
|
35
35
|
defaultOptions?: CommandOption[] | ((context: Context, input: CommandBase) => CommandOption[]) | false;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
type CLIPresetUserConfig = ScriptPresetUserConfig & CLIPresetOptions;
|
|
42
|
-
type CLIPresetResolvedConfig = ScriptPresetResolvedConfig & Required<Omit<CLIPresetOptions, "theme">> & Pick<ThemePluginResolvedConfig, "theme">;
|
|
43
|
-
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = ScriptPresetContext<TResolvedConfig>;
|
|
36
|
+
};
|
|
37
|
+
type CLIPresetUserConfig = ScriptPresetUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
|
|
38
|
+
type CLIPresetResolvedConfig = ScriptPresetResolvedConfig & UpgradePluginResolvedConfig & Required<Omit<CLIPresetOptions, "theme">> & Pick<ThemePluginResolvedConfig, "theme">;
|
|
39
|
+
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = ScriptPresetContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
|
|
44
40
|
//#endregion
|
|
45
41
|
export { CLIPresetContext, CLIPresetOptions, CLIPresetResolvedConfig, CLIPresetUserConfig };
|
|
46
42
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;;;KAqCY,gBAAA,GAAmB,KAAK,yCAClC;;AADF;;;;;;;;;AAmCA;EAAkC,WAAA,CAAA,EAAA,OAAA,GAAA,OAAA;EAChC;;;AAGF;;;;;;;;;AAKA;;EACoD,cAAA,CAAA,EAf5C,aAe4C,EAAA,GAAA,CAAA,CAAA,OAAA,EAdjC,OAciC,EAAA,KAAA,EAdjB,WAciB,EAAA,GAdD,aAcC,EAAA,CAAA,GAAA,KAAA;CAC5B;AAApB,KAXQ,mBAAA,GAAsB,sBAW9B,GAVF,uBAUE,GATF,gBASE;AACmB,KARX,uBAAA,GAA0B,0BAQf,GAPrB,2BAOqB,GANrB,QAMqB,CANZ,IAMY,CANP,gBAMO,EAAA,OAAA,CAAA,CAAA,GALrB,IAKqB,CALhB,yBAKgB,EAAA,OAAA,CAAA;AAArB,KAHU,gBAGV,CAAA,wBAFwB,uBAExB,GAFkD,uBAElD,CAAA,GADE,mBACF,CADsB,eACtB,CAAA,GAAA,oBAAA,CAAqB,eAArB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/preset-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
|
|
6
6
|
"repository": {
|
|
@@ -111,20 +111,6 @@
|
|
|
111
111
|
"default": "./dist/components/command-router.mjs"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
"./components/prompts-builtin": {
|
|
115
|
-
"require": {
|
|
116
|
-
"types": "./dist/components/prompts-builtin.d.cts",
|
|
117
|
-
"default": "./dist/components/prompts-builtin.cjs"
|
|
118
|
-
},
|
|
119
|
-
"import": {
|
|
120
|
-
"types": "./dist/components/prompts-builtin.d.mts",
|
|
121
|
-
"default": "./dist/components/prompts-builtin.mjs"
|
|
122
|
-
},
|
|
123
|
-
"default": {
|
|
124
|
-
"types": "./dist/components/prompts-builtin.d.mts",
|
|
125
|
-
"default": "./dist/components/prompts-builtin.mjs"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
114
|
"./components/virtual-command-entry": {
|
|
129
115
|
"require": {
|
|
130
116
|
"types": "./dist/components/virtual-command-entry.d.cts",
|
|
@@ -181,17 +167,19 @@
|
|
|
181
167
|
"dependencies": {
|
|
182
168
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
183
169
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
184
|
-
"@powerlines/deepkit": "^0.6.
|
|
185
|
-
"@powerlines/plugin-alloy": "^0.23.
|
|
186
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
187
|
-
"@shell-shock/core": "^0.8.
|
|
188
|
-
"@shell-shock/plugin-
|
|
189
|
-
"@shell-shock/
|
|
170
|
+
"@powerlines/deepkit": "^0.6.66",
|
|
171
|
+
"@powerlines/plugin-alloy": "^0.23.16",
|
|
172
|
+
"@powerlines/plugin-plugin": "^0.12.237",
|
|
173
|
+
"@shell-shock/core": "^0.8.11",
|
|
174
|
+
"@shell-shock/plugin-prompts": "^0.2.0",
|
|
175
|
+
"@shell-shock/plugin-theme": "^0.2.2",
|
|
176
|
+
"@shell-shock/plugin-upgrade": "^0.1.1",
|
|
177
|
+
"@shell-shock/preset-script": "^0.6.10",
|
|
190
178
|
"@stryke/path": "0.26.6",
|
|
191
179
|
"@stryke/string-format": "^0.14.2",
|
|
192
180
|
"cfonts": "^3.3.1",
|
|
193
|
-
"defu": "
|
|
194
|
-
"powerlines": "^0.38.
|
|
181
|
+
"defu": "6.1.4",
|
|
182
|
+
"powerlines": "^0.38.53"
|
|
195
183
|
},
|
|
196
184
|
"devDependencies": {
|
|
197
185
|
"@babel/core": "^7.29.0",
|
|
@@ -221,5 +209,5 @@
|
|
|
221
209
|
"./package.json": "./package.json"
|
|
222
210
|
}
|
|
223
211
|
},
|
|
224
|
-
"gitHead": "
|
|
212
|
+
"gitHead": "1137a1ee3be5bb927dc9b15e118f804fd09a24b4"
|
|
225
213
|
}
|