@eui/tools 6.2.31 → 6.2.32

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.
@@ -1 +1 @@
1
- 6.2.31
1
+ 6.2.32
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.2.32 (2022-11-16)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * adapted configuration injection for MWP v15 - MWP-8474 [MWP-8474](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8474) ([339515f0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/339515f0796a6172ba9abb5e344c41ba22534630))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.2.31 (2022-11-16)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.31",
3
+ "version": "6.2.32",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -158,7 +158,17 @@ module.exports.injectAppConfig = (project, configEnvTarget) => {
158
158
 
159
159
  if (configEnvTarget) {
160
160
  tools.logInfo(`Executing configuration replacement for : ${configEnvTarget} environment`);
161
- envFilePath = path.join(project.paths.angularPath, 'src/assets/config', `env-json-config-${configEnvTarget}.json`);
161
+
162
+ let envOpenidPrefix = 'env-json-config-';
163
+ if (project.build && project.build.envOpenidPrefix) {
164
+ envOpenidPrefix = project.build.envOpenidPrefix;
165
+ }
166
+
167
+ let openidConfigAssetsFolder = 'assets/config';
168
+ if (project.build && project.build.openidConfigAssetsFolder) {
169
+ openidConfigAssetsFolder = project.build.openidConfigAssetsFolder;
170
+ }
171
+ envFilePath = path.join(project.paths.angularPath, `src/${openidConfigAssetsFolder}`, `${envOpenidPrefix}${configEnvTarget}.json`);
162
172
  }
163
173
 
164
174
  if (project.build && project.build.customEnvJsonConfigInjection) {