Skip to content

build(docs-infra): update @angular/* to 12.1.1#42776

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

build(docs-infra): update @angular/* to 12.1.1#42776
gkalpak wants to merge 6 commits intoangular:masterfrom
gkalpak:build-aio-update-angular

Conversation

@gkalpak
Copy link
Copy Markdown
Member

@gkalpak gkalpak commented Jul 5, 2021

Update @angular/* packages to latest 12.1.x versions (mainly to take advantage of recent ServiceWorker improvements, such as #42607 and #42622).

@google-cla google-cla bot added the cla: yes label Jul 5, 2021
@gkalpak gkalpak added area: build & ci Related the build and CI infrastructure of the project comp: docs-infra state: WIP target: patch This PR is targeted for the next patch release labels Jul 5, 2021
@ngbot ngbot bot modified the milestone: Backlog Jul 5, 2021
@gkalpak gkalpak modified the milestones: Backlog, docs-infra-aio-app Jul 5, 2021
@gkalpak gkalpak mentioned this pull request Jul 5, 2021
1 task
@mary-poppins
Copy link
Copy Markdown

You can preview 26d915d at https://pr42776-26d915d.ngbuilds.io/.

@gkalpak gkalpak force-pushed the build-aio-update-angular branch from 26d915d to aa33ec5 Compare July 5, 2021 17:32
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, from the ~2KB increase, ~0.5KB come from updating CLI/devkit and ~1.5KB from updating CDK.

@mary-poppins
Copy link
Copy Markdown

You can preview aa33ec5 at https://pr42776-aa33ec5.ngbuilds.io/.

@gkalpak gkalpak added action: review The PR is still awaiting reviews from at least one requested reviewer and removed state: WIP labels Jul 5, 2021
@mary-poppins
Copy link
Copy Markdown

You can preview 1f18575 at https://pr42776-1f18575.ngbuilds.io/.

@gkalpak gkalpak marked this pull request as ready for review July 5, 2021 18:11
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in first commit: en eminent -> an imminent

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes me a bit sad...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another way to get around this would be to wrap the test code in a expect(() => {...}).not.toThrow()?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched to .not.toThrow(). (Making you sad is the last thing I want from my PRs 😁)

@pullapprove pullapprove bot requested a review from petebacondarwin July 7, 2021 08:04
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: size-tracking

@pullapprove pullapprove bot requested a review from jelbourn July 7, 2021 08:14
gkalpak added 2 commits July 7, 2021 15:13
This commit updates the payload sizes for angular.io to make it easier
to identify payload size changes from an imminent update of `@angular/*`
packages.
Update `@angular/*` packages to latest 12.1.x versions (mainly to take
advantage of recent ServiceWorker improvements, such as angular#42607
and angular#42622).
gkalpak added 4 commits July 7, 2021 15:14
Fix a unit test warning due to Jasmine not realizing that
`httpMock.expectOne()` is an expectation.

[Example][1]:

> WARN: 'Spec 'DocumentService currentDocument should encode the request
> path to be case-insensitive' has no expectations.'

[1]: https://circleci.com/gh/angular/angular/1017640
….div()`

This commit replaces the deprecated `/` operators used for division in
Sass files with the [recommended][1] `math.div()` function to get rid of
build warnings ([example][2]).

[1]: https://sass-lang.com/documentation/breaking-changes/slash-div
[2]: https://circleci.com/gh/angular/angular/1017640
This commit expands the info printed to the console to help diagnose
ServiceWorker issues to include the [internal debug info][1] retrieved
from `/ngsw/state`. This will provide more useful data, such as the
activated SW's version, state, clients, recent operations and any recent
errors.

NOTE:
This temporarily increases the payload size. Removing this code and
reclaiming the payload size is being tracked in angular#41117.

[1]: https://angular.io/guide/service-worker-devops#locating-and-analyzing-debugging-information
@gkalpak gkalpak force-pushed the build-aio-update-angular branch from 1f18575 to 52c54ce Compare July 7, 2021 12:37
@gkalpak gkalpak requested a review from petebacondarwin July 7, 2021 12:38
@mary-poppins
Copy link
Copy Markdown

You can preview 52c54ce at https://pr42776-52c54ce.ngbuilds.io/.

Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: size-tracking

Copy link
Copy Markdown
Contributor

@atscott atscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: size-tracking

@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 7, 2021
atscott pushed a commit that referenced this pull request Jul 7, 2021
This commit updates the payload sizes for angular.io to make it easier
to identify payload size changes from an imminent update of `@angular/*`
packages.

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
Update `@angular/*` packages to latest 12.1.x versions (mainly to take
advantage of recent ServiceWorker improvements, such as #42607
and #42622).

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
Fix a unit test warning due to Jasmine not realizing that
`httpMock.expectOne()` is an expectation.

[Example][1]:

> WARN: 'Spec 'DocumentService currentDocument should encode the request
> path to be case-insensitive' has no expectations.'

[1]: https://circleci.com/gh/angular/angular/1017640

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
….div()` (#42776)

This commit replaces the deprecated `/` operators used for division in
Sass files with the [recommended][1] `math.div()` function to get rid of
build warnings ([example][2]).

[1]: https://sass-lang.com/documentation/breaking-changes/slash-div
[2]: https://circleci.com/gh/angular/angular/1017640

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
This commit expands the info printed to the console to help diagnose
ServiceWorker issues to include the [internal debug info][1] retrieved
from `/ngsw/state`. This will provide more useful data, such as the
activated SW's version, state, clients, recent operations and any recent
errors.

NOTE:
This temporarily increases the payload size. Removing this code and
reclaiming the payload size is being tracked in #41117.

[1]: https://angular.io/guide/service-worker-devops#locating-and-analyzing-debugging-information

PR Close #42776
@atscott atscott closed this in 6548a53 Jul 7, 2021
atscott pushed a commit that referenced this pull request Jul 7, 2021
Update `@angular/*` packages to latest 12.1.x versions (mainly to take
advantage of recent ServiceWorker improvements, such as #42607
and #42622).

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
Fix a unit test warning due to Jasmine not realizing that
`httpMock.expectOne()` is an expectation.

[Example][1]:

> WARN: 'Spec 'DocumentService currentDocument should encode the request
> path to be case-insensitive' has no expectations.'

[1]: https://circleci.com/gh/angular/angular/1017640

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
….div()` (#42776)

This commit replaces the deprecated `/` operators used for division in
Sass files with the [recommended][1] `math.div()` function to get rid of
build warnings ([example][2]).

[1]: https://sass-lang.com/documentation/breaking-changes/slash-div
[2]: https://circleci.com/gh/angular/angular/1017640

PR Close #42776
atscott pushed a commit that referenced this pull request Jul 7, 2021
This commit expands the info printed to the console to help diagnose
ServiceWorker issues to include the [internal debug info][1] retrieved
from `/ngsw/state`. This will provide more useful data, such as the
activated SW's version, state, clients, recent operations and any recent
errors.

NOTE:
This temporarily increases the payload size. Removing this code and
reclaiming the payload size is being tracked in #41117.

[1]: https://angular.io/guide/service-worker-devops#locating-and-analyzing-debugging-information

PR Close #42776
@gkalpak gkalpak deleted the build-aio-update-angular branch July 8, 2021 10: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 Aug 8, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants