Skip to content

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

Open
mykas wants to merge 3 commits into
masterfrom
move-types-puppeteer
Open

[puppeteer adapter] Move @types/puppeter to devDependencies#186
mykas wants to merge 3 commits into
masterfrom
move-types-puppeteer

Conversation

@mykas

@mykas mykas commented Jul 20, 2022

Copy link
Copy Markdown
Contributor

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.

@amitdahan amitdahan left a comment

Copy link
Copy Markdown

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
Copy Markdown

@mykas 馃憢

@yakirza17

Copy link
Copy Markdown

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