@eui/tools 6.16.12 → 6.16.14
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.16.
|
|
1
|
+
6.16.14
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.16.14 (2024-04-25)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* added option for folder removal at post-build time - EUI-9014 [EUI-9014](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9014) ([54c26eb5](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/54c26eb5f2e1cb2e8ae638c1c35c9e15c20fc3d6))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.16.13 (2024-04-18)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* adapted v18 MWP host build to esbuild as default - MWP-10780 [MWP-10780](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-10780) ([f67334eb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f67334eb6104493e70d538cacf551e130f385daa))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.16.12 (2024-04-15)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -252,14 +252,12 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
252
252
|
} else if (euiVersion === '14.x' || euiVersion === '15.x' || euiVersion === '16.x') {
|
|
253
253
|
projectDef = JSON.stringify(angularProjectDefV14);
|
|
254
254
|
tools.logInfo(`----using angularProjectDefV14`);
|
|
255
|
-
} else if (euiVersion === '17.x'
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
tools.logInfo(`----using angularProjectDefV17`);
|
|
262
|
-
}
|
|
255
|
+
} else if (euiVersion === '17.x') {
|
|
256
|
+
projectDef = JSON.stringify(angularProjectDefV17);
|
|
257
|
+
tools.logInfo(`----using angularProjectDefV17`);
|
|
258
|
+
} else if (euiVersion === '18.x') {
|
|
259
|
+
projectDef = JSON.stringify(angularProjectDefV17esbuild);
|
|
260
|
+
tools.logInfo(`----using angularProjectDefV17esbuild`);
|
|
263
261
|
} else {
|
|
264
262
|
if (project.build && project.build.csdrFileReplacement === true) {
|
|
265
263
|
projectDef = JSON.stringify(angularProjectLightDef);
|
|
@@ -265,6 +265,18 @@ module.exports.build = (pkg) => {
|
|
|
265
265
|
.then(() => {
|
|
266
266
|
return tools.copydir(srcFolder + '/assets', distFolder + '/assets');
|
|
267
267
|
})
|
|
268
|
+
.then(() => {
|
|
269
|
+
if (pkg.build && pkg.build.skipPublicationFolders) {
|
|
270
|
+
return pkg.build.skipPublicationFolders.reduce((promise, folder) => {
|
|
271
|
+
return promise.then(() => (
|
|
272
|
+
tools.rimraf(path.join(distFolder, folder))
|
|
273
|
+
)).catch((e) => {
|
|
274
|
+
console.log(e);
|
|
275
|
+
throw e;
|
|
276
|
+
});
|
|
277
|
+
}, Promise.resolve());
|
|
278
|
+
}
|
|
279
|
+
})
|
|
268
280
|
.then(() => {
|
|
269
281
|
console.log('assets copy succeeded');
|
|
270
282
|
tools.copy(path.join(pkg.paths.root, 'package.json'), path.join(pkg.paths.dist, 'package.json'));
|