@eui/tools 6.1.2 → 6.1.4

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.1.2
1
+ 6.1.4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.1.4 (2022-11-08)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * tsconfig path fixes - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([5f7c80d4](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/5f7c80d459b427127e2cc3c1282aaaace6fe5cdc))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.1.3 (2022-11-07)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * setting project on init phase - MWP-8946 [MWP-8946](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8946) ([30d46bfc](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/30d46bfcf9bba47fc4c4bcfc5f1761bcc7e2a0cb))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.1.2 (2022-11-06)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.1.2",
3
+ "version": "6.1.4",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -25,6 +25,7 @@ const {
25
25
  angularProjectDefConfigurationOptimizedLight,
26
26
  angularPackageDef,
27
27
  angularPackageSubEntryDef,
28
+ angularPackageSubEntryDef15,
28
29
  angularPackageDefV13,
29
30
  angularPackageDefV14,
30
31
  angularPackageDefV15,
@@ -206,7 +206,6 @@ module.exports.getPackagePaths = (pkg) => {
206
206
  pkgPublish: resolvePath(packagesPath + '/' + folder + publishFolder),
207
207
  pkgSrc: resolvePath(packagesPath + '/' + folder + '/src'),
208
208
  pkgLibFolder: resolvePath(packagesPath + '/' + folder + '/src/lib'),
209
- tsConfig: this.getTSConfigPath(resolvePath, packagesPath + '/' + folder),
210
209
  };
211
210
 
212
211
  return paths;
@@ -417,7 +416,7 @@ module.exports.getTSConfigPath = (resolvePath, packagePath) => {
417
416
  const tsPath = resolvePath(`${packagePath}/tsconfig.json`);
418
417
  const oldPath = resolvePath(`${packagePath}/tsconfig.lib.json`);
419
418
 
420
- return tools.isDirExists(tsPath) ? tsPath : oldPath;
419
+ return tools.isFileExists(tsPath) ? tsPath : oldPath;
421
420
  }
422
421
 
423
422
  module.exports.getTSConfigFileName = (tsConfigPath) => {
@@ -34,6 +34,11 @@ module.exports.init = () => {
34
34
  initialResponse.branch = 'develop';
35
35
  }
36
36
 
37
+ // setting project to null if forced to NONE
38
+ if (initialResponse.project === 'NONE') {
39
+ initialResponse.project = null;
40
+ }
41
+
37
42
  // Storing the response for propagation
38
43
  var finalResponse;
39
44