storybook-design-token icon indicating copy to clipboard operation
storybook-design-token copied to clipboard

Storybook modules as peer dependencies?

Open edoardocavazza opened this issue 4 years ago • 1 comments

Hello! Thank you for this addon, it is very very useful. I noticed that core Storybook modules like @storybook/addons, @storybook/components and @storybook/theming are treated as addon's dependencies. Shouldn't they be defined as peer dependencies instead? Any downside?

edoardocavazza avatar Aug 07 '21 10:08 edoardocavazza

Hey. At least I couldn't find a framework package that doesn't include these dependencies. I'll check if they can be removed with the next release.

Only downside would be that you'd have to install these packages yourself if the peer dependency versions don't match, right?

Sqrrl avatar Aug 13 '21 13:08 Sqrrl