@powerlines/plugin-style-dictionary 0.1.98 → 0.1.100

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.
@@ -18,7 +18,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
18
18
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
19
19
  */
20
20
  type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
21
- type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
21
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
22
22
  /**
23
23
  * A configuration tuple for a Powerlines plugin.
24
24
  */
@@ -36,7 +36,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
36
36
  /**
37
37
  * A configuration tuple for a Powerlines plugin.
38
38
  */
39
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
39
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
40
40
  type ProjectType = "application" | "library";
41
41
  interface DeployConfig {
42
42
  /**
@@ -18,7 +18,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
18
18
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
19
19
  */
20
20
  type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
21
- type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
21
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
22
22
  /**
23
23
  * A configuration tuple for a Powerlines plugin.
24
24
  */
@@ -36,7 +36,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
36
36
  /**
37
37
  * A configuration tuple for a Powerlines plugin.
38
38
  */
39
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
39
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
40
40
  type ProjectType = "application" | "library";
41
41
  interface DeployConfig {
42
42
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-style-dictionary",
3
- "version": "0.1.98",
3
+ "version": "0.1.100",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code with Style Dictionary.",
6
6
  "repository": {
@@ -127,14 +127,14 @@
127
127
  "@stryke/types": "^0.10.28",
128
128
  "defu": "^6.1.4",
129
129
  "jiti": "^2.6.1",
130
- "powerlines": "^0.35.0",
130
+ "powerlines": "^0.35.2",
131
131
  "style-dictionary": "^5.1.1"
132
132
  },
133
133
  "devDependencies": {
134
- "@powerlines/nx": "^0.11.23",
135
- "@powerlines/plugin-plugin": "^0.12.44",
134
+ "@powerlines/nx": "^0.11.25",
135
+ "@powerlines/plugin-plugin": "^0.12.46",
136
136
  "@types/node": "^24.10.4"
137
137
  },
138
138
  "publishConfig": { "access": "public" },
139
- "gitHead": "b2222b4984e94db4850cdeda830206c8f1946395"
139
+ "gitHead": "8d5595f73e85e6d3171f73c91dff3e967080c80b"
140
140
  }