@eui/tools 6.16.13 → 6.16.15
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.15
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.16.15 (2024-04-26)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* pwa injection for mobile app after 15.x - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([1d5a3aa7](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/1d5a3aa723c228028fcb3e536d8e79f9fd135191))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.16.14 (2024-04-25)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.16.13 (2024-04-18)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -360,11 +360,7 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
360
360
|
// checking pwa additional injection
|
|
361
361
|
if (project.build && project.build.pwa) {
|
|
362
362
|
jsonFile['projects'][project.name].architect.build.options.serviceWorker = true;
|
|
363
|
-
|
|
364
|
-
jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = `${project.folder}/ngsw-config.json`;
|
|
365
|
-
} else {
|
|
366
|
-
jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = "ngsw-config.json";
|
|
367
|
-
}
|
|
363
|
+
jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = `${project.folder}/ngsw-config.json`;
|
|
368
364
|
jsonFile['projects'][project.name].architect.build.options.assets.push(`apps/${project.name}/src/manifest.webmanifest`);
|
|
369
365
|
}
|
|
370
366
|
}
|
|
@@ -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'));
|