@eui/tools 6.9.5 → 6.9.6
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.9.
|
|
1
|
+
6.9.6
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.9.6 (2023-03-21)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* routes config v2 - added multiple remote entries based on eUI version for multiple envs targets - MWP-9204 [MWP-9204](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9204) ([fb5b9b9f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/fb5b9b9f768c727374d0cd0a463097de00fcbcb0))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.9.5 (2023-03-20)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -474,10 +474,19 @@ const processRoutesConfigV2 = (project, envTarget, build, routesFileContent, eui
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
if (route.remote) {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
477
|
+
const remoteDef = defRoute.remoteDefs.filter((r) => {
|
|
478
|
+
return r.euiVersion === route.euiVersion
|
|
479
|
+
})[0];
|
|
480
|
+
if (remoteDef) {
|
|
481
|
+
newAppRoute.data.moduleId = remoteDef.moduleId;
|
|
482
|
+
newAppRoute.data.elementTag = remoteDef.elementTag;
|
|
483
|
+
newAppRoute.data.iframe = remoteDef.iframe;
|
|
484
|
+
|
|
485
|
+
} else {
|
|
486
|
+
tools.logError('Remote route not found for: ');
|
|
487
|
+
console.log(route);
|
|
488
|
+
throw 'REMOTE_ROUTE_DEF_NOT_FOUND';
|
|
489
|
+
}
|
|
481
490
|
}
|
|
482
491
|
|
|
483
492
|
appRoutes.push(newAppRoute);
|