Skip to content

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

Closed
gkalpak wants to merge 6 commits into
angular:masterfrom
gkalpak:build-aio-update-angular
Closed

gkalpak wants to merge 6 commits into
angular:masterfrom
gkalpak:build-aio-update-angular

Conversation

@gkalpak

@gkalpak gkalpak commented Oct 2, 2021 •

Copy link
Copy Markdown
Member

See individual commits for details.

This is the equivalent of #43687, but for the master branch.

Fixes #28114.

@gkalpak gkalpak added state: WIP area: build & ci Related the build and CI infrastructure of the project refactoring Issue that involves refactoring or code-cleanup comp: docs-infra target: major This PR is targeted for the next major release labels Oct 2, 2021
@gkalpak gkalpak added this to the docs-infra-aio-app milestone Oct 2, 2021
@google-cla google-cla Bot added the cla: yes label Oct 2, 2021
@gkalpak gkalpak changed the title Build aio update angular build(docs-infra): update Angular framework and Material to latest prerelease versions (v13.0.0-next.10/7) Oct 2, 2021
@gkalpak gkalpak changed the title build(docs-infra): update Angular framework and Material to latest prerelease versions (v13.0.0-next.10/7) build(docs-infra): update Angular framework/Material to versions 13.0.0-next.10/7 Oct 2, 2021
@mary-poppins

Copy link
Copy Markdown

@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from 8c90794 to 4b22c3b Compare October 2, 2021 21:15
@mary-poppins

Copy link
Copy Markdown

@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from 4b22c3b to 2a9f6a7 Compare October 2, 2021 21:44
@gkalpak gkalpak changed the title build(docs-infra): update Angular framework/Material to versions 13.0.0-next.10/7 build(docs-infra): update Angular framework/Material to versions 13.0.0-next.9/7 Oct 2, 2021
@mary-poppins

Copy link
Copy Markdown

@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from 2a9f6a7 to fcfb4d1 Compare October 2, 2021 22:11
@mary-poppins

Copy link
Copy Markdown

@crisbeto

crisbeto commented Oct 2, 2021 •

Copy link
Copy Markdown
Member

FYI I did the Angular and TS upgrades already in #43642.

@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from fcfb4d1 to 3f7abe9 Compare October 2, 2021 22:37
@mary-poppins

Copy link
Copy Markdown

@gkalpak gkalpak added action: review The PR is still awaiting reviews from at least one requested reviewer and removed state: WIP labels Oct 3, 2021
@gkalpak

gkalpak commented Oct 3, 2021

Copy link
Copy Markdown
Member Author

Thx for the heads-up, @crisbeto. I'll rebase this PR if yours gets merged first.
(For now, I am keeping the changes here as well in case this gets merged before your PR, because we want to get the updates deployed to angular.io asap.)

@gkalpak
gkalpak marked this pull request as ready for review October 3, 2021 06:18
@gkalpak
gkalpak requested a review from IgorMinar October 3, 2021 06:18
@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from 3f7abe9 to 83722ff Compare October 3, 2021 09:03
@gkalpak gkalpak added the action: merge The PR is ready for merge by the caretaker label Oct 5, 2021
@ngbot

This comment has been minimized.

@gkalpak gkalpak added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Oct 5, 2021
@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from a8022de to 31471eb Compare October 5, 2021 10:15
@mary-poppins

Copy link
Copy Markdown

@gkalpak

gkalpak commented Oct 5, 2021 •

Copy link
Copy Markdown
Member Author

The CI failures are not related to this PR and will be fixed by #43714.

@gkalpak gkalpak removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Oct 5, 2021
@gkalpak
gkalpak force-pushed the build-aio-update-angular branch from 31471eb to baaf1c6 Compare October 5, 2021 17:15
@mary-poppins

Copy link
Copy Markdown

@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker and removed action: merge The PR is ready for merge by the caretaker labels Oct 5, 2021
…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.
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.
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.
This commit updates angular.io to the latest prerelease version of
Angular CDK/Material (v13.0.0-next.7).
…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
gkalpak force-pushed the build-aio-update-angular branch from baaf1c6 to b80b42a Compare October 6, 2021 15:40
@mary-poppins

Copy link
Copy Markdown

@gkalpak gkalpak added the action: merge The PR is ready for merge by the caretaker label Oct 6, 2021
@dylhunn

dylhunn commented Oct 6, 2021

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 841c5ae.

@dylhunn dylhunn closed this in 72d1dfd Oct 6, 2021
dylhunn pushed a commit that referenced this pull request Oct 6, 2021
…#43686)

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.

PR Close #43686
dylhunn pushed a commit that referenced this pull request Oct 6, 2021
…ps (#43686)

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.

PR Close #43686
dylhunn pushed a commit that referenced this pull request Oct 6, 2021
…43686)

This commit updates angular.io to the latest prerelease version of
Angular CDK/Material (v13.0.0-next.7).

PR Close #43686
dylhunn pushed a commit that referenced this pull request Oct 6, 2021
…ministic (#43686)

As explained in #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 #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 #43679.

[1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15

PR Close #43686
@gkalpak
gkalpak deleted the build-aio-update-angular branch October 6, 2021 17:33
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Nov 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project cla: yes refactoring Issue that involves refactoring or code-cleanup target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

angular.io app gets stuck in “loading document” state, likely due to client-server version skew

6 participants