@eui/tools 6.21.26 → 6.21.27

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.26
1
+ 6.21.27
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.27 (2025-01-09)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * adapted project serve injected config for v19 - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([663636e1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/663636e1079092e8696e786a4763eb3c3989a5b1))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.26 (2025-01-09)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.26",
3
+ "version": "6.21.27",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -388,7 +388,12 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
388
388
  jsonFile['projects'][project.name].architect.build.configurations[confKey] = replaceConfiguration;
389
389
 
390
390
  // writing serve configuration entry
391
- const serveConf = { browserTarget: project.name + ':build:' + confKey };
391
+ let serveConf;
392
+ if (packageEuiVersionNumber >= 19) {
393
+ serveConf = { buildTarget: project.name + ':build:' + confKey };
394
+ } else {
395
+ serveConf = { browserTarget: project.name + ':build:' + confKey };
396
+ }
392
397
  // add proxy configuration
393
398
  if (confKey.startsWith('cdn-') && confKey.endsWith('-local')) {
394
399
  serveConf ['proxyConfig'] = 'hosts/' + project.name + '/proxy-' + confKey + '-openid.conf.js';