@powerlines/plugin-env 0.13.100 → 0.13.102

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.
@@ -19,7 +19,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
19
19
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
20
20
  */
21
21
  type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
22
- type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
22
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
23
23
  /**
24
24
  * A configuration tuple for a Powerlines plugin.
25
25
  */
@@ -37,7 +37,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
37
37
  /**
38
38
  * A configuration tuple for a Powerlines plugin.
39
39
  */
40
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
40
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
41
41
  type ProjectType = "application" | "library";
42
42
  type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
43
43
  /**
@@ -20,7 +20,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
20
20
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
21
21
  */
22
22
  type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
23
- type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
23
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
24
24
  /**
25
25
  * A configuration tuple for a Powerlines plugin.
26
26
  */
@@ -38,7 +38,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
38
38
  /**
39
39
  * A configuration tuple for a Powerlines plugin.
40
40
  */
41
- type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
41
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
42
42
  type ProjectType = "application" | "library";
43
43
  type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
44
44
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-env",
3
- "version": "0.13.100",
3
+ "version": "0.13.102",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
6
6
  "repository": {
@@ -192,9 +192,9 @@
192
192
  "@alloy-js/markdown": "^0.21.0",
193
193
  "@babel/core": "^7.28.5",
194
194
  "@babel/types": "^7.28.5",
195
- "@powerlines/alloy": "^0.11.103",
196
- "@powerlines/plugin-babel": "^0.12.101",
197
- "@powerlines/plugin-plugin": "^0.12.44",
195
+ "@powerlines/alloy": "^0.11.105",
196
+ "@powerlines/plugin-babel": "^0.12.103",
197
+ "@powerlines/plugin-plugin": "^0.12.46",
198
198
  "@storm-software/config-tools": "^1.188.73",
199
199
  "@stryke/capnp": "^0.12.51",
200
200
  "@stryke/env": "^0.20.43",
@@ -203,16 +203,16 @@
203
203
  "@stryke/string-format": "^0.12.29",
204
204
  "@stryke/type-checks": "^0.5.14",
205
205
  "@stryke/types": "^0.10.28",
206
- "powerlines": "^0.35.0"
206
+ "powerlines": "^0.35.2"
207
207
  },
208
208
  "devDependencies": {
209
209
  "@alloy-js/babel-preset": "^0.2.1",
210
210
  "@babel/preset-typescript": "^7.28.5",
211
- "@powerlines/nx": "^0.11.23",
211
+ "@powerlines/nx": "^0.11.25",
212
212
  "@types/node": "^24.10.4",
213
213
  "typescript": "^5.9.3",
214
214
  "vite": "8.0.0-beta.2"
215
215
  },
216
216
  "publishConfig": { "access": "public" },
217
- "gitHead": "cadf48ea6f9f62834655063cbf5c65e74203d6dc"
217
+ "gitHead": "8d5595f73e85e6d3171f73c91dff3e967080c80b"
218
218
  }