@eui/tools 6.14.9 → 6.14.10
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.14.
|
|
1
|
+
6.14.10
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.14.10 (2023-12-06)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* transfer cli args to internal function for angular app build - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([eac5c2c1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/eac5c2c169bb945a6b699a62f88c81632a9f7357))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.14.9 (2023-12-06)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -10,23 +10,6 @@ const versionUtils = require('../../../csdr/version/version-utils');
|
|
|
10
10
|
|
|
11
11
|
const preBuildUtils = require('../../pre-build/pre-build-utils');
|
|
12
12
|
|
|
13
|
-
let {
|
|
14
|
-
skipLint,
|
|
15
|
-
skipTest,
|
|
16
|
-
skipCompile,
|
|
17
|
-
configuration,
|
|
18
|
-
baseHref,
|
|
19
|
-
watch,
|
|
20
|
-
dryRun,
|
|
21
|
-
maxSpaceSize,
|
|
22
|
-
statsJson,
|
|
23
|
-
extraWebpackConfig,
|
|
24
|
-
ci,
|
|
25
|
-
deployUrl,
|
|
26
|
-
sourceMap,
|
|
27
|
-
configEnvTarget,
|
|
28
|
-
} = tools.getArgs();
|
|
29
|
-
|
|
30
13
|
const getProjectInfos = () => {
|
|
31
14
|
// getting the project from installed config
|
|
32
15
|
const prj = configUtils.projects.getProject();
|
|
@@ -50,6 +33,23 @@ module.exports.angular = (
|
|
|
50
33
|
configEnvTargetIn: null,
|
|
51
34
|
}
|
|
52
35
|
) => {
|
|
36
|
+
let {
|
|
37
|
+
skipLint,
|
|
38
|
+
skipTest,
|
|
39
|
+
skipCompile,
|
|
40
|
+
configuration,
|
|
41
|
+
baseHref,
|
|
42
|
+
watch,
|
|
43
|
+
dryRun,
|
|
44
|
+
maxSpaceSize,
|
|
45
|
+
statsJson,
|
|
46
|
+
extraWebpackConfig,
|
|
47
|
+
ci,
|
|
48
|
+
deployUrl,
|
|
49
|
+
sourceMap,
|
|
50
|
+
configEnvTarget,
|
|
51
|
+
} = tools.getArgs();
|
|
52
|
+
|
|
53
53
|
let currentProject;
|
|
54
54
|
|
|
55
55
|
if (args.project) {
|
|
@@ -68,6 +68,9 @@ module.exports.angular = (
|
|
|
68
68
|
tools.logInfo('With build params : ');
|
|
69
69
|
console.log(envTarget, isSnapshot, version, configEnvTargetIn);
|
|
70
70
|
|
|
71
|
+
tools.logInfo('With CLI args provided :');
|
|
72
|
+
console.log(tools.getArgs());
|
|
73
|
+
|
|
71
74
|
const ng = path.resolve(currentProject.paths.nodeModulesPath, '@angular', 'cli', 'bin', 'ng');
|
|
72
75
|
|
|
73
76
|
// checking if configEnvTarget is passed as param, if not take the global script param
|
|
@@ -300,6 +303,8 @@ module.exports.maven = () => {
|
|
|
300
303
|
};
|
|
301
304
|
|
|
302
305
|
module.exports.postBuild = (project) => {
|
|
306
|
+
const { dryRun } = tools.getArgs();
|
|
307
|
+
|
|
303
308
|
tools.logTitle('Executing project post-build script');
|
|
304
309
|
|
|
305
310
|
return Promise.resolve()
|