Skip to content

fix: move react-select from peer-dep to dev-dep #146

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjitrosch
Copy link

Description

The documentation indicates that react-select is optional if end users are only interested in the useTimezoneSelect hook. However, by making react-select a peer dependency, it will be installed anyways.

This PR moves react-select from peer dependencies to dev dependencies. By doing this, we can be sure the package will always be available on install for dev work, but will not install itself without the end user wanting it.

Linked Issues

fix: #145

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.

The package react-select is listed as a peer dependency, but should be optional
1 participant