@powerlines/plugin-react 0.1.62 → 0.1.63
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
|
*
|
|
@@ -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
|
*
|
|
@@ -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-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -136,24 +136,24 @@
|
|
|
136
136
|
"react-dom": { "optional": false }
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
|
-
"@storm-software/config-tools": "^1.188.
|
|
139
|
+
"@storm-software/config-tools": "^1.188.65",
|
|
140
140
|
"@stryke/cli": "^0.12.30",
|
|
141
141
|
"@stryke/convert": "^0.6.24",
|
|
142
142
|
"@stryke/fs": "^0.33.20",
|
|
143
143
|
"@stryke/path": "^0.22.11",
|
|
144
144
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
145
|
-
"@powerlines/alloy": "^0.11.
|
|
146
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
147
|
-
"@powerlines/plugin-env": "^0.13.
|
|
148
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
145
|
+
"@powerlines/alloy": "^0.11.72",
|
|
146
|
+
"@powerlines/plugin-babel": "^0.12.72",
|
|
147
|
+
"@powerlines/plugin-env": "^0.13.69",
|
|
148
|
+
"@powerlines/plugin-plugin": "^0.12.15",
|
|
149
149
|
"@vitejs/plugin-react": "^5.1.2",
|
|
150
150
|
"defu": "^6.1.4",
|
|
151
|
-
"powerlines": "^0.
|
|
151
|
+
"powerlines": "^0.31.0"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@powerlines/nx": "^0.10.
|
|
155
|
-
"@types/node": "^24.10.
|
|
154
|
+
"@powerlines/nx": "^0.10.63",
|
|
155
|
+
"@types/node": "^24.10.2"
|
|
156
156
|
},
|
|
157
157
|
"publishConfig": { "access": "public" },
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "2a4c29a361c5702474c60ee5f06a3e4e87d23c35"
|
|
159
159
|
}
|