Paul Gschwendtner e519bef788 build: migrate @angular/pwa tests to rules_js
This commit changes the execution of `@angular/pwa` tests to `rules_js`
native `jasmine_test`.

This requires setting it up in the pnpm workspace for first-party linked
dependencies. Notably it turns out the peer dependency placeholder was
incorrect, so we are fixing it here and nicely avoid a problem where
pnpm would otherwise not find a local, or external suitable version.

As we originally tried to work without the fix for the peer dependency
range, there was supported added for extra substitutions. We are keeping
that logic as it will likely be useful in the future.
2025-01-21 09:25:54 +01:00
..

@angular/pwa

This is a schematic for adding Progressive Web App support to an Angular project. Run the schematic with the Angular CLI:

ng add @angular/pwa --project <project-name>

Executing the command mentioned above will perform the following actions:

  1. Adds @angular/service-worker as a dependency to your project.
  2. Enables service worker builds in the Angular CLI.
  3. Imports and registers the service worker in the application module.
  4. Updates the index.html file:
  5. Installs icon files to support the installed Progressive Web App (PWA).
  6. Creates the service worker configuration file called ngsw-config.json, specifying caching behaviors and other settings.

See Getting started with service workers for more information.