@eui/tools 6.11.28 → 6.11.30

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.11.28
1
+ 6.11.30
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.11.30 (2023-06-06)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted routes replacements for additional props on routes - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([dad517c6](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/dad517c6dd7c55159a2432db8a924d78dc836fd6))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.11.29 (2023-06-06)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * remotes metadata generation - check if remote exist optionally - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([70925c97](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/70925c978ff5776dabc82d2dd3ae6e2a7c078a94))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.11.28 (2023-06-06)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.11.28",
3
+ "version": "6.11.30",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -476,6 +476,12 @@ const processRoutesConfig = (project, envTarget, build, routesFile, routesFileCo
476
476
  r.menuLinkDefs.forEach((md) => {
477
477
  if (md.url === link.url) {
478
478
  routeDef = md;
479
+ if (link.id) {
480
+ routeDef.id = link.id;
481
+ }
482
+ if (link.optional) {
483
+ routeDef.optional = link.optional;
484
+ }
479
485
  return;
480
486
  }
481
487
  });
@@ -655,10 +661,10 @@ module.exports.extractRemotesMetadata = (project) => {
655
661
  if (configUtils.remotes.isVirtualRemote(r)) {
656
662
  remote = configUtils.remotes.getRemote(r);
657
663
  } else {
658
- remote = configUtils.packages.getPackage(r, true);
664
+ remote = configUtils.packages.getPackage(r, true, true);
659
665
  }
660
666
 
661
- if (remote.build && remote.build.hasParticipants) {
667
+ if (remote && remote.build && remote.build.hasParticipants) {
662
668
  let participantsList;
663
669
  if (remote.euiVersion === '15.x') {
664
670
  participantsList = openidConfigJSON.modules[remote.build.configModuleName].participants_v15