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

[puppeteer adapter] Move @types/puppeter to devDependencies #186

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mykas
Copy link
Contributor

@mykas mykas commented Jul 20, 2022

After some of the Wix infrastructure moved to puppeteer major version 14 - consumers started to get the type build failures on types mismatches. This adapter is cross major version compatible and should work fine with puppeteer 14 as there are no actual breaking changes for api that this adapter is using.

The short term solution is to move @types/puppeteer-core to devDeps and unblock users from getting red builds.

The long term solution will be to upgrade this adapter to latest puppeteer and support backwards compatible api as long as possible.

Copy link

@amitdahan amitdahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I feel there might be a slight chance that users without any @types/puppeteer-core in their node_modules and somehow still using this adapter might break, but I'm not even sure they would break with skipLibCheck turned to true so let's do this and help if this somehow breaks

@amitdahan
Copy link

@mykas 👋

@yakirza17
Copy link

any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants