@shell-shock/plugin-theme 0.4.20 → 0.4.21
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.cjs +1 -29
- package/dist/_virtual/_rolldown/runtime.mjs +1 -0
- package/dist/contexts/index.cjs +1 -5
- package/dist/contexts/index.mjs +1 -3
- package/dist/contexts/theme.cjs +1 -29
- package/dist/contexts/theme.mjs +1 -26
- 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 +3 -2
- 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.cjs +1 -1295
- package/dist/helpers/ansi-utils.mjs +1 -1287
- package/dist/helpers/ansi-utils.mjs.map +1 -1
- package/dist/helpers/border-styles.cjs +1 -201
- package/dist/helpers/border-styles.mjs +1 -199
- package/dist/helpers/border-styles.mjs.map +1 -1
- package/dist/helpers/constants.cjs +1 -39
- 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 +1 -33
- package/dist/helpers/constants.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -107
- package/dist/helpers/index.mjs +1 -6
- package/dist/helpers/merge.cjs +1 -19
- package/dist/helpers/merge.mjs +1 -17
- package/dist/helpers/merge.mjs.map +1 -1
- package/dist/helpers/spinners.cjs +1 -1852
- package/dist/helpers/spinners.mjs +1 -1758
- package/dist/helpers/spinners.mjs.map +1 -1
- package/dist/index.cjs +1 -76
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -70
- 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.3.6/node_modules/zod/v3/ZodError.d.mts +11 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/errors.d.mts +10 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/external.d.mts +14 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/external.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/enumUtil.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/enumUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.mts +10 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/partialUtil.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/partialUtil.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/index.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/index.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/locales/en.d.mts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/locales/en.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.mts +16 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.mts.map +1 -0
- package/dist/packages/core/dist/api.d.mts +8 -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.cjs +1 -285
- package/dist/style-dictionary/border-styles.mjs +1 -284
- package/dist/style-dictionary/border-styles.mjs.map +1 -1
- package/dist/style-dictionary/colors.cjs +1 -1391
- package/dist/style-dictionary/colors.mjs +1 -1390
- package/dist/style-dictionary/colors.mjs.map +1 -1
- package/dist/style-dictionary/icons.cjs +1 -169
- package/dist/style-dictionary/icons.mjs +1 -168
- package/dist/style-dictionary/icons.mjs.map +1 -1
- package/dist/style-dictionary/labels.cjs +1 -151
- package/dist/style-dictionary/labels.mjs +1 -150
- package/dist/style-dictionary/labels.mjs.map +1 -1
- package/dist/style-dictionary/padding.cjs +1 -38
- package/dist/style-dictionary/padding.mjs +1 -37
- package/dist/style-dictionary/padding.mjs.map +1 -1
- package/dist/style-dictionary/settings.cjs +1 -26
- package/dist/style-dictionary/settings.mjs +1 -25
- package/dist/style-dictionary/settings.mjs.map +1 -1
- package/dist/style-dictionary/spinners.cjs +1 -31
- package/dist/style-dictionary/spinners.mjs +1 -30
- package/dist/style-dictionary/spinners.mjs.map +1 -1
- package/dist/themes/default.cjs +1 -156
- package/dist/themes/default.mjs +1 -155
- package/dist/themes/default.mjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.d.mts +4 -5
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/dist/types/theme.mjs +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
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
|
|
29
|
-
exports.__toESM = __toESM;
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createRequire as e}from"node:module";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,t)=>()=>(e&&(t=e(e=0)),t),o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=r(a),l=0,u=c.length,d;l<u;l++)d=c[l],!i.call(e,d)&&d!==o&&t(e,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=n(a,d))||s.enumerable});return e},l=e=>i.call(e,`module.exports`)?e[`module.exports`]:c(t({},`__esModule`,{value:!0}),e),u=e(import.meta.url);export{o as __commonJSMin,a as __esmMin,s as __exportAll,u as __require,l as __toCommonJS};
|
package/dist/contexts/index.cjs
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_contexts_theme = require('./theme.cjs');
|
|
3
|
-
|
|
4
|
-
exports.useColors = require_contexts_theme.useColors;
|
|
5
|
-
exports.useTheme = require_contexts_theme.useTheme;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./theme.cjs`);exports.useColors=e.useColors,exports.useTheme=e.useTheme;
|
package/dist/contexts/index.mjs
CHANGED
package/dist/contexts/theme.cjs
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
const require_helpers_ansi_utils = require('../helpers/ansi-utils.cjs');
|
|
4
|
-
let _alloy_js_core = require("@alloy-js/core");
|
|
5
|
-
let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
6
|
-
|
|
7
|
-
//#region src/contexts/theme.ts
|
|
8
|
-
/**
|
|
9
|
-
* Hook to access the current application's theme configuration.
|
|
10
|
-
*
|
|
11
|
-
* @returns The resolved theme configuration.
|
|
12
|
-
*/
|
|
13
|
-
function useTheme() {
|
|
14
|
-
const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
|
|
15
|
-
return (0, _alloy_js_core.computed)(() => context.theme).value;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Hook to access the current application's ANSI colors/styles.
|
|
19
|
-
*
|
|
20
|
-
* @returns The ANSI colors/styles.
|
|
21
|
-
*/
|
|
22
|
-
function useColors() {
|
|
23
|
-
const theme = useTheme();
|
|
24
|
-
return (0, _alloy_js_core.computed)(() => require_helpers_ansi_utils.getAnsiStyles(theme.colors)).value;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.useColors = useColors;
|
|
29
|
-
exports.useTheme = useTheme;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../helpers/ansi-utils.cjs`);let t=require(`@alloy-js/core`),n=require(`@powerlines/plugin-alloy/core/contexts/context`);function r(){let e=(0,n.usePowerlines)();return(0,t.computed)(()=>e.theme).value}function i(){let n=r();return(0,t.computed)(()=>e.getAnsiStyles(n.colors)).value}exports.useColors=i,exports.useTheme=r;
|
package/dist/contexts/theme.mjs
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { computed } from "@alloy-js/core";
|
|
3
|
-
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
4
|
-
|
|
5
|
-
//#region src/contexts/theme.ts
|
|
6
|
-
/**
|
|
7
|
-
* Hook to access the current application's theme configuration.
|
|
8
|
-
*
|
|
9
|
-
* @returns The resolved theme configuration.
|
|
10
|
-
*/
|
|
11
|
-
function useTheme() {
|
|
12
|
-
const context = usePowerlines();
|
|
13
|
-
return computed(() => context.theme).value;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Hook to access the current application's ANSI colors/styles.
|
|
17
|
-
*
|
|
18
|
-
* @returns The ANSI colors/styles.
|
|
19
|
-
*/
|
|
20
|
-
function useColors() {
|
|
21
|
-
const theme = useTheme();
|
|
22
|
-
return computed(() => getAnsiStyles(theme.colors)).value;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export { useColors, useTheme };
|
|
1
|
+
import{getAnsiStyles as e}from"../helpers/ansi-utils.mjs";import{computed as t}from"@alloy-js/core";import{usePowerlines as n}from"@powerlines/plugin-alloy/core/contexts/context";function r(){let e=n();return t(()=>e.theme).value}function i(){let n=r();return t(()=>e(n.colors)).value}export{i as useColors,r as useTheme};
|
|
27
2
|
//# sourceMappingURL=theme.mjs.map
|
|
@@ -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":"mLA0BA,SAAW,GAAW,CACrB,IAAA,EAAA,GAAA,CAEC,OADc,MAAe,EAAA,MAC7B,CAAA,MAQF,SAAE,GAAA,CACA,IAAM,EAAG,GAAW,CAEpB,OADD,MAAA,EAAA,EAAA,OAAA,CACc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","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":"
|
|
1
|
+
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","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,6 +1,7 @@
|
|
|
1
1
|
import { CommandBase, CommandOption } from "./command.cjs";
|
|
2
2
|
import { Context } from "./context.cjs";
|
|
3
3
|
import { OutputConfig } from "powerlines";
|
|
4
|
+
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
4
5
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
5
6
|
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
6
7
|
import { TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
@@ -71,7 +72,7 @@ type Options = BaseOptions & Partial<NodeJsPluginOptions>;
|
|
|
71
72
|
/**
|
|
72
73
|
* The output configuration options for Shell Shock.
|
|
73
74
|
*/
|
|
74
|
-
type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage"> & {
|
|
75
|
+
type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage" | "sourceMap"> & {
|
|
75
76
|
/**
|
|
76
77
|
* An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.
|
|
77
78
|
*/
|
|
@@ -89,7 +90,7 @@ type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPlu
|
|
|
89
90
|
/**
|
|
90
91
|
* The resolved configuration options for Shell Shock.
|
|
91
92
|
*/
|
|
92
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
93
|
+
type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
93
94
|
/**
|
|
94
95
|
* 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
96
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","NodeJsPluginUserConfig","TsdownPluginResolvedConfig","TsdownPluginUserConfig","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","Partial","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","dts","UserConfig","output","ResolvedConfig","Omit","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","NodeJsPluginUserConfig","TsdownPluginResolvedConfig","TsdownPluginUserConfig","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","Partial","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","dts","UserConfig","output","ResolvedConfig","Omit","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;KASKY,YAAAA,GAAeC,IAAAA,CAAKF,sBAAAA;AAAAA,UACfG,gBAAAA;;;;EAIRC,GAAAA;EAJwB;;;;AAWhB;;EAARC,QAAAA;AAAAA;AAAAA,KAEGC,WAAAA,GAAcC,OAAAA,CAAQN,YAAAA;EAOTX;;;;;;EAAhBkB,aAAAA,GAAgBlB,aAAAA,OAAoBmB,OAAAA,EAASlB,OAAAA,EAASmB,KAAAA,EAAOrB,WAAAA,KAAgBC,aAAAA;EAP5DiB;;;;;EAajBI,eAAAA;EAN6DtB;;;;;;;;;;EAiB7DuB,GAAAA;EAsBU;;;;;;;;;EAZVC,aAAAA;EAYsD;;AAAA;;;;EALtDC,SAAAA,GAAYX,gBAAAA;AAAAA;;;;KAKTY,OAAAA,GAAUT,WAAAA,GAAcC,OAAAA,CAAQX,mBAAAA;;;;KAIhCJ,cAAAA,GAAeU,IAAAA,CAAKT,YAAAA;EASOc;;;EAL9BS,GAAAA;AAAAA;;;;KAKGC,UAAAA,GAAaX,WAAAA,GAAcC,OAAAA,CAAQT,sBAAAA,IAA0BI,IAAAA,CAAKJ,sBAAAA;EAALI;;;EAIhEgB,MAAAA,GAAS1B,cAAAA;AAAAA;;AAAY;;KAKlB2B,cAAAA,GAAiBpB,0BAAAA,GAA6BL,yBAAAA,GAA4BC,0BAAAA,GAA6BE,0BAAAA,GAA6BwB,QAAAA,CAASD,IAAAA,CAAKL,OAAAA;EAAjIhB;;;;;;;;;;EAWpBa,GAAAA,EAAKU,MAAAA;EAYiB;;;EARtBR,SAAAA,EAAWX,gBAAAA;EAf+FN;;;EAmB1G0B,oBAAAA;EARAX;;;EAYAY,UAAAA,EAAYP,UAAAA;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"}
|