-
Notifications
You must be signed in to change notification settings - Fork 29
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
Addon breaks compilation in Storybook 6.2.x #49
Comments
Hello @KrofDrakula , |
Hm, this could be a Yarn issue, then. It seems that upgrading Storybook packages that we depend on directly from 6.1 to 6.2 doesn't propagate to this addon's dependencies which remain at I guess the only way to resolve the current situation would be removing the |
Maybe it is because we doesn't require to use the last version in this |
Shouldn’t such a dependency be declared as a |
storybook-addon-themes
installs its own version of@storybook/[email protected]
which is incompatible with Storybook v6.2.x.It should define
@storybook/*
dependencies asdevDependencies
andpeerDependencies
in order to avoid breaking for future versions. That would enable developing the addon normally by installing the dependencies directly, but when published and consumed, would use the peer dependency provided by the actual installed version.The text was updated successfully, but these errors were encountered: