@eui/tools 6.10.2 → 6.10.3

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.
@@ -1 +1 @@
1
- 6.10.2
1
+ 6.10.3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.10.3 (2023-03-28)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * ngsw config for eUI mobile v15 PWA app - EUI-7206 [EUI-7206](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7206) ([906411d1](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/906411d1f4f824351435a0db150c37aaee9001fd))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.10.2 (2023-03-27)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.10.2",
3
+ "version": "6.10.3",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -340,7 +340,11 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
340
340
  // checking pwa additional injection
341
341
  if (project.build && project.build.pwa) {
342
342
  jsonFile['projects'][project.name].architect.build.options.serviceWorker = true;
343
- jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = "ngsw-config.json";
343
+ if (euiVersion === '15.x') {
344
+ jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = `${project.folder}/ngsw-config.json`;
345
+ } else {
346
+ jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = "ngsw-config.json";
347
+ }
344
348
  jsonFile['projects'][project.name].architect.build.options.assets.push(`apps/${project.name}/src/manifest.webmanifest`);
345
349
  }
346
350
  }