@eui/tools 6.16.14 → 6.16.16

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.16.14
1
+ 6.16.16
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.16.16 (2024-04-30)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add noLiveReload option for serve - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([05929cff](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/05929cff725d1460b1aed7be1509402a55459d5e))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.16.15 (2024-04-26)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * 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))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.16.14 (2024-04-25)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.16.14",
3
+ "version": "6.16.16",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -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
- if (euiVersion === '15.x') {
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
  }
@@ -10,7 +10,7 @@ const configUtils = require('../../csdr/config/config-utils');
10
10
 
11
11
  module.exports.serve = () => {
12
12
 
13
- let { configuration, baseHref, servePath, host, proxyConfig, maxSpaceSize, port, disableHostCheck, open, debug, configEnvTarget } = tools.getArgs();
13
+ let { configuration, baseHref, servePath, host, proxyConfig, maxSpaceSize, port, disableHostCheck, open, debug, configEnvTarget, noLiveReload } = tools.getArgs();
14
14
 
15
15
  const prj = configUtils.projects.getProject();
16
16
 
@@ -78,7 +78,11 @@ module.exports.serve = () => {
78
78
  }
79
79
 
80
80
  if (!(open === 'false')) {
81
- args.push('--open=true')
81
+ args.push('--open=true');
82
+ }
83
+
84
+ if (noLiveReload) {
85
+ args.push('--live-reload=false');
82
86
  }
83
87
 
84
88
  tools.logInfo(`ng serve with args ${args}`);