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

build: make copy-to-clipboard an explicit dependency #36

Merged

Conversation

hydrosquall
Copy link
Contributor

@hydrosquall hydrosquall commented Jul 17, 2021

Motivation

When using this plugin inside a yarn 2 project, an error message is thrown because copy-to-clipboard was referenced even though it's not part of the package's dependencies.

import copy from 'copy-to-clipboard';

Project owners can manually install copy-to-clipboard themselves, but including it within the library should saves people from an extra error message.

Notes

@shilman shilman added the dependencies Update one or more dependencies version label Sep 3, 2021
@shilman shilman merged commit bf73bd3 into storybookjs:next Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants