@eui/tools 6.2.41 → 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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.2.
|
|
1
|
+
6.2.42
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
* * *
|
|
1
10
|
## 6.2.41 (2022-11-28)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -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
|
}
|