@shell-shock/preset-cli 0.8.20 → 0.9.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.
Files changed (60) hide show
  1. package/dist/components/banner-builtin.cjs +5 -5
  2. package/dist/components/banner-builtin.d.cts +1 -1
  3. package/dist/components/banner-builtin.d.mts +1 -1
  4. package/dist/components/banner-builtin.mjs +2 -2
  5. package/dist/components/command-entry.cjs +5 -5
  6. package/dist/components/command-entry.d.mts +1 -1
  7. package/dist/components/command-entry.mjs +4 -4
  8. package/dist/components/virtual-command-entry.cjs +2 -2
  9. package/dist/components/virtual-command-entry.d.mts +1 -1
  10. package/dist/components/virtual-command-entry.mjs +1 -1
  11. package/dist/index.cjs +7 -3
  12. package/dist/index.d.cts.map +1 -1
  13. package/dist/index.d.mts.map +1 -1
  14. package/dist/index.mjs +5 -3
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/types/plugin.d.cts +11 -6
  17. package/dist/types/plugin.d.cts.map +1 -1
  18. package/dist/types/plugin.d.mts +11 -6
  19. package/dist/types/plugin.d.mts.map +1 -1
  20. package/package.json +11 -8
  21. package/dist/plugin-banner/dist/components/banner-builtin.cjs +0 -63
  22. package/dist/plugin-banner/dist/components/banner-builtin.mjs +0 -62
  23. package/dist/plugin-banner/dist/components/banner-builtin.mjs.map +0 -1
  24. package/dist/plugin-banner/dist/components/banner-function-declaration.cjs +0 -162
  25. package/dist/plugin-banner/dist/components/banner-function-declaration.d.cts +0 -45
  26. package/dist/plugin-banner/dist/components/banner-function-declaration.d.cts.map +0 -1
  27. package/dist/plugin-banner/dist/components/banner-function-declaration.d.mts +0 -45
  28. package/dist/plugin-banner/dist/components/banner-function-declaration.d.mts.map +0 -1
  29. package/dist/plugin-banner/dist/components/banner-function-declaration.mjs +0 -160
  30. package/dist/plugin-banner/dist/components/banner-function-declaration.mjs.map +0 -1
  31. package/dist/plugin-banner/dist/index.d.cts +0 -2
  32. package/dist/plugin-banner/dist/index.d.mts +0 -2
  33. package/dist/plugin-banner/dist/types/plugin.d.cts +0 -31
  34. package/dist/plugin-banner/dist/types/plugin.d.cts.map +0 -1
  35. package/dist/plugin-banner/dist/types/plugin.d.mts +0 -31
  36. package/dist/plugin-banner/dist/types/plugin.d.mts.map +0 -1
  37. package/dist/plugin-help/dist/components/display.cjs +0 -285
  38. package/dist/plugin-help/dist/components/display.mjs +0 -280
  39. package/dist/plugin-help/dist/components/display.mjs.map +0 -1
  40. package/dist/plugin-help/dist/components/help-builtin.cjs +0 -86
  41. package/dist/plugin-help/dist/components/help-builtin.mjs +0 -85
  42. package/dist/plugin-help/dist/components/help-builtin.mjs.map +0 -1
  43. package/dist/plugin-help/dist/components/help-command.cjs +0 -96
  44. package/dist/plugin-help/dist/components/help-command.mjs +0 -96
  45. package/dist/plugin-help/dist/components/help-command.mjs.map +0 -1
  46. package/dist/plugin-help/dist/components/index.cjs +0 -3
  47. package/dist/plugin-help/dist/components/index.mjs +0 -5
  48. package/dist/plugin-help/dist/index.cjs +0 -106
  49. package/dist/plugin-help/dist/index.d.cts +0 -2
  50. package/dist/plugin-help/dist/index.d.mts +0 -2
  51. package/dist/plugin-help/dist/index.mjs +0 -103
  52. package/dist/plugin-help/dist/index.mjs.map +0 -1
  53. package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.cts +0 -19
  54. package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
  55. package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.mts +0 -19
  56. package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
  57. package/dist/plugin-help/dist/types/plugin.d.cts +0 -63
  58. package/dist/plugin-help/dist/types/plugin.d.cts.map +0 -1
  59. package/dist/plugin-help/dist/types/plugin.d.mts +0 -63
  60. package/dist/plugin-help/dist/types/plugin.d.mts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.cts","names":["RequiredKeys","BaseType","Keys","Pick","Required","Omit"],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;;;;KAOKA,YAAAA,8BAA0CC,QAAAA,IAAYG,QAAAA,CAASD,IAAAA,CAAKF,QAAAA,EAAUC,IAAAA,KAASG,IAAAA,CAAKJ,QAAAA,EAAUC,IAAAA"}
