@powerlines/plugin-env 0.13.65 → 0.13.67
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.
|
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
215
215
|
* @param other - The other plugin to compare against.
|
|
216
216
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
217
217
|
*/
|
|
218
|
-
dedupe?: false | ((other: Plugin<
|
|
218
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
219
219
|
/**
|
|
220
220
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
221
221
|
*/
|
|
222
|
-
dependsOn?: PluginConfig<
|
|
222
|
+
dependsOn?: PluginConfig<TContext>[];
|
|
223
223
|
/**
|
|
224
224
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
225
225
|
*
|
|
226
226
|
* @param environment - The environment to check.
|
|
227
227
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
228
228
|
*/
|
|
229
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<
|
|
229
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
232
|
export { Plugin };
|
|
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
215
215
|
* @param other - The other plugin to compare against.
|
|
216
216
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
217
217
|
*/
|
|
218
|
-
dedupe?: false | ((other: Plugin<
|
|
218
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
219
219
|
/**
|
|
220
220
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
221
221
|
*/
|
|
222
|
-
dependsOn?: PluginConfig<
|
|
222
|
+
dependsOn?: PluginConfig<TContext>[];
|
|
223
223
|
/**
|
|
224
224
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
225
225
|
*
|
|
226
226
|
* @param environment - The environment to check.
|
|
227
227
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
228
228
|
*/
|
|
229
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<
|
|
229
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
232
|
export { BasePluginHookFunctions, BuildPlugin, ConfigResult, Plugin, PluginBuildPlugins, PluginHook, PluginHookObject, PluginHooks, TypesResult };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.67",
|
|
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,10 +192,10 @@
|
|
|
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.
|
|
196
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
197
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
198
|
-
"@storm-software/config-tools": "^1.188.
|
|
195
|
+
"@powerlines/alloy": "^0.11.70",
|
|
196
|
+
"@powerlines/plugin-babel": "^0.12.70",
|
|
197
|
+
"@powerlines/plugin-plugin": "^0.12.13",
|
|
198
|
+
"@storm-software/config-tools": "^1.188.61",
|
|
199
199
|
"@stryke/capnp": "^0.12.45",
|
|
200
200
|
"@stryke/env": "^0.20.37",
|
|
201
201
|
"@stryke/fs": "^0.33.20",
|
|
@@ -203,16 +203,16 @@
|
|
|
203
203
|
"@stryke/string-format": "^0.12.24",
|
|
204
204
|
"@stryke/type-checks": "^0.5.9",
|
|
205
205
|
"@stryke/types": "^0.10.23",
|
|
206
|
-
"powerlines": "^0.30.
|
|
206
|
+
"powerlines": "^0.30.12"
|
|
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.10.
|
|
211
|
+
"@powerlines/nx": "^0.10.61",
|
|
212
212
|
"@types/node": "^24.10.1",
|
|
213
213
|
"typescript": "^5.9.3",
|
|
214
214
|
"vite": "^7.2.7"
|
|
215
215
|
},
|
|
216
216
|
"publishConfig": { "access": "public" },
|
|
217
|
-
"gitHead": "
|
|
217
|
+
"gitHead": "cf77bcf1cf8704db0c0be1a77a3a2b7d5f801aa6"
|
|
218
218
|
}
|