@shell-shock/plugin-theme 0.4.25 → 0.4.26

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.
@@ -1 +1 @@
1
- import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.cjs";
1
+ import { DocsOptions, Options, OutputConfig, ResolvedConfig, UserConfig } from "./types/config.cjs";
@@ -1,3 +1,3 @@
1
1
  import { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandMetadata, CommandOption, CommandParameterType, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.cjs";
2
- import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.cjs";
2
+ import { DocsOptions, Options, OutputConfig, ResolvedConfig, UserConfig } from "./types/config.cjs";
3
3
  import { Context } from "./types/context.cjs";
@@ -9,7 +9,7 @@ import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plug
9
9
  //#region ../core/dist/types/config.d.cts
10
10
  //#region src/types/config.d.ts
11
11
  type BuildOptions = Pick<UserConfig, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
12
- interface ReferenceOptions {
12
+ interface DocsOptions {
13
13
  /**
14
14
  * A URL to the application documentation or reference.
15
15
  */
@@ -18,7 +18,7 @@ interface ReferenceOptions {
18
18
  * A URL to the application command specific documentation or reference.
19
19
  *
20
20
  * @remarks
21
- * This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
21
+ * This URL is expected to contain the token `{command}` or `{cmd}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
22
22
  */
23
23
  commands?: string;
24
24
  }
@@ -58,12 +58,12 @@ interface BaseOptions {
58
58
  */
59
59
  autoAssignEnv?: true | string;
60
60
  /**
61
- * A URL to the application documentation or reference.
61
+ * A URL to the command-line interface application's reference documentation.
62
62
  *
63
63
  * @remarks
64
- * 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 `{docs}/command/subcommand`.
64
+ * 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}` (or `{cmd}`) 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 `{docs}/command/subcommand`.
65
65
  */
66
- docs?: ReferenceOptions | string;
66
+ docs?: DocsOptions | string;
67
67
  }
68
68
  /**
69
69
  * The plugin options for Shell Shock.
@@ -90,7 +90,7 @@ type UserConfig$1 = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
90
90
  /**
91
91
  * The resolved configuration options for Shell Shock.
92
92
  */
93
- type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
93
+ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "docs">> & {
94
94
  /**
95
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).
96
96
  *
@@ -103,9 +103,9 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
103
103
  */
104
104
  bin: Record<string, string>;
105
105
  /**
106
- * The URL(s) to the application documentation or reference.
106
+ * The URL(s) to the command-line interface application's reference documentation.
107
107
  */
108
- reference: ReferenceOptions;
108
+ docs: DocsOptions;
109
109
  /**
110
110
  * The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.
111
111
  */
@@ -116,5 +116,5 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
116
116
  userConfig: UserConfig$1;
117
117
  }; //#endregion
118
118
  //#endregion
119
- export { Options, OutputConfig$1 as OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig$1 as UserConfig };
119
+ export { DocsOptions, Options, OutputConfig$1 as OutputConfig, ResolvedConfig, UserConfig$1 as UserConfig };
120
120
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","ReferenceOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","reference","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;KAWK,YAAA,GAAe,IAAI,CAAC,UAAA;AAAA,UACf,gBAAA;;;AAD2B;EAKnCE,GAAAA;EAJwB;;;AAWhB;AAAA;;EAARC,QAAQ;AAAA;AAAA,UAEA,WAAA;EAO0D;;;;;;EAAlEC,aAAAA,GAAgB,aAAA,OAAoBG,OAAAA,EAAS,OAAA,OAAcE,KAAAA,EAAO,WAAA,KAAgB,aAAA;EAArCH;;;;;EAM7CI,eAAAA;EAWAC;;;;;AAiBuB;AAAA;;;;EAjBvBA,GAAAA;EAsB2B;;;;;;;AAA2B;AAAA;EAZtDC,aAAAA;;;;;;;EAOAC,IAAAA,GAAO,gBAAA;AAAA;;;;KAKJ,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAIhC,cAAA,GAAe,IAAI,CAAC,YAAA;EASPE;;;EALhBI,GAAAA;AAAAA;;AASqB;AAMkB;KAVpC,YAAA,GAAa,WAAA,GAAc,YAAA,CAAa,YAAA;;;;EAI3CG,MAAAA,GAAS,cAAA;AAAA;;;;KAUN,cAAA,GAAiB,0BAAA,GAA6B,yBAAA,GAA4B,0BAAA,GAA6B,0BAAA,GAA6B,QAAA,CAAS,IAAA,CAAK,OAAA;EAApGY;;;;;;;;;;EAWjDvB,GAAAA,EAAK,MAAA;EAYL+B;;;EARAF,SAAAA,EAAW,gBAAA;;;;EAIXC,oBAAAA;;;;EAIAC,UAAAA,EAAY,YAAA;AAAA"}
1
+ {"version":3,"file":"config.d.cts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","DocsOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;;KAWK,YAAA,GAAe,IAAI,CAAC,UAAA;AAAA,UACf,WAAA;;;AAD2B;EAKnCE,GAAAA;EAJmB;;;AAWX;AAAA;;EAARC,QAAQ;AAAA;AAAA,UAEA,WAAA;EAO0D;;;;;;EAAlEC,aAAAA,GAAgB,aAAA,OAAoBG,OAAAA,EAAS,OAAA,OAAcE,KAAAA,EAAO,WAAA,KAAgB,aAAA;EAArCH;;;;;EAM7CI,eAAAA;EAWAC;;;;;AAiBkB;AAAA;;;;EAjBlBA,GAAAA;EAsB2B;;;;;;;AAA2B;AAAA;EAZtDC,aAAAA;;;;;;;EAOAC,IAAAA,GAAO,WAAA;AAAA;;;;KAKJ,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAIhC,cAAA,GAAe,IAAI,CAAC,YAAA;EASPE;;;EALhBI,GAAAA;AAAAA;;AASqB;AAMkB;KAVpC,YAAA,GAAa,WAAA,GAAc,YAAA,CAAa,YAAA;;;;EAI3CG,MAAAA,GAAS,cAAA;AAAA;;;;KAUN,cAAA,GAAiB,0BAAA,GAA6B,yBAAA,GAA4B,0BAAA,GAA6B,0BAAA,GAA6B,QAAA,CAAS,IAAA,CAAK,OAAA;EAApGY;;;;;;;;;;EAWjDvB,GAAAA,EAAK,MAAA;EAYL8B;;;EARA5B,IAAAA,EAAM,WAAA;;;;EAIN2B,oBAAAA;;;;EAIAC,UAAAA,EAAY,YAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","ReferenceOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","reference","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":""}
1
+ {"version":3,"file":"config.d.mts","names":["Pick","UserConfig$1","app","commands","globalOptions","CommandOption","Context","context","CommandBase","input","isCaseSensitive","bin","autoAssignEnv","docs","DocsOptions","BaseOptions","Partial","NodeJsPluginOptions","OutputConfig$1","dts","RequiredKeys","BuildOptions","output","OutputConfig","ConfigParams","env","UserConfig","Promise","UserConfigFnObject","UserConfigFnPromise","UserConfigFn","Omit","EngineOptions$1","TsdownPluginResolvedConfig","AlloyPluginResolvedConfig","AutoMDPluginResolvedConfig","NodeJsPluginResolvedConfig","Required","Options","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/plugin-theme",
3
- "version": "0.4.25",
3
+ "version": "0.4.26",
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": [
@@ -223,19 +223,19 @@
223
223
  "files": ["dist"],
224
224
  "dependencies": {
225
225
  "@alloy-js/core": "^0.23.1",
226
- "@powerlines/plugin-alloy": "^0.26.219",
227
- "@powerlines/plugin-plugin": "^0.12.538",
228
- "@powerlines/plugin-style-dictionary": "^0.3.495",
226
+ "@powerlines/plugin-alloy": "^0.26.220",
227
+ "@powerlines/plugin-plugin": "^0.12.539",
228
+ "@powerlines/plugin-style-dictionary": "^0.3.496",
229
229
  "@stryke/helpers": "^0.10.24",
230
230
  "@stryke/json": "^0.15.8",
231
231
  "@stryke/string-format": "^0.17.26",
232
232
  "@stryke/type-checks": "^0.6.17",
233
233
  "@stryke/types": "^0.12.12",
234
234
  "defu": "^6.1.7",
235
- "powerlines": "^0.47.126",
235
+ "powerlines": "^0.47.127",
236
236
  "style-dictionary": "^5.4.3"
237
237
  },
238
238
  "devDependencies": { "@types/node": "^25.9.1" },
239
239
  "publishConfig": { "access": "public" },
240
- "gitHead": "3c10901dd3fbbc3c9d6d1a3373f01cc5f56d3321"
240
+ "gitHead": "5e6228dd92f825a7e19988626b7b24bd0be08518"
241
241
  }