cloudfour / lighthouse-parade

A Node.js command line tool that crawls a domain and gathers lighthouse performance data for every page.
MIT License
357 stars 14 forks source link

Use lighthouse node API and restructure output writing #111

Closed calebeby closed 2 years ago

calebeby commented 2 years ago

Overview

There is a lot of new code here! Happy to do a video walkthrough if that is helpful.

Here is what stayed mostly the same:

Everything else was rewritten:

This PR targets next. Here are other upcoming changes I'm hoping to do in separate PR's before release:

For review

I would suggest turning off whitespace changes, which will help just a little bit. Also GitHub has the nice new file tree on the left of the review page, it is probably helpful to use that.

Testing

Create a baseline lighthouse run to compare against:

Try the new changes

Then you can compare the generated CSV data and make sure the differences are minor. The new CSV format won't work with the existing google sheets template, so you can just review the CSV directly or in Numbers or something for now.

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 9377898b108f21a874f0915d788c4d56362505be

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | lighthouse-parade | Major |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR