@eui/tools 6.2.40 → 6.2.42

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.2.40
1
+ 6.2.42
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.2.42 (2022-12-01)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added detection log for configEnvTarget on app build - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([af1a0bcc](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/af1a0bcc05e0569c390f5771cb6c0b49c24a5f4b))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.2.41 (2022-11-28)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **cli:**
15
+ * backend wrong parameters call to function - EUI-6448 [EUI-6448](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-6448) ([9a0b53df](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/9a0b53df1fd1a7fcc297c6bd94a39f97aa325dd1))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.2.40 (2022-11-23)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.40",
3
+ "version": "6.2.42",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -52,7 +52,7 @@ module.exports.generate = () => {
52
52
  return buildFrontend.generate(answers);
53
53
 
54
54
  } else if (answers.pkgType === constants.CONFIG_OPTIONS.pkgType.BACKEND) {
55
- return buildBackend.generate(answers);
55
+ return buildBackend.generate(answers.pkgName, answers.pkgScope, answers.pkgGroupId);
56
56
  }
57
57
  })
58
58
 
@@ -34,22 +34,30 @@ const getProjectInfos = () => {
34
34
 
35
35
 
36
36
  module.exports.angular = (envTarget, isSnapshot, version, configEnvTargetIn) => {
37
-
38
37
  const currentProject = getProjectInfos();
39
38
 
39
+ tools.logTitle(`Building application : ${currentProject.name}...`);
40
+ console.log(currentProject);
41
+
42
+ tools.logInfo('With build params : ');
43
+ console.log(envTarget, isSnapshot, version, configEnvTargetIn);
44
+
40
45
  const ng = path.resolve(currentProject.paths.nodeModulesPath, '@angular', 'cli', 'bin', 'ng');
41
46
 
42
47
  // checking if configEnvTarget is passed as param, if not take the global script param
43
48
  // as this angular build method can be called in stand-alone (outside of CSDR pipeline flow)
44
49
  if (configEnvTargetIn) {
45
50
  configEnvTarget = configEnvTargetIn;
51
+ tools.logInfo(`ConfigEnvTarget known : ${configEnvTarget}`);
46
52
 
47
53
  } else {
48
54
  if (configEnvTarget && typeof (configEnvTarget) === 'boolean') {
49
55
  configEnvTarget = null;
56
+ tools.logInfo(`ConfigEnvTarget unknown`);
50
57
 
51
58
  if (currentProject.build && currentProject.build.csdrFileReplacement) {
52
59
  configEnvTarget = envTarget;
60
+ tools.logInfo(`ConfigEnvTarget known (from envTarget): ${configEnvTarget}`);
53
61
  }
54
62
  }
55
63
  }