@powerlines/plugin-env 0.13.67 → 0.13.69
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.
|
@@ -126,6 +126,12 @@ interface BuildConfig {
|
|
|
126
126
|
* Should the Powerlines CLI processes skip bundling the `node_modules` directory?
|
|
127
127
|
*/
|
|
128
128
|
skipNodeModulesBundle?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
|
|
131
|
+
*
|
|
132
|
+
* @defaultValue false
|
|
133
|
+
*/
|
|
134
|
+
keepProcessEnv?: boolean;
|
|
129
135
|
/**
|
|
130
136
|
* An optional set of override options to apply to the selected build variant.
|
|
131
137
|
*
|
|
@@ -128,6 +128,12 @@ interface BuildConfig {
|
|
|
128
128
|
* Should the Powerlines CLI processes skip bundling the `node_modules` directory?
|
|
129
129
|
*/
|
|
130
130
|
skipNodeModulesBundle?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
|
|
133
|
+
*
|
|
134
|
+
* @defaultValue false
|
|
135
|
+
*/
|
|
136
|
+
keepProcessEnv?: boolean;
|
|
131
137
|
/**
|
|
132
138
|
* An optional set of override options to apply to the selected build variant.
|
|
133
139
|
*
|
|
@@ -311,6 +311,18 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
311
311
|
* Environment-specific configurations
|
|
312
312
|
*/
|
|
313
313
|
environments?: Record<string, EnvironmentConfig>;
|
|
314
|
+
/**
|
|
315
|
+
* Should a single `build` process be ran for each environment?
|
|
316
|
+
*
|
|
317
|
+
* @remarks
|
|
318
|
+
* This option determines how environments are managed during the `build` process. The available options are:
|
|
319
|
+
*
|
|
320
|
+
* - `false`: A separate build is ran for each environment.
|
|
321
|
+
* - `true`: A single build is ran for all environments.
|
|
322
|
+
*
|
|
323
|
+
* @defaultValue false
|
|
324
|
+
*/
|
|
325
|
+
singleBuild?: boolean;
|
|
314
326
|
/**
|
|
315
327
|
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
316
328
|
*
|
|
@@ -312,6 +312,18 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
312
312
|
* Environment-specific configurations
|
|
313
313
|
*/
|
|
314
314
|
environments?: Record<string, EnvironmentConfig>;
|
|
315
|
+
/**
|
|
316
|
+
* Should a single `build` process be ran for each environment?
|
|
317
|
+
*
|
|
318
|
+
* @remarks
|
|
319
|
+
* This option determines how environments are managed during the `build` process. The available options are:
|
|
320
|
+
*
|
|
321
|
+
* - `false`: A separate build is ran for each environment.
|
|
322
|
+
* - `true`: A single build is ran for all environments.
|
|
323
|
+
*
|
|
324
|
+
* @defaultValue false
|
|
325
|
+
*/
|
|
326
|
+
singleBuild?: boolean;
|
|
315
327
|
/**
|
|
316
328
|
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
317
329
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.69",
|
|
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.72",
|
|
196
|
+
"@powerlines/plugin-babel": "^0.12.72",
|
|
197
|
+
"@powerlines/plugin-plugin": "^0.12.15",
|
|
198
|
+
"@storm-software/config-tools": "^1.188.65",
|
|
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.
|
|
206
|
+
"powerlines": "^0.31.0"
|
|
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.
|
|
212
|
-
"@types/node": "^24.10.
|
|
211
|
+
"@powerlines/nx": "^0.10.63",
|
|
212
|
+
"@types/node": "^24.10.2",
|
|
213
213
|
"typescript": "^5.9.3",
|
|
214
|
-
"vite": "
|
|
214
|
+
"vite": "8.0.0-beta.1"
|
|
215
215
|
},
|
|
216
216
|
"publishConfig": { "access": "public" },
|
|
217
|
-
"gitHead": "
|
|
217
|
+
"gitHead": "2a4c29a361c5702474c60ee5f06a3e4e87d23c35"
|
|
218
218
|
}
|