-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Update puppeteer dependencies version #15163
Update puppeteer dependencies version #15163
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit ad2e40e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
@vmalay so sorry for the delay on this. if it's still of interest, can you help me with these CI build errors in
|
@vmalay any thoughts on the error above? thanks! 🙏 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
As I am writing this comment, latest version of Puppeteer is already at 13.4.0 |
Hello @shilman, sorry for the late reply. Puppeteer took the decision to handle their own type since v6. However, it's does not ship all types and break a lot of things related to TS. The type "DirectNavigationOptions" and "Base64ScreenShotOptions" does not exist in it. I think we have no choice than implementing them ourself or open an issue on puppeteer github. It's fixed now, I manually added the missing types. |
Some tests are still failing, it does not seem related to puppeteer. I would need help on that, @shilman or someone else can take a look, please. |
Attempt to include newer version puppeteer as peer dependency or dev dependency is an error during npm i for npm >= 8.6.0, was warning at npm <8.6.0. The outdated puppeteer version is now a more serious problem than a warning, also breaks production build even if puppeteer is in peer or optional dependency. Deserves to move this forward. |
# Conflicts: # addons/storyshots/storyshots-puppeteer/package.json # yarn.lock
Issue: Puppeteer dependencies used by @storybook/storyshots-puppeteer is very old. It is 6 major updates late. Following #15079
What I did
@axe-core/puppeteer used the peerDependencies puppeteer version < 9. I updated the puppeteer dependencies to use this same version for @storybook/storyshots-puppeteer.
How to test