@eui/tools 5.3.44 → 5.3.45

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
- 5.3.44
1
+ 5.3.45
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.3.45 (2022-09-14)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * unhandled exception at initial clone and over exception operations - EUI-41078 [EUI-41078](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-41078) ([122de54c](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/122de54c0eb840008b86ffc9de7a212e848dca3a))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 5.3.44 (2022-09-08)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.44",
3
+ "version": "5.3.45",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -633,7 +633,16 @@ module.exports.sendErrorNotification = (pkg, exception, pkgMetadata) => {
633
633
  if (exception !== 'PACKAGE_LOCKED') {
634
634
  return metadataUtils.package.unlockPackage(pkg);
635
635
  }
636
- });
636
+ })
637
+
638
+ .catch((e) => {
639
+ throw e;
640
+ })
641
+ })
642
+
643
+ .catch((e) => {
644
+ console.log(e);
645
+ process.exit(1);
637
646
  })
638
647
  }
639
648
 
@@ -47,6 +47,10 @@ module.exports.angular = (envTarget, isSnapshot, version, configEnvTargetIn) =>
47
47
  } else {
48
48
  if (configEnvTarget && typeof (configEnvTarget) === 'boolean') {
49
49
  configEnvTarget = null;
50
+
51
+ if (currentProject.build && currentProject.build.csdrFileReplacement) {
52
+ configEnvTarget = envTarget;
53
+ }
50
54
  }
51
55
  }
52
56
 
@@ -187,6 +191,10 @@ module.exports.angular = (envTarget, isSnapshot, version, configEnvTargetIn) =>
187
191
  isOptimizedBuild = true;
188
192
  }
189
193
 
194
+ if (envTarget && currentProject.build && currentProject.build.devBuildOptimized) {
195
+ isOptimizedBuild = true;
196
+ }
197
+
190
198
  if (!envTarget && !isSnapshot) {
191
199
  isOptimizedBuild = true;
192
200
  }