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

Chore/add storybook types as peer dependency #18

Merged
merged 7 commits into from
Aug 10, 2024

Conversation

eliasm307
Copy link
Owner

@eliasm307 eliasm307 commented Aug 10, 2024

For Storybook 8 the @storybook/types package doesn't seem to come implicitly from other storybook packages as a peer dependency, from this migration script it looks like the @storybook/types dependency needs to be added explicitly.

The @storybook/types package is not deprecated for Storybook 8 so this PR adds it as a peer dependency and its up to the parent project what version of the types to use.

Fixes #17

Copy link

netlify bot commented Aug 10, 2024

Deploy Preview for jade-truffle-8ae50a failed.

Name Link
🔨 Latest commit f598ee1
🔍 Latest deploy log https://app.netlify.com/sites/jade-truffle-8ae50a/deploys/66b7c65451c1680008dd9ff6

@eliasm307 eliasm307 force-pushed the chore/add-storybook-types-as-peer-dependency branch from 2a45adc to f598ee1 Compare August 10, 2024 19:58
Copy link
Owner Author

@eliasm307 eliasm307 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published in v0.6.3

@eliasm307 eliasm307 merged commit 4ee3531 into main Aug 10, 2024
@eliasm307 eliasm307 deleted the chore/add-storybook-types-as-peer-dependency branch August 10, 2024 20:22
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.

Throws error on storybook 8
1 participant