@shell-shock/preset-cli 0.9.22 → 0.9.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/dist/components/banner-builtin.cjs +0 -1
- package/dist/components/banner-builtin.d.cts +2 -3
- package/dist/components/banner-builtin.d.cts.map +1 -1
- package/dist/components/banner-builtin.d.mts +3 -4
- package/dist/components/banner-builtin.d.mts.map +1 -1
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +21 -22
- package/dist/components/command-entry.d.cts +1 -2
- package/dist/components/command-entry.d.cts.map +1 -1
- package/dist/components/command-entry.d.mts +1 -2
- package/dist/components/command-entry.d.mts.map +1 -1
- package/dist/components/command-entry.mjs +21 -22
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +1 -2
- package/dist/components/command-router.d.cts +2 -3
- package/dist/components/command-router.d.cts.map +1 -1
- package/dist/components/command-router.d.mts +3 -4
- package/dist/components/command-router.d.mts.map +1 -1
- package/dist/components/command-router.mjs +1 -1
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/upgrade-builtin.cjs +2 -3
- package/dist/components/upgrade-builtin.d.cts +2 -3
- package/dist/components/upgrade-builtin.d.cts.map +1 -1
- package/dist/components/upgrade-builtin.d.mts +2 -3
- package/dist/components/upgrade-builtin.d.mts.map +1 -1
- package/dist/components/upgrade-builtin.mjs +2 -2
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +3 -3
- package/dist/components/virtual-command-entry.d.cts +1 -2
- package/dist/components/virtual-command-entry.d.cts.map +1 -1
- package/dist/components/virtual-command-entry.d.mts +1 -2
- package/dist/components/virtual-command-entry.d.mts.map +1 -1
- package/dist/components/virtual-command-entry.mjs +3 -3
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/get-global-options.cjs +4 -6
- package/dist/helpers/get-global-options.mjs +4 -5
- package/dist/helpers/get-global-options.mjs.map +1 -1
- package/dist/index.cjs +13 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/dist/types/plugin.d.cts +11 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +12 -4
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +24 -23
package/dist/types/plugin.d.mts
CHANGED
|
@@ -2,8 +2,9 @@ import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolved
|
|
|
2
2
|
import { CompletionsPluginContext, CompletionsPluginOptions, CompletionsPluginResolvedConfig, CompletionsPluginUserConfig } from "@shell-shock/plugin-completions";
|
|
3
3
|
import { ConsolePluginContext, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
|
|
4
4
|
import { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig } from "@shell-shock/plugin-help";
|
|
5
|
-
import {
|
|
5
|
+
import { SkillsPluginContext, SkillsPluginOptions, SkillsPluginResolvedConfig, SkillsPluginUserConfig } from "@shell-shock/plugin-skills";
|
|
6
6
|
import { ResolvedConfig } from "powerlines";
|
|
7
|
+
import { CommandBase, CommandOption, Context, UserConfig } from "@shell-shock/core";
|
|
7
8
|
import { BannerPluginContext, BannerPluginOptions, BannerPluginResolvedConfig, BannerPluginUserConfig } from "@shell-shock/plugin-banner";
|
|
8
9
|
import { PromptsPluginContext, PromptsPluginOptions, PromptsPluginResolvedConfig, PromptsPluginUserConfig } from "@shell-shock/plugin-prompts/types/plugin";
|
|
9
10
|
import { ThemePluginContext, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme/types/plugin";
|
|
@@ -64,10 +65,17 @@ type CLIPresetOptions = Omit<ScriptPresetOptions, "globalOptions"> & HelpPluginO
|
|
|
64
65
|
* Configuration options for the `changelog` plugin. This field allows you to customize the behavior of the `changelog` plugin, which provides commands for displaying the application's changelog. You can specify the path to the changelog file, the command name, and other related settings.
|
|
65
66
|
*/
|
|
66
67
|
changelog?: ChangelogPluginOptions | false;
|
|
68
|
+
/**
|
|
69
|
+
* Configuration options for the `skills` plugin. This field allows you to customize the behavior of the `skills` plugin, which provides commands for managing and displaying the application's skills. You can specify the command name, and other related settings.
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* If the `skills` plugin is enabled but the specified skills path does not exist, the plugin will be automatically disabled and a warning message will be logged. By default, the plugin looks for a `skills` directory in the current working directory.
|
|
73
|
+
*/
|
|
74
|
+
skills?: SkillsPluginOptions | false;
|
|
67
75
|
};
|
|
68
|
-
type CLIPresetUserConfig = UserConfig & ThemePluginUserConfig & ConsolePluginUserConfig & PromptsPluginUserConfig & BannerPluginUserConfig & HelpPluginUserConfig & CompletionsPluginUserConfig & ChangelogPluginUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
|
|
69
|
-
type CLIPresetResolvedConfig = ResolvedConfig & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
|
|
70
|
-
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = Context<TResolvedConfig> & ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & PromptsPluginContext<TResolvedConfig> & BannerPluginContext<TResolvedConfig> & HelpPluginContext<TResolvedConfig> & CompletionsPluginContext<TResolvedConfig> & ChangelogPluginContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
|
|
76
|
+
type CLIPresetUserConfig = UserConfig & ThemePluginUserConfig & ConsolePluginUserConfig & PromptsPluginUserConfig & BannerPluginUserConfig & HelpPluginUserConfig & CompletionsPluginUserConfig & ChangelogPluginUserConfig & SkillsPluginUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
|
|
77
|
+
type CLIPresetResolvedConfig = ResolvedConfig & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & SkillsPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
|
|
78
|
+
type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = Context<TResolvedConfig> & ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & PromptsPluginContext<TResolvedConfig> & BannerPluginContext<TResolvedConfig> & HelpPluginContext<TResolvedConfig> & CompletionsPluginContext<TResolvedConfig> & ChangelogPluginContext<TResolvedConfig> & SkillsPluginContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
|
|
71
79
|
//#endregion
|
|
72
80
|
export { CLIPresetContext, CLIPresetOptions, CLIPresetResolvedConfig, CLIPresetUserConfig, UpgradeType };
|
|
73
81
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/preset-cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
|
|
6
6
|
"keywords": [
|
|
@@ -179,30 +179,31 @@
|
|
|
179
179
|
"typings": "dist/index.d.mts",
|
|
180
180
|
"files": ["dist/**/*"],
|
|
181
181
|
"dependencies": {
|
|
182
|
-
"@alloy-js/core": "0.23.
|
|
183
|
-
"@alloy-js/typescript": "0.23.0
|
|
184
|
-
"@powerlines/deepkit": "^0.
|
|
185
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
186
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
187
|
-
"@shell-shock/core": "
|
|
188
|
-
"@shell-shock/plugin-banner": "
|
|
189
|
-
"@shell-shock/plugin-changelog": "
|
|
190
|
-
"@shell-shock/plugin-completions": "
|
|
191
|
-
"@shell-shock/plugin-console": "
|
|
192
|
-
"@shell-shock/plugin-help": "
|
|
193
|
-
"@shell-shock/plugin-prompts": "
|
|
194
|
-
"@shell-shock/plugin-
|
|
195
|
-
"@shell-shock/plugin-
|
|
196
|
-
"@shell-shock/
|
|
197
|
-
"@
|
|
198
|
-
"@stryke/
|
|
199
|
-
"@stryke/
|
|
200
|
-
"@stryke/
|
|
182
|
+
"@alloy-js/core": "^0.23.1",
|
|
183
|
+
"@alloy-js/typescript": "^0.23.0",
|
|
184
|
+
"@powerlines/deepkit": "^0.9.78",
|
|
185
|
+
"@powerlines/plugin-alloy": "^0.26.217",
|
|
186
|
+
"@powerlines/plugin-plugin": "^0.12.536",
|
|
187
|
+
"@shell-shock/core": "0.17.11",
|
|
188
|
+
"@shell-shock/plugin-banner": "0.1.38",
|
|
189
|
+
"@shell-shock/plugin-changelog": "0.1.14",
|
|
190
|
+
"@shell-shock/plugin-completions": "0.4.19",
|
|
191
|
+
"@shell-shock/plugin-console": "0.2.15",
|
|
192
|
+
"@shell-shock/plugin-help": "0.2.29",
|
|
193
|
+
"@shell-shock/plugin-prompts": "0.3.52",
|
|
194
|
+
"@shell-shock/plugin-skills": "0.0.2",
|
|
195
|
+
"@shell-shock/plugin-theme": "0.4.24",
|
|
196
|
+
"@shell-shock/plugin-upgrade": "0.1.56",
|
|
197
|
+
"@shell-shock/preset-script": "0.6.66",
|
|
198
|
+
"@stryke/path": "^0.29.11",
|
|
199
|
+
"@stryke/string-format": "^0.17.26",
|
|
200
|
+
"@stryke/type-checks": "^0.6.17",
|
|
201
|
+
"@stryke/types": "^0.12.12",
|
|
201
202
|
"cfonts": "^3.3.1",
|
|
202
203
|
"defu": "^6.1.7",
|
|
203
|
-
"powerlines": "^0.47.
|
|
204
|
+
"powerlines": "^0.47.124"
|
|
204
205
|
},
|
|
205
|
-
"devDependencies": { "@stryke/types": "^0.12.
|
|
206
|
+
"devDependencies": { "@stryke/types": "^0.12.12", "@types/node": "^25.9.1" },
|
|
206
207
|
"publishConfig": { "access": "public" },
|
|
207
|
-
"gitHead": "
|
|
208
|
+
"gitHead": "9401c1de122d800040306fc89ad1835930c1a826"
|
|
208
209
|
}
|