builder icon indicating copy to clipboard operation
builder copied to clipboard

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

Open pifantastic opened this issue 1 year ago • 1 comments

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.

pifantastic avatar Apr 10 '24 16:04 pifantastic

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

samijaber avatar Apr 10 '24 19:04 samijaber