@eui/tools 6.2.31 → 6.2.33
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
|
-
6.2.
|
|
1
|
+
6.2.33
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.2.33 (2022-11-16)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted host project def skeletons - MWP-8474 [MWP-8474](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8474) ([cc964322](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/cc96432230babdd4b4f084edb16d56f117faca97))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.2.32 (2022-11-16)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.2.31 (2022-11-16)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -1038,29 +1038,7 @@ module.exports.angularProjectDefConfigurationHost = {
|
|
|
1038
1038
|
"vendorChunk": true,
|
|
1039
1039
|
"extractLicenses": false,
|
|
1040
1040
|
"sourceMap": true,
|
|
1041
|
-
"namedChunks": true
|
|
1042
|
-
"fileReplacements": [
|
|
1043
|
-
{
|
|
1044
|
-
"replace": "hosts/@project.name@/src/assets/openid-login-config.json",
|
|
1045
|
-
"with": "hosts/@project.name@/src/assets/@config.filename@"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"replace": "hosts/@project.name@/src/environments/environment.ts",
|
|
1049
|
-
"with": "hosts/@project.name@/src/environments/environment.@config.key@.ts"
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
"replace": "hosts/@project.name@/src/assets/oidc-client.min.js",
|
|
1053
|
-
"with": "node_modules/oidc-client/dist/oidc-client.min.js"
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"replace": "hosts/@project.name@/src/assets/jsrsasign-all-min.js",
|
|
1057
|
-
"with": "node_modules/jsrsasign/lib/jsrsasign-all-min.js"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"replace": "hosts/@project.name@/src/assets/openid-login.js",
|
|
1061
|
-
"with": "node_modules/@eui/base/assets/openid/openid-login.js"
|
|
1062
|
-
}
|
|
1063
|
-
]
|
|
1041
|
+
"namedChunks": true
|
|
1064
1042
|
};
|
|
1065
1043
|
|
|
1066
1044
|
|
|
@@ -1122,28 +1100,6 @@ module.exports.angularProjectDefConfigurationOptimized = {
|
|
|
1122
1100
|
}
|
|
1123
1101
|
|
|
1124
1102
|
module.exports.angularProjectDefConfigurationOptimizedHost = {
|
|
1125
|
-
"fileReplacements": [
|
|
1126
|
-
{
|
|
1127
|
-
"replace": "hosts/@project.name@/src/assets/openid-login-config.json",
|
|
1128
|
-
"with": "hosts/@project.name@/src/assets/@config.filename@"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"replace": "hosts/@project.name@/src/environments/environment.ts",
|
|
1132
|
-
"with": "hosts/@project.name@/src/environments/environment.@config.key@.ts"
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
"replace": "hosts/@project.name@/src/assets/oidc-client.min.js",
|
|
1136
|
-
"with": "node_modules/oidc-client/dist/oidc-client.min.js"
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"replace": "hosts/@project.name@/src/assets/jsrsasign-all-min.js",
|
|
1140
|
-
"with": "node_modules/jsrsasign/lib/jsrsasign-all-min.js"
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"replace": "hosts/@project.name@/src/assets/openid-login.js",
|
|
1144
|
-
"with": "node_modules/@eui/base/assets/openid/openid-login.js"
|
|
1145
|
-
}
|
|
1146
|
-
],
|
|
1147
1103
|
"optimization": true,
|
|
1148
1104
|
"outputHashing": "all",
|
|
1149
1105
|
"sourceMap": false,
|
|
@@ -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
|
-
|
|
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) {
|