benwiley4000 / cassette

📼 A flexible media player component library for React that requires no up-front config
https://benwiley4000.github.io/cassette/styleguide
MIT License
185 stars 28 forks source link

Solution for peer dependencies not updating on version update #308

Closed benwiley4000 closed 5 years ago

benwiley4000 commented 5 years ago

For reasons discussed here Lerna does not update peer dependency version numbers on a version update. The proper solution might be to switch all interdependencies to be regular dependencies, not peer dependencies.

In order to make sure this is safe maybe we should implement a load-time check similar to the one React has which warns if the @cassette/core module is instantiated twice.