Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(docs-infra): update Angular framework/Material to versions 13.0.0-next.9/7 #43686

Closed
wants to merge 6 commits into from

Commits on Oct 6, 2021

  1. build(docs-infra): use $schema in ngsw-config.template.json to pr…

    …ovide intellisense
    
    Add an appropriate `$schema` property in `ngsw-config.template.json` to
    allow IDEs to provide intellisense about the various fields of the
    config.
    gkalpak committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    618dc2f View commit details
    Browse the repository at this point in the history
  2. refactor(docs-infra): prefix error messages with Angular version info

    Prefix error messages with the Angular version currently used in the
    angular.io app. This applies to both errors logged to the console and
    reported to Google Analytics and makes debugging certain errors easier.
    gkalpak committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    5d3a351 View commit details
    Browse the repository at this point in the history
  3. build(docs-infra): update AIO to align with new v13.0.0-next.9 CLI apps

    This commit updates angular.io to more closely align with new apps
    created with the latest Angular CLI and remove redundant files/config
    now that CLI has dropped support for differential loading.
    gkalpak committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    8d8b838 View commit details
    Browse the repository at this point in the history
  4. build(docs-infra): update Angular Material to version 13.0.0-next.7

    This commit updates angular.io to the latest prerelease version of
    Angular CDK/Material (v13.0.0-next.7).
    gkalpak committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    610d86a View commit details
    Browse the repository at this point in the history
  5. build(docs-infra): ensure ngsw.json generation is correct and deter…

    …ministic
    
    As explained in angular#43679, currently the generation of the `ngsw.json` SW
    manifest is non-deterministic and often incorrect. Until we can update
    to an `@angular/service-worker` version that includes the fix from
    PR angular#43679, we temporarily work-around the issue by re-generating the
    `ngsw.json` manifest after `ng build` using the `ngsw-config` binary
    exposed by `@angular/service-worker`.
    
    NOTE:
    This works around the issue, because the [FileSystem][1] class used by
    the `ngsw-config` binary happens to be synchronous (unlike the
    implementation provided by the Angular CLI), thus avoiding the race
    conditions described in angular#43679.
    
    [1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15
    gkalpak committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    c82c62e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b80b42a View commit details
    Browse the repository at this point in the history