@eui/tools 6.21.45 → 6.21.47
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.21.
|
|
1
|
+
6.21.47
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.47 (2025-03-05)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* Enable BFF for localhost development [CCARCHITEC-1641](https://webgate.ec.europa.eu/CITnet/jira/browse/CCARCHITEC-1641) ([8e26c76e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/8e26c76e19aada261a5b74d37ce8f1e64b6ad539))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.46 (2025-03-05)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* folio icon not showing up on route replacements for older MWP host version - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([e802dccc](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/e802dcccb2d251ffb912a23bb4c3ab6d0704696c))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.45 (2025-03-04)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -410,7 +410,23 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
410
410
|
|
|
411
411
|
let replaceConfiguration = '';
|
|
412
412
|
if (confKey.indexOf('local') > -1) {
|
|
413
|
-
tools.logInfo('Local injection (non-optimized)')
|
|
413
|
+
tools.logInfo('Local injection (non-optimized)');
|
|
414
|
+
try {
|
|
415
|
+
if (confKey.indexOf('cdn') > -1) {
|
|
416
|
+
let localIndexFilePath = 'hosts/' + project.name + '/src/index-local';
|
|
417
|
+
if (confKey.indexOf('dev') > -1) {
|
|
418
|
+
localIndexFilePath += '-dev';
|
|
419
|
+
} else if (confKey.indexOf('tst') > -1) {
|
|
420
|
+
localIndexFilePath += '-tst';
|
|
421
|
+
}
|
|
422
|
+
localIndexFilePath += '.html';
|
|
423
|
+
const configurationDefObject = JSON.parse(configurationDef);
|
|
424
|
+
configurationDefObject.index = localIndexFilePath;
|
|
425
|
+
configurationDef = JSON.stringify(configurationDefObject);
|
|
426
|
+
}
|
|
427
|
+
} catch (error) {
|
|
428
|
+
tools.logError('Failed to replace local index.html file.');
|
|
429
|
+
}
|
|
414
430
|
replaceConfiguration = tools.replaceAll(configurationDef, '@config.filename@', confValue);
|
|
415
431
|
} else {
|
|
416
432
|
tools.logInfo('Env injection - optimized');
|
|
@@ -584,10 +584,13 @@ const generateLinks = (project, routes, envTargetFinal) => {
|
|
|
584
584
|
routeDef.alwaysDisplayed = link.alwaysDisplayed;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
+
// temporary fix during v17 / v19 host transition (as the exception that folio is using iconSvgName (custom icon) in v17 already)
|
|
587
588
|
if (parseInt(euiVersion) >= 18) {
|
|
588
589
|
delete routeDef['iconClass'];
|
|
589
590
|
} else {
|
|
590
|
-
|
|
591
|
+
if (routeDef.url !== '/folio-fo/home') {
|
|
592
|
+
delete routeDef['iconSvgName'];
|
|
593
|
+
}
|
|
591
594
|
}
|
|
592
595
|
|
|
593
596
|
return;
|