@eui/tools 4.19.15 → 4.19.16
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.19.
|
|
1
|
+
4.19.16
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 4.19.16 (2022-03-09)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted openid vs normal injection env config - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([c2a5d816](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/c2a5d81641a566bc3b1036644fac1b5a504d0c1e))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 4.19.15 (2022-03-07)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -136,8 +136,15 @@ module.exports.injectAppConfig = (project, configEnvTarget) => {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
let rootTargetFolder = 'src';
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
let replacedFile;
|
|
140
|
+
|
|
141
|
+
if ((project.build && project.build.openid) || openid) {
|
|
142
|
+
replacedFile = `${rootTargetFolder}/assets/openid-login-config.json`;
|
|
143
|
+
} else {
|
|
144
|
+
replacedFile = `${rootTargetFolder}/assets/env-json-config.json`;
|
|
145
|
+
}
|
|
146
|
+
tools.logInfo(`Replacing default ${replacedFile} file by ${envFilePath} content`);
|
|
147
|
+
tools.copy(envFilePath, path.join(project.paths.angularPath, `${replacedFile}`));
|
|
141
148
|
|
|
142
149
|
tools.logSuccess();
|
|
143
150
|
})
|