@eui/tools 6.21.46 → 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 +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/scripts/csdr/config/angular.js +17 -1
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.47
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
* * *
|
|
1
10
|
## 6.21.46 (2025-03-05)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
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');
|