@powerlines/plugin-untyped 0.2.44 → 0.2.46

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-untyped",
3
- "version": "0.2.44",
3
+ "version": "0.2.46",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use Untyped for code generation based on user-defined schemas.",
6
6
  "repository": {
@@ -121,14 +121,14 @@
121
121
  "defu": "^6.1.4",
122
122
  "jiti": "^2.6.1",
123
123
  "@storm-software/untyped": "^0.24.54",
124
- "powerlines": "^0.35.0"
124
+ "powerlines": "^0.35.2"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@storm-software/config": "^1.134.73",
128
- "@powerlines/nx": "^0.11.23",
129
- "@powerlines/plugin-plugin": "^0.12.44",
128
+ "@powerlines/nx": "^0.11.25",
129
+ "@powerlines/plugin-plugin": "^0.12.46",
130
130
  "@types/node": "^24.10.4"
131
131
  },
132
132
  "publishConfig": { "access": "public" },
133
- "gitHead": "b2222b4984e94db4850cdeda830206c8f1946395"
133
+ "gitHead": "8d5595f73e85e6d3171f73c91dff3e967080c80b"
134
134
  }