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

Storyshots: Add missing vue peer dependencies #12790

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

merceyz
Copy link
Contributor

@merceyz merceyz commented Oct 16, 2020

@storybook/addon-storyshots is trying to use vue and @storybook/vue without declaring them as dependencies

What I did

Added them as optional peer dependencies

How to test

Try to use @storybook/addon-storyshots with vue in a Yarn PnP project

@merceyz
Copy link
Contributor Author

merceyz commented Oct 16, 2020

This section should probably be updated as this is not the case anymore

`peerDependencies` - listing all the deps in peer will trigger warnings during the installation - we don't want users to install unneeded deps by hand.
`optionalPeerDependencies` - unfortunately there is nothing like this =(

@merceyz merceyz force-pushed the merceyz/storyshots branch from ce01bd6 to cf25fba Compare October 16, 2020 13:41
@shilman shilman changed the title fix(addon-storyshots): add missing peer dependencies for vue Storyshots: Add missing vue peer dependencies Oct 18, 2020
@shilman shilman merged commit 736f50e into storybookjs:next Oct 18, 2020
@merceyz merceyz deleted the merceyz/storyshots branch October 18, 2020 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants