@eui/tools 5.3.15 → 5.3.16

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.15
1
+ 5.3.16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.3.16 (2022-06-20)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * package creation on empty csdr-root - EUI-4106 [EUI-4106](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4106) ([236ca4fa](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/236ca4faa7398dd3083e49660e3eeb77b9639f1a))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 5.3.15 (2022-06-20)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.15",
3
+ "version": "5.3.16",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -1509,9 +1509,24 @@ module.exports.registerModulePaths = (pkg, isReset) => {
1509
1509
  tools.copy(fileDev, fileBuildSpec);
1510
1510
  }
1511
1511
 
1512
- const jsonFileDev = require(fileDev);
1513
- const jsonFileBuild = require(fileBuild);
1514
- const jsonFileBuildSpec = require(fileBuildSpec);
1512
+ let jsonFileDev, jsonFileBuild, jsonFileBuildSpec;
1513
+ if (!tools.isFileExists(fileDev)) {
1514
+ jsonFileDev = tsConfigDef;
1515
+ } else {
1516
+ jsonFileDev = require(fileDev);
1517
+ }
1518
+
1519
+ if (!tools.isFileExists(fileBuild)) {
1520
+ jsonFileBuild = tsConfigDef;
1521
+ } else {
1522
+ jsonFileBuild = require(fileBuild);
1523
+ }
1524
+
1525
+ if (!tools.isFileExists(fileBuildSpec)) {
1526
+ jsonFileBuildSpec = tsConfigDef;
1527
+ } else {
1528
+ jsonFileBuildSpec = require(fileBuildSpec);
1529
+ }
1515
1530
 
1516
1531
  var pathBase = './packages';
1517
1532
  if (pkg.child) {