user-flow
user-flow copied to clipboard
Update to LHv10🔥
Update lighthouse to v10
This enables better TS support and unlock new audits like bf cache.
The migration process includes the following refactorings:
- [x] drop lh imports from
hacky-thingsfolder - [ ] refactor the
binreference in thepackage.jsonand preparecli.jsesm - [x] use the new types
- [x] update the mock
- [x] type the runner properly
- [ ] ensure GH action works
- [ ] update exports
- [ ] update tests
- [x] #31
Learnings
- Test repo: https://github.com/push-based/ts-with-node-esm
- Puppeteer replay upgraded to ESM: https://github.com/puppeteer/replay
- We can execute npx using esm modules
- Figure out how to get ergonomic builds
-
We are unable to run jest test because of the migration to ESM