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

@builder.io/widgets depends on an old version of preact #3185

Open
pifantastic opened this issue Apr 10, 2024 · 1 comment
Open

@builder.io/widgets depends on an old version of preact #3185

pifantastic opened this issue Apr 10, 2024 · 1 comment

Comments

@pifantastic
Copy link

Describe the bug
@builder.io/widgets depends on an old version of preact (^8.4.2): https://github.com/BuilderIO/builder/blob/main/packages/widgets/package.json#L133

This version was released in 2018! This is currently blocking us from upgrading Storybook 7 to 8.

To Reproduce
Steps to reproduce the behavior:

  1. Install latest builder widgets + storybook 7
  2. Run yarn dlx storybook@latest upgrade

Expected behavior
Upgrading to Storybook 8 should not be blocked.

Screenshots

Screenshot 2024-04-10 at 11 28 01 AM

Additional context
Add any other context about the problem here.

@samijaber
Copy link
Contributor

Thanks for filing. We will investigate.

In the meanwhile, one workaround you can do is add a resolutions field for "@builder.io/widgets/preact" that will allow you to upgrade seamlessly.

I see you're using yarn, so here is a guide on how to do that. https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/#toc-how-to-use-it

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

No branches or pull requests

2 participants