@eui/tools 4.19.3 → 4.19.4

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
- 4.19.3
1
+ 4.19.4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 4.19.4 (2022-02-03)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * added pwa injection in angular config - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([d36f21fd](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d36f21fd0c80a10daed260f09d79b03917ce1322))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 4.19.3 (2022-02-02)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.19.3",
3
+ "version": "4.19.4",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -1120,6 +1120,13 @@ module.exports.registerAngularProjectDef = (project, build = false) => {
1120
1120
  jsonFile['projects'][project.name].architect.serve.configurations[confKey] = serveConf;
1121
1121
  })
1122
1122
  }
1123
+
1124
+ // checking pwa additional injection
1125
+ if (project.build && project.build.pwa) {
1126
+ jsonFile['projects'][project.name].architect.build.options.serviceWorker = true;
1127
+ jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = "ngsw-config.json";
1128
+ jsonFile['projects'][project.name].architect.build.options.assets.push("src/manifest.webmanifest");
1129
+ }
1123
1130
  }
1124
1131
 
1125
1132
  tools.writeJsonFileSync(file, jsonFile);