-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Can I use peer dependencies? #292
Comments
I don't see any apparent benefit of this as Bower's dependency structure is flat. If you specify jquery as a dep in your project and a jquery plugin as dep with a different jquery version as dep, you will already get a warning about it, just like npm peerDependencies, and the jquery version in your component.json will take precedence. Which means Bower's "dependencies" key is somewhat like a poor-mans peerDependencies. |
I agree with @sindresorhus, going to close this out. |
Okay, thank you for your answers. |
npm recently released support for peer dependencies, can I use them with Bower, too?
E.g. if I have a specific platform as a website like a CMS I want to download specific components for this host environment with Bower. Think of it like grunt is a host environment for grunt-plugins.
The text was updated successfully, but these errors were encountered: