@eui/tools 6.21.36 → 6.21.38

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.21.36
1
+ 6.21.38
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.38 (2025-01-16)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * activate route replacement for TST env (MWP) - MWP-11316 [MWP-11316](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11316) ([b017905d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b017905daee27cb8950a44caa69f2492636b84be))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.37 (2025-01-14)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * adapted angular.json injection for host app above 18+ - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([b899079a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b899079aca6dacc0214512dc5d3b058ec0183dc1))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.36 (2025-01-13)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.36",
3
+ "version": "6.21.38",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -377,9 +377,15 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
377
377
 
378
378
  let configurationDef, configurationDefOptimized;
379
379
  if (project.build && project.build.csdrFileReplacement) {
380
- tools.logInfo('Injecting light angular configuration - file replacement is handled by CSDR');
381
- configurationDef = JSON.stringify(angularProjectDefConfigurationLight);
382
- configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedLight);
380
+ if (packageEuiVersionNumber >= 18) {
381
+ tools.logInfo('Injecting angular configuration for 18+ - file replacement is handled by CSDR');
382
+ configurationDef = JSON.stringify(angularProjectDefConfigurationHostEsbuild);
383
+ configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedHostEsbuild);
384
+ } else {
385
+ tools.logInfo('Injecting light angular configuration - file replacement is handled by CSDR');
386
+ configurationDef = JSON.stringify(angularProjectDefConfigurationLight);
387
+ configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedLight);
388
+ }
383
389
  } else {
384
390
  tools.logInfo('Injecting angular configuration file replacement');
385
391
  if (project.host) {
@@ -524,6 +524,7 @@ const generateLinks = (project, routes, envTargetFinal) => {
524
524
 
525
525
  if (
526
526
  envTargetFinal === 'dev' ||
527
+ envTargetFinal === 'test' ||
527
528
  envTargetFinal.indexOf('local') > -1
528
529
  ) {
529
530
  if (envTargetFinal.indexOf('dev-local') > -1) {