@angular/pwa 18.1.0-next.0 → 18.1.0-next.2
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 +3 -3
- package/package.json +13 -4
- package/pwa/index.d.ts +1 -1
- package/pwa/index.js +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# `@angular/pwa`
|
|
2
2
|
|
|
3
|
-
This is a [schematic](https://angular.
|
|
3
|
+
This is a [schematic](https://angular.dev/tools/cli/schematics) for adding
|
|
4
4
|
[Progressive Web App](https://web.dev/progressive-web-apps/) support to an Angular project. Run the
|
|
5
|
-
schematic with the [Angular CLI](https://angular.
|
|
5
|
+
schematic with the [Angular CLI](https://angular.dev/tools/cli):
|
|
6
6
|
|
|
7
7
|
```shell
|
|
8
8
|
ng add @angular/pwa --project <project-name>
|
|
@@ -19,5 +19,5 @@ Executing the command mentioned above will perform the following actions:
|
|
|
19
19
|
1. Installs icon files to support the installed Progressive Web App (PWA).
|
|
20
20
|
1. Creates the service worker configuration file called `ngsw-config.json`, specifying caching behaviors and other settings.
|
|
21
21
|
|
|
22
|
-
See [Getting started with service workers](https://angular.
|
|
22
|
+
See [Getting started with service workers](https://angular.dev/ecosystem/service-workers/getting-started)
|
|
23
23
|
for more information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/pwa",
|
|
3
|
-
"version": "18.1.0-next.
|
|
3
|
+
"version": "18.1.0-next.2",
|
|
4
4
|
"description": "PWA schematics for Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Angular CLI",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"save": false
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@angular-devkit/schematics": "18.1.0-next.
|
|
21
|
-
"@schematics/angular": "18.1.0-next.
|
|
20
|
+
"@angular-devkit/schematics": "18.1.0-next.2",
|
|
21
|
+
"@schematics/angular": "18.1.0-next.2",
|
|
22
22
|
"parse5-html-rewriting-stream": "7.0.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"optional": true
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
+
"packageManager": "yarn@4.2.2",
|
|
32
33
|
"repository": {
|
|
33
34
|
"type": "git",
|
|
34
35
|
"url": "https://github.com/angular/angular-cli.git"
|
|
@@ -43,5 +44,13 @@
|
|
|
43
44
|
"bugs": {
|
|
44
45
|
"url": "https://github.com/angular/angular-cli/issues"
|
|
45
46
|
},
|
|
46
|
-
"homepage": "https://github.com/angular/angular-cli"
|
|
47
|
+
"homepage": "https://github.com/angular/angular-cli",
|
|
48
|
+
"dependenciesMeta": {
|
|
49
|
+
"esbuild": {
|
|
50
|
+
"built": true
|
|
51
|
+
},
|
|
52
|
+
"puppeteer": {
|
|
53
|
+
"built": true
|
|
54
|
+
}
|
|
55
|
+
}
|
|
47
56
|
}
|
package/pwa/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Rule } from '@angular-devkit/schematics';
|
|
9
9
|
import { Schema as PwaOptions } from './schema';
|
package/pwa/index.js
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.default = default_1;
|
|
10
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
11
12
|
const utility_1 = require("@schematics/angular/utility");
|
|
12
13
|
const path_1 = require("path");
|
|
@@ -125,7 +126,6 @@ function default_1(options) {
|
|
|
125
126
|
]);
|
|
126
127
|
};
|
|
127
128
|
}
|
|
128
|
-
exports.default = default_1;
|
|
129
129
|
/**
|
|
130
130
|
* This uses a dynamic import to load a module which may be ESM.
|
|
131
131
|
* CommonJS code can load ESM code via a dynamic import. Unfortunately, TypeScript
|