@shell-shock/plugin-theme 0.4.20 → 0.4.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/_virtual/_rolldown/runtime.mjs +41 -0
- package/dist/contexts/theme.mjs.map +1 -1
- package/dist/core/dist/types/command.d.cts +0 -1
- package/dist/core/dist/types/command.d.cts.map +1 -1
- package/dist/core/dist/types/config.d.cts +13 -11
- package/dist/core/dist/types/config.d.cts.map +1 -1
- package/dist/core/dist/types/context.d.cts +3 -2
- package/dist/core/dist/types/context.d.cts.map +1 -1
- package/dist/helpers/ansi-utils.mjs.map +1 -1
- package/dist/helpers/border-styles.mjs.map +1 -1
- package/dist/helpers/constants.d.cts +2 -2
- package/dist/helpers/constants.d.cts.map +1 -1
- package/dist/helpers/constants.d.mts +2 -2
- package/dist/helpers/constants.d.mts.map +1 -1
- package/dist/helpers/constants.mjs.map +1 -1
- package/dist/helpers/merge.mjs.map +1 -1
- package/dist/helpers/spinners.mjs.map +1 -1
- package/dist/index.cjs +41 -47
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +41 -46
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts +8 -0
- package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.d.mts +11 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.d.mts +10 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/external.d.mts +14 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/external.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/enumUtil.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/enumUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.d.mts +10 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/partialUtil.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/partialUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/typeAliases.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/typeAliases.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/index.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/index.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/standard-schema.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/standard-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.d.mts +16 -0
- package/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.d.mts.map +1 -0
- package/dist/packages/core/dist/api.d.mts +9 -0
- package/dist/packages/core/dist/api.d.mts.map +1 -0
- package/dist/packages/core/dist/index.d.mts +13 -0
- package/dist/packages/core/dist/index.d.mts.map +1 -0
- package/dist/packages/core/dist/types/command.d.mts +10 -0
- package/dist/packages/core/dist/types/command.d.mts.map +1 -0
- package/dist/packages/core/dist/types/config.d.mts +10 -0
- package/dist/packages/core/dist/types/config.d.mts.map +1 -0
- package/dist/packages/core/dist/types/context.d.mts +10 -0
- package/dist/packages/core/dist/types/context.d.mts.map +1 -0
- package/dist/packages/core/dist/types/options.d.mts +8 -0
- package/dist/packages/core/dist/types/options.d.mts.map +1 -0
- package/dist/style-dictionary/border-styles.mjs.map +1 -1
- package/dist/style-dictionary/colors.mjs.map +1 -1
- package/dist/style-dictionary/icons.mjs.map +1 -1
- package/dist/style-dictionary/labels.mjs.map +1 -1
- package/dist/style-dictionary/padding.mjs.map +1 -1
- package/dist/style-dictionary/settings.mjs.map +1 -1
- package/dist/style-dictionary/spinners.mjs.map +1 -1
- package/dist/themes/default.mjs.map +1 -1
- package/dist/types/plugin.d.mts +4 -5
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +13 -10
- package/dist/core/dist/api.d.mts +0 -1
- package/dist/core/dist/index.d.mts +0 -3
- package/dist/core/dist/types/command.d.mts +0 -274
- package/dist/core/dist/types/command.d.mts.map +0 -1
- package/dist/core/dist/types/config.d.mts +0 -119
- package/dist/core/dist/types/config.d.mts.map +0 -1
- package/dist/core/dist/types/context.d.mts +0 -28
- package/dist/core/dist/types/context.d.mts.map +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
|
+
var __exportAll = (all, no_symbols) => {
|
|
11
|
+
let target = {};
|
|
12
|
+
for (var name in all) {
|
|
13
|
+
__defProp(target, name, {
|
|
14
|
+
get: all[name],
|
|
15
|
+
enumerable: true
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
if (!no_symbols) {
|
|
19
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
20
|
+
}
|
|
21
|
+
return target;
|
|
22
|
+
};
|
|
23
|
+
var __copyProps = (to, from, except, desc) => {
|
|
24
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
25
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
26
|
+
key = keys[i];
|
|
27
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
28
|
+
__defProp(to, key, {
|
|
29
|
+
get: ((k) => from[k]).bind(null, key),
|
|
30
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return to;
|
|
36
|
+
};
|
|
37
|
+
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
38
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export { __commonJSMin, __esmMin, __exportAll, __require, __toCommonJS };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.mjs","names":[],"sources":["../../src/contexts/theme.ts"],"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 { computed } from \"@alloy-js/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport type { AnsiStyles } from \"../helpers/ansi-utils\";\nimport { getAnsiStyles } from \"../helpers/ansi-utils\";\nimport type { ThemePluginContext } from \"../types/plugin\";\nimport type { ThemeResolvedConfig } from \"../types/theme\";\n\n/**\n * Hook to access the current application's theme configuration.\n *\n * @returns The resolved theme configuration.\n */\nexport function useTheme(): ThemeResolvedConfig {\n const context = usePowerlines<ThemePluginContext>();\n const theme = computed(() => context.theme);\n\n return theme.value;\n}\n\n/**\n * Hook to access the current application's ANSI colors/styles.\n *\n * @returns The ANSI colors/styles.\n */\nexport function useColors(): AnsiStyles {\n const theme = useTheme();\n const colors = computed(() => getAnsiStyles(theme.colors));\n\n return colors.value;\n}\n"],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"theme.mjs","names":[],"sources":["../../src/contexts/theme.ts"],"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 { computed } from \"@alloy-js/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport type { AnsiStyles } from \"../helpers/ansi-utils\";\nimport { getAnsiStyles } from \"../helpers/ansi-utils\";\nimport type { ThemePluginContext } from \"../types/plugin\";\nimport type { ThemeResolvedConfig } from \"../types/theme\";\n\n/**\n * Hook to access the current application's theme configuration.\n *\n * @returns The resolved theme configuration.\n */\nexport function useTheme(): ThemeResolvedConfig {\n const context = usePowerlines<ThemePluginContext>();\n const theme = computed(() => context.theme);\n\n return theme.value;\n}\n\n/**\n * Hook to access the current application's ANSI colors/styles.\n *\n * @returns The ANSI colors/styles.\n */\nexport function useColors(): AnsiStyles {\n const theme = useTheme();\n const colors = computed(() => getAnsiStyles(theme.colors));\n\n return colors.value;\n}\n"],"mappings":";;;;;;;;;;AA0BA,SAAW,WAAW;CACrB,MAAA,UAAA,eAAA;AAEC,QADc,eAAe,QAAA,MAC7B,CAAA;;;;;;;AAQF,SAAE,YAAA;CACA,MAAM,QAAG,UAAW;AAEpB,QADD,eAAA,cAAA,MAAA,OAAA,CACc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","
|
|
1
|
+
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","AnyFunction","StandardJSONSchemaV1","JsonSchema7TupleType","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","default","env","optional","variadic","BaseSingleCommandParameter","BaseVariadicCommandParameter","BaseStringCommandParameter","format","choices","SingleStringCommandParameter","VariadicStringCommandParameter","StringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","NumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","BooleanCommandParameter","CommandParameter","AsCommandParameterConfig","T","Pick","Omit","Partial","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","CommandParameterConfig","BooleanCommandOption","isNegativeOf","skipAddingNegative","CommandOption","CommandOptionConfig","CommandArgument","CommandArgumentConfig","CommandBase","id","path","segments","icon","reference","isVirtual","CommandConfig","entry","tags","source","CommandTree","Record","options","args","parent","children","SerializedCommandTree","CommandMetadata","CommandModule","AnyZodObject","AnyZodTuple","metadata"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":"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"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { CommandBase, CommandOption } from "./command.cjs";
|
|
2
2
|
import { Context } from "./context.cjs";
|
|
3
|
-
import { OutputConfig } from "powerlines";
|
|
3
|
+
import { OutputConfig, UserConfig } from "powerlines";
|
|
4
|
+
import { RequiredKeys } from "@stryke/types/base";
|
|
5
|
+
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
4
6
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
5
|
-
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig
|
|
6
|
-
import { TsdownPluginResolvedConfig
|
|
7
|
+
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
8
|
+
import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
7
9
|
|
|
8
10
|
//#region ../core/dist/types/config.d.cts
|
|
9
11
|
//#region src/types/config.d.ts
|
|
10
|
-
type BuildOptions = Pick<
|
|
12
|
+
type BuildOptions = Pick<UserConfig, "root" | "name" | "title" | "description" | "logLevel" | "mode" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
|
|
11
13
|
interface ReferenceOptions {
|
|
12
14
|
/**
|
|
13
15
|
* A URL to the application documentation or reference.
|
|
@@ -21,7 +23,7 @@ interface ReferenceOptions {
|
|
|
21
23
|
*/
|
|
22
24
|
commands?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
interface BaseOptions {
|
|
25
27
|
/**
|
|
26
28
|
* A set of global command options to apply to each command.
|
|
27
29
|
*
|
|
@@ -63,7 +65,7 @@ type BaseOptions = Partial<BuildOptions> & {
|
|
|
63
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}` 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 `{reference}/command/subcommand`.
|
|
64
66
|
*/
|
|
65
67
|
reference?: ReferenceOptions | string;
|
|
66
|
-
}
|
|
68
|
+
}
|
|
67
69
|
/**
|
|
68
70
|
* The plugin options for Shell Shock.
|
|
69
71
|
*/
|
|
@@ -71,7 +73,7 @@ type Options = BaseOptions & Partial<NodeJsPluginOptions>;
|
|
|
71
73
|
/**
|
|
72
74
|
* The output configuration options for Shell Shock.
|
|
73
75
|
*/
|
|
74
|
-
type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage"> & {
|
|
76
|
+
type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage" | "sourceMap"> & {
|
|
75
77
|
/**
|
|
76
78
|
* An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.
|
|
77
79
|
*/
|
|
@@ -80,7 +82,7 @@ type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage"> & {
|
|
|
80
82
|
/**
|
|
81
83
|
* The user configuration options for Shell Shock.
|
|
82
84
|
*/
|
|
83
|
-
type UserConfig = BaseOptions &
|
|
85
|
+
type UserConfig$1 = BaseOptions & RequiredKeys<BuildOptions, "root" | "name"> & {
|
|
84
86
|
/**
|
|
85
87
|
* Configuration for the output of the build process
|
|
86
88
|
*/
|
|
@@ -89,7 +91,7 @@ type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPlu
|
|
|
89
91
|
/**
|
|
90
92
|
* The resolved configuration options for Shell Shock.
|
|
91
93
|
*/
|
|
92
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
94
|
+
type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
93
95
|
/**
|
|
94
96
|
* 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).
|
|
95
97
|
*
|
|
@@ -112,8 +114,8 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig &
|
|
|
112
114
|
/**
|
|
113
115
|
* The user configuration for the Shell Shock process.
|
|
114
116
|
*/
|
|
115
|
-
userConfig: UserConfig;
|
|
117
|
+
userConfig: UserConfig$1;
|
|
116
118
|
}; //#endregion
|
|
117
119
|
//#endregion
|
|
118
|
-
export { Options, OutputConfig$1 as OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
|
|
120
|
+
export { Options, OutputConfig$1 as OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig$1 as UserConfig };
|
|
119
121
|
//# sourceMappingURL=config.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","
|
|
1
|
+
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","EngineOptions","EngineOptions$1","OutputConfig","OutputConfig$1","UserConfig","UserConfig$1","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","TsdownPluginResolvedConfig","RequiredKeys","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","Partial","dts","output","Omit","ResolvedConfig","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;;KAUKe,YAAAA,GAAeC,IAAAA,CAAKR,UAAAA;AAAAA,UACfS,gBAAAA;;;;EAIRC,GAAAA;EAJwB;;;;AAWhB;;EAARC,QAAAA;AAAAA;AAAAA,UAEQC,WAAAA;EAOqDpB;;;;;;EAA7DqB,aAAAA,GAAgBpB,aAAAA,OAAoBqB,OAAAA,EAASpB,OAAAA,EAASqB,KAAAA,EAAOvB,WAAAA,KAAgBC,aAAAA;EAAhCC;;;;;EAM7CsB,eAAAA;EAWAC;;;;;;AAiB4B;;;;EAjB5BA,GAAAA;EAsB2BI;;;;;;;;AAA2B;EAZtDH,aAAAA;;;;;;;EAOAC,SAAAA,GAAYV,gBAAAA;AAAAA;;;;KAKTW,OAAAA,GAAUR,WAAAA,GAAcS,OAAAA,CAAQlB,mBAAAA;;;;KAIhCN,cAAAA,GAAeW,IAAAA,CAAKV,YAAAA;EASPc;;;EALhBU,GAAAA;AAAAA;;;AAWoF;KANjFvB,YAAAA,GAAaa,WAAAA,GAAcN,YAAAA,CAAaC,YAAAA;;;;EAI3CgB,MAAAA,GAAS1B,cAAAA;AAAAA;;;;KAMN4B,cAAAA,GAAiBpB,0BAAAA,GAA6BJ,yBAAAA,GAA4BC,0BAAAA,GAA6BE,0BAAAA,GAA6BsB,QAAAA,CAASF,IAAAA,CAAKJ,OAAAA;EAuBzIrB;;;;;;;;;;EAZZkB,GAAAA,EAAKU,MAAAA;EAAAA;;;EAILR,SAAAA,EAAWV,gBAAAA;EAQXoB;;;EAJAD,oBAAAA;;;;EAIAC,UAAAA,EAAY9B,YAAAA;AAAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { CommandConfig, CommandOption, CommandTree } from "./command.cjs";
|
|
2
2
|
import { ResolvedConfig } from "./config.cjs";
|
|
3
|
+
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
3
4
|
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
4
5
|
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
5
6
|
|
|
6
7
|
//#region ../core/dist/types/context.d.cts
|
|
7
8
|
//#region src/types/context.d.ts
|
|
8
|
-
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
|
+
type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPluginContext<TResolvedConfig> & AlloyPluginContext<TResolvedConfig> & NodeJsPluginContext<TResolvedConfig> & {
|
|
9
10
|
/**
|
|
10
11
|
* The root path where commands are located.
|
|
11
12
|
*/
|
|
@@ -13,7 +14,7 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
|
|
|
13
14
|
/**
|
|
14
15
|
* The default command arguments to apply to all application commands.
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
globalOptions: CommandOption[];
|
|
17
18
|
/**
|
|
18
19
|
* The list of commands discovered in the project.
|
|
19
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.cts","names":["CommandConfig","CommandOption","CommandTree","ResolvedConfig","UnresolvedContext","UnresolvedContext$1","NodeJsPluginContext","TsdownPluginContext","Context","TResolvedConfig","Record","commandsPath","
|
|
1
|
+
{"version":3,"file":"context.d.cts","names":["CommandConfig","CommandOption","CommandTree","ResolvedConfig","UnresolvedContext","UnresolvedContext$1","AlloyPluginContext","NodeJsPluginContext","TsdownPluginContext","Context","TResolvedConfig","Record","commandsPath","globalOptions","inputs","commands"],"sources":["../../../../../core/dist/types/context.d.cts"],"mappings":";;;;;;;;KAQKS,OAAAA,yBAAgCN,cAAAA,GAAiBA,cAAAA,IAAkBK,mBAAAA,CAAoBE,eAAAA,IAAmBJ,kBAAAA,CAAmBI,eAAAA,IAAmBH,mBAAAA,CAAoBG,eAAAA;EAA7J;;;EAIVE,YAAAA;EAJ0FF;;;EAQ1FG,aAAAA,EAAeZ,aAAAA;EARwJS;;;EAYvKI,MAAAA,EAAQd,aAAAA;EAIiBE;;;EAAzBa,QAAAA,EAAUJ,MAAAA,SAAeT,WAAAA;AAAAA"}
|