@angular/pwa 20.0.0-rc.2 → 20.0.0-rc.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.
package/README.md CHANGED
@@ -13,9 +13,7 @@ Executing the command mentioned above will perform the following actions:
13
13
  1. Adds [`@angular/service-worker`](https://npmjs.com/@angular/service-worker) as a dependency to your project.
14
14
  1. Enables service worker builds in the Angular CLI.
15
15
  1. Imports and registers the service worker in the application module.
16
- 1. Updates the `index.html` file:
17
- - Includes a link to add the [manifest.webmanifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) file.
18
- - Adds a meta tag for `theme-color`.
16
+ 1. Updates the `index.html` file to inlclude a link to add the [manifest.webmanifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) file.
19
17
  1. Installs icon files to support the installed Progressive Web App (PWA).
20
18
  1. Creates the service worker configuration file called `ngsw-config.json`, specifying caching behaviors and other settings.
21
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/pwa",
3
- "version": "20.0.0-rc.2",
3
+ "version": "20.0.0-rc.4",
4
4
  "description": "PWA schematics for Angular",
5
5
  "keywords": [
6
6
  "Angular CLI",
@@ -17,12 +17,12 @@
17
17
  "save": false
18
18
  },
19
19
  "dependencies": {
20
- "@angular-devkit/schematics": "20.0.0-rc.2",
21
- "@schematics/angular": "20.0.0-rc.2",
20
+ "@angular-devkit/schematics": "20.0.0-rc.4",
21
+ "@schematics/angular": "20.0.0-rc.4",
22
22
  "parse5-html-rewriting-stream": "7.1.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular/cli": "^20.0.0-rc.2"
25
+ "@angular/cli": "^20.0.0-rc.4"
26
26
  },
27
27
  "peerDependenciesMeta": {
28
28
  "@angular/cli": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "packageManager": "pnpm@9.15.9",
37
37
  "engines": {
38
- "node": "^20.11.1 || ^22.11.0 || >=24.0.0",
38
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
39
39
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
40
40
  "yarn": ">= 1.13.0"
41
41
  },
@@ -1,8 +1,6 @@
1
1
  {
2
2
  "name": "<%= title %>",
3
3
  "short_name": "<%= title %>",
4
- "theme_color": "#1976d2",
5
- "background_color": "#fafafa",
6
4
  "display": "standalone",
7
5
  "scope": "./",
8
6
  "start_url": "./",
package/pwa/index.js CHANGED
@@ -28,7 +28,6 @@ function updateIndexFile(path) {
28
28
  rewriter.on('endTag', (endTag) => {
29
29
  if (endTag.tagName === 'head') {
30
30
  rewriter.emitRaw(' <link rel="manifest" href="manifest.webmanifest">\n');
31
- rewriter.emitRaw(' <meta name="theme-color" content="#1976d2">\n');
32
31
  }
33
32
  else if (endTag.tagName === 'body' && needsNoScript) {
34
33
  rewriter.emitRaw(' <noscript>Please enable JavaScript to continue using this application.</noscript>\n');