-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore: Don't hoist devtools-protocol #28372
Conversation
@chrisbreiding what does one need to know with updating this in the future? are we ahead or behind playwright? Any reason we couldn't match versions? |
@emilyrohrbough I don't think there's much to be concerned about in the future. If As far as matching versions, we could certainly do that. I tried that out, but it would require changing some of the |
The concern would really just be forgetting why it is here and it being harder to unwind and remove with all the other dependencies in the repo. |
Yeah, I understand that concern. If only package.json supported comments. At the very least, the git blame can lead someone in the future back to this PR to see the reasoning for it. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
This is a prerequisite for #28370.
puppeteer-core
has a dependency on a version ofdevtools-protocol
which is incompatible with the version we use in various packages in the repo. If they get hoisted, it uses the version installed bypuppeteer-core
and causes type mismatches and CI failures.This needs to be separate from #28370 since otherwise the release analyzer thinks it's making changes to the binary that requires a changelog entry, but #28370 is only a feature release for the
@cypress/puppeteer
npm package.PR Tasks
cypress-documentation
?type definitions
?