@@ -1,19 +0,0 @@
1
- //#region ../plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.cts
2
- //#region ../../node_modules/.pnpm/@stryke+types@0.11.2/node_modules/@stryke/types/dist/base.d.cts
3
- /**
4
- * Create a type that makes the given keys required. The remaining keys are kept as is.
5
- *
6
- * @remarks
7
- * Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are required.
8
- */
9
- type RequiredKeys<BaseType, Keys extends keyof BaseType> = Required<Pick<BaseType, Keys>> & Omit<BaseType, Keys>;
10
- /**
11
- * Create a type that makes the given keys optional. The remaining keys are kept as is.
12
- *
13
- * @remarks
14
- * Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are optional.
15
- */
16
- //#endregion
17
- //#endregion
18
- export { RequiredKeys };
19
- //# sourceMappingURL=base.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.mts","names":["RequiredKeys","BaseType","Keys","Pick","Required","Omit"],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;;;;KAOKA,YAAAA,8BAA0CC,QAAAA,IAAYG,QAAAA,CAASD,IAAAA,CAAKF,QAAAA,EAAUC,IAAAA,KAASG,IAAAA,CAAKJ,QAAAA,EAAUC,IAAAA"}
@@ -1,63 +0,0 @@
1
- import { RequiredKeys } from "../node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.cjs";
2
- import { CommandConfig, ResolvedConfig, UserConfig } from "@shell-shock/core";
3
- import { Context as Context$1 } from "@shell-shock/core/types/context";
4
- import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
5
- import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
6
-
7
- //#region ../plugin-help/dist/types/plugin.d.cts
8
- //#region src/types/plugin.d.ts
9
- interface HelpPluginOptions {
10
- /**
11
- * Should the plugin automatically add built-in help entries for all commands in the application?
12
- *
13
- * @defaultValue true
14
- */
15
- builtins?: boolean;
16
- /**
17
- * Should the plugin add the `help` command?
18
- *
19
- * @remarks
20
- * This can be set to a string to specify a custom command name for the `help` command, an object to override the default command configuration, or `false` to disable the help command. By default, the command name will be `"help"`.
21
- *
22
- * @defaultValue "help"
23
- */
24
- command?: Partial<CommandConfig> | string | false;
25
- /**
26
- * Theme plugin options.
27
- */
28
- theme?: ThemePluginOptions;
29
- /**
30
- * Console plugin options.
31
- */
32
- console?: ConsolePluginOptions;
33
- }
34
- type HelpPluginUserConfig = ThemePluginUserConfig & ConsolePluginUserConfig & UserConfig & {
35
- /**
36
- * Resolved help configuration for the plugin.
37
- */
38
- help: Omit<HelpPluginOptions, "theme" | "console" | "command"> & {
39
- /**
40
- * The name of the help command to add to the application, or `false` to disable adding a help command.
41
- *
42
- * @defaultValue "help"
43
- */
44
- command: Partial<CommandConfig> | string | false;
45
- };
46
- };
47
- type HelpPluginResolvedConfig = ThemePluginResolvedConfig & ConsolePluginResolvedConfig & ResolvedConfig & {
48
- /**
49
- * Resolved help configuration for the plugin.
50
- */
51
- help: Required<Omit<HelpPluginOptions, "theme" | "console" | "command">> & {
52
- /**
53
- * The properties of the help command to add to the application, or `false` to disable adding a help command.
54
- *
55
- * @defaultValue \{ name: "help" \}
56
- */
57
- command: RequiredKeys<Partial<CommandConfig>, "name"> | false;
58
- };
59
- };
60
- type HelpPluginContext<TResolvedConfig extends HelpPluginResolvedConfig = HelpPluginResolvedConfig> = ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & Context$1<TResolvedConfig>; //#endregion
61
- //#endregion
62
- export { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig };
63
- //# sourceMappingURL=plugin.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.cts","names":["RequiredKeys","CommandConfig","ResolvedConfig","UserConfig","Context","ConsolePluginContext","ConsolePluginOptions","ConsolePluginResolvedConfig","ConsolePluginUserConfig","ThemePluginContext","ThemePluginOptions","ThemePluginResolvedConfig","ThemePluginUserConfig","HelpPluginOptions","Partial","builtins","command","theme","console","HelpPluginUserConfig","Omit","help","HelpPluginResolvedConfig","Required","HelpPluginContext","TResolvedConfig"],"sources":["../../../../../plugin-help/dist/types/plugin.d.cts"],"mappings":";;;;;;;;UAOUa,iBAAAA;EAAiB;;;;;EAMzBE,QAAAA;EAiB8B;;;;;;;;EAR9BC,OAAAA,GAAUF,OAAAA,CAAQb,aAAAA;EAQRK;;;EAJVW,KAAAA,GAAQP,kBAAAA;EAMe;;;EAFvBQ,OAAAA,GAAUZ,oBAAAA;AAAAA;AAAAA,KAEPa,oBAAAA,GAAuBP,qBAAAA,GAAwBJ,uBAAAA,GAA0BL,UAAAA;EAItEiB;;;EAANC,IAAAA,EAAMD,IAAAA,CAAKP,iBAAAA;IAMO;;;;;IAAhBG,OAAAA,EAASF,OAAAA,CAAQb,aAAAA;EAAAA;AAAAA;AAAAA,KAGhBqB,wBAAAA,GAA2BX,yBAAAA,GAA4BJ,2BAAAA,GAA8BL,cAAAA;EAHrED;;;EAOnBoB,IAAAA,EAAME,QAAAA,CAASH,IAAAA,CAAKP,iBAAAA;IAJO;;;;;IAUzBG,OAAAA,EAAShB,YAAAA,CAAac,OAAAA,CAAQb,aAAAA;EAAAA;AAAAA;AAAAA,KAG7BuB,iBAAAA,yBAA0CF,wBAAAA,GAA2BA,wBAAAA,IAA4Bb,kBAAAA,CAAmBgB,eAAAA,IAAmBpB,oBAAAA,CAAqBoB,eAAAA,IAAmBrB,SAAAA,CAAQqB,eAAAA"}
@@ -1,63 +0,0 @@
1
- import { RequiredKeys } from "../node_modules/.pnpm/@stryke_types@0.11.2/node_modules/@stryke/types/dist/base.mjs";
2
- import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
3
- import { CommandConfig, ResolvedConfig, UserConfig } from "@shell-shock/core";
4
- import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
5
- import { Context as Context$1 } from "@shell-shock/core/types/context";
6
-
7
- //#region ../plugin-help/dist/types/plugin.d.cts
8
- //#region src/types/plugin.d.ts
9
- interface HelpPluginOptions {
10
- /**
11
- * Should the plugin automatically add built-in help entries for all commands in the application?
12
- *
13
- * @defaultValue true
14
- */
15
- builtins?: boolean;
16
- /**
17
- * Should the plugin add the `help` command?
18
- *
19
- * @remarks
20
- * This can be set to a string to specify a custom command name for the `help` command, an object to override the default command configuration, or `false` to disable the help command. By default, the command name will be `"help"`.
21
- *
22
- * @defaultValue "help"
23
- */
24
- command?: Partial<CommandConfig> | string | false;
25
- /**
26
- * Theme plugin options.
27
- */
28
- theme?: ThemePluginOptions;
29
- /**
30
- * Console plugin options.
31
- */
32
- console?: ConsolePluginOptions;
33
- }
34
- type HelpPluginUserConfig = ThemePluginUserConfig & ConsolePluginUserConfig & UserConfig & {
35
- /**
36
- * Resolved help configuration for the plugin.
37
- */
38
- help: Omit<HelpPluginOptions, "theme" | "console" | "command"> & {
39
- /**
40
- * The name of the help command to add to the application, or `false` to disable adding a help command.
41
- *
42
- * @defaultValue "help"
43
- */
44
- command: Partial<CommandConfig> | string | false;
45
- };
46
- };
47
- type HelpPluginResolvedConfig = ThemePluginResolvedConfig & ConsolePluginResolvedConfig & ResolvedConfig & {
48
- /**
49
- * Resolved help configuration for the plugin.
50
- */
51
- help: Required<Omit<HelpPluginOptions, "theme" | "console" | "command">> & {
52
- /**
53
- * The properties of the help command to add to the application, or `false` to disable adding a help command.
54
- *
55
- * @defaultValue \{ name: "help" \}
56
- */
57
- command: RequiredKeys<Partial<CommandConfig>, "name"> | false;
58
- };
59
- };
60
- type HelpPluginContext<TResolvedConfig extends HelpPluginResolvedConfig = HelpPluginResolvedConfig> = ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & Context$1<TResolvedConfig>; //#endregion
61
- //#endregion
62
- export { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig };
63
- //# sourceMappingURL=plugin.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.mts","names":["RequiredKeys","CommandConfig","ResolvedConfig","UserConfig","Context","ConsolePluginContext","ConsolePluginOptions","ConsolePluginResolvedConfig","ConsolePluginUserConfig","ThemePluginContext","ThemePluginOptions","ThemePluginResolvedConfig","ThemePluginUserConfig","HelpPluginOptions","Partial","builtins","command","theme","console","HelpPluginUserConfig","Omit","help","HelpPluginResolvedConfig","Required","HelpPluginContext","TResolvedConfig"],"sources":["../../../../../plugin-help/dist/types/plugin.d.cts"],"mappings":";;;;;;;;UAOUa,iBAAAA;EAAiB;;;;;EAMzBE,QAAAA;EAiB8B;;;;;;;;EAR9BC,OAAAA,GAAUF,OAAAA,CAAQb,aAAAA;EAQRK;;;EAJVW,KAAAA,GAAQP,kBAAAA;EAMe;;;EAFvBQ,OAAAA,GAAUZ,oBAAAA;AAAAA;AAAAA,KAEPa,oBAAAA,GAAuBP,qBAAAA,GAAwBJ,uBAAAA,GAA0BL,UAAAA;EAItEiB;;;EAANC,IAAAA,EAAMD,IAAAA,CAAKP,iBAAAA;IAMO;;;;;IAAhBG,OAAAA,EAASF,OAAAA,CAAQb,aAAAA;EAAAA;AAAAA;AAAAA,KAGhBqB,wBAAAA,GAA2BX,yBAAAA,GAA4BJ,2BAAAA,GAA8BL,cAAAA;EAHrED;;;EAOnBoB,IAAAA,EAAME,QAAAA,CAASH,IAAAA,CAAKP,iBAAAA;IAJO;;;;;IAUzBG,OAAAA,EAAShB,YAAAA,CAAac,OAAAA,CAAQb,aAAAA;EAAAA;AAAAA;AAAAA,KAG7BuB,iBAAAA,yBAA0CF,wBAAAA,GAA2BA,wBAAAA,IAA4Bb,kBAAAA,CAAmBgB,eAAAA,IAAmBpB,oBAAAA,CAAqBoB,eAAAA,IAAmBrB,SAAAA,CAAQqB,eAAAA"}