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): upgrade lighthouse and list missing dependencies #29904

Closed
wants to merge 2 commits into from

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Apr 15, 2019

This PR contains two changes:

  1. build(docs-infra): upgrade lighthouse to 4.3.0
    Also, log the Lighthouse version in test-pwa-score to aid in debugging.

  2. build(docs-infra): add missing dependencies (chrome-launcher, lighthouse-logger)
    We are using chrome-launcher and lighthouse-logger in test-pwa-score, but we do not explicitly list them as devDependencies, so we are relying on the fact that they happen to be hoisted in node_modules/ by yarn. This may unexpectedly break in the future.

    This commit fixes this, by explicitly listing them as devDependencies.

Also, log the Lighthouse version in `test-pwa-score` to aid in
debugging.
…use-logger)

We are using `chrome-launcher` and `lighthouse-logger` in
[test-pwa-score][1], but we do not explicitly list them as
`devDependencies`, so we are relying on the fact that they happen to be
hoisted in `node_modules/` by yarn. This may unexpectedly break in the
future.

This commit fixes this, by explicitly listing them as `devDependencies`.

[1]: https://github.com/angular/angular/blob/ea70d41ac/aio/scripts/test-pwa-score.js#L14-L18
@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project effort1: hours comp: docs-infra target: patch This PR is targeted for the next patch release risk: low labels Apr 15, 2019
@gkalpak gkalpak added this to the docs-infra-tooling milestone Apr 15, 2019
@gkalpak gkalpak requested a review from a team as a code owner April 15, 2019 12:52
@mary-poppins
Copy link

You can preview e0b0ecd at https://pr29904-e0b0ecd.ngbuilds.io/.

@alxhub alxhub closed this in 4f9c935 Apr 15, 2019
alxhub pushed a commit that referenced this pull request Apr 15, 2019
…use-logger) (#29904)

We are using `chrome-launcher` and `lighthouse-logger` in
[test-pwa-score][1], but we do not explicitly list them as
`devDependencies`, so we are relying on the fact that they happen to be
hoisted in `node_modules/` by yarn. This may unexpectedly break in the
future.

This commit fixes this, by explicitly listing them as `devDependencies`.

[1]: https://github.com/angular/angular/blob/ea70d41ac/aio/scripts/test-pwa-score.js#L14-L18

PR Close #29904
alxhub pushed a commit that referenced this pull request Apr 15, 2019
Also, log the Lighthouse version in `test-pwa-score` to aid in
debugging.

PR Close #29904
alxhub pushed a commit that referenced this pull request Apr 15, 2019
…use-logger) (#29904)

We are using `chrome-launcher` and `lighthouse-logger` in
[test-pwa-score][1], but we do not explicitly list them as
`devDependencies`, so we are relying on the fact that they happen to be
hoisted in `node_modules/` by yarn. This may unexpectedly break in the
future.

This commit fixes this, by explicitly listing them as `devDependencies`.

[1]: https://github.com/angular/angular/blob/ea70d41ac/aio/scripts/test-pwa-score.js#L14-L18

PR Close #29904
@gkalpak gkalpak deleted the build-aio-upgrade-lighthouse branch April 15, 2019 16:46
wKoza pushed a commit to wKoza/angular that referenced this pull request Apr 17, 2019
Also, log the Lighthouse version in `test-pwa-score` to aid in
debugging.

PR Close angular#29904
wKoza pushed a commit to wKoza/angular that referenced this pull request Apr 17, 2019
…use-logger) (angular#29904)

We are using `chrome-launcher` and `lighthouse-logger` in
[test-pwa-score][1], but we do not explicitly list them as
`devDependencies`, so we are relying on the fact that they happen to be
hoisted in `node_modules/` by yarn. This may unexpectedly break in the
future.

This commit fixes this, by explicitly listing them as `devDependencies`.

[1]: https://github.com/angular/angular/blob/ea70d41ac/aio/scripts/test-pwa-score.js#L14-L18

PR Close angular#29904
@gkalpak gkalpak added this to IN PROGRESS in docs-infra Apr 18, 2019
@gkalpak gkalpak moved this from IN PROGRESS to MERGE in docs-infra Apr 18, 2019
@angular-automatic-lock-bot
Copy link

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 Sep 14, 2019
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 effort1: hours risk: low target: patch This PR is targeted for the next patch release
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants