@eui/tools 5.3.84 → 5.3.86
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
|
-
5.3.
|
|
1
|
+
5.3.86
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 5.3.86 (2022-10-28)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* element build for v14 - MWP-8915 [MWP-8915](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8915) ([ad61b620](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ad61b62075b8899b844c98097023a8dfb506ec9a))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 5.3.85 (2022-10-28)
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* cleanup element serve script for v14 - MWP-8915 [MWP-8915](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8915) ([7c19c05b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/7c19c05b2298fe907970b269a74bd1daeb94f652))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 5.3.84 (2022-10-28)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -19,6 +19,8 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
19
19
|
|
|
20
20
|
const ng = path.resolve(pkg.paths.repoNodeModules, '@angular', 'cli', 'bin', 'ng');
|
|
21
21
|
|
|
22
|
+
const remoteEuiVersion = configUtils.packages.getRemoteEuiVersion(pkg);
|
|
23
|
+
|
|
22
24
|
return Promise.resolve()
|
|
23
25
|
|
|
24
26
|
.then(() => {
|
|
@@ -107,7 +109,16 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
107
109
|
}
|
|
108
110
|
tools.logInfo(`Launching element build...`);
|
|
109
111
|
|
|
110
|
-
|
|
112
|
+
// specific for element
|
|
113
|
+
const versionNumber = remoteEuiVersion.split('.')[0];
|
|
114
|
+
|
|
115
|
+
let args;
|
|
116
|
+
|
|
117
|
+
if (versionNumber <= 10) {
|
|
118
|
+
args = ['--max_old_space_size=8096', ng, 'build', pkg.name, '--prod'];
|
|
119
|
+
} else {
|
|
120
|
+
args = ['--max_old_space_size=8096', ng, 'build', pkg.name];
|
|
121
|
+
}
|
|
111
122
|
|
|
112
123
|
if (statsJson) {
|
|
113
124
|
args.push(`--stats-json`);
|
|
@@ -127,7 +138,11 @@ module.exports.build = (pkg, isMaster) => {
|
|
|
127
138
|
}
|
|
128
139
|
|
|
129
140
|
// specific for element
|
|
130
|
-
|
|
141
|
+
|
|
142
|
+
if (versionNumber <= 10) {
|
|
143
|
+
args.push(`--single-bundle=true`);
|
|
144
|
+
}
|
|
145
|
+
|
|
131
146
|
args.push(`--output-hashing=none`);
|
|
132
147
|
|
|
133
148
|
if (build) {
|
|
@@ -44,12 +44,12 @@ module.exports.serve = () => {
|
|
|
44
44
|
|
|
45
45
|
if (versionNumber <= 10) {
|
|
46
46
|
args.push(`--outputPath=${destPath}`);
|
|
47
|
+
args.push(`--single-bundle=true`);
|
|
47
48
|
} else {
|
|
48
49
|
args.push(`--output-path=${destPath}`);
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
args.push('--watch=true');
|
|
52
|
-
args.push(`--single-bundle=true`);
|
|
53
53
|
args.push(`--output-hashing=none`);
|
|
54
54
|
|
|
55
55
|
if (configuration) {
|