-
Notifications
You must be signed in to change notification settings - Fork 2
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
🤔Discussion: Core Utility Packages as peerDependencies #151
Comments
Why peer dependencies? |
@moshthepitt so that installing the package also installs the utils:
without requiring the user to install the utils:
|
@cKellyDesign I think that we should only do this for packages that actually use It seems the only benefit is some convenience for us? I'm not sure it is work it though. |
Definitely only want to install them in packages which would use them.
If it's not worth the effort then we don't need to pursue :) |
There is an issue for this #142 |
Cool, I'm going to close this. one then :) |
Is this a new feature or an enhancement?
Enhancement / Optimization
Is your feature request related to a problem? Please describe.
Should
@onaio/utils
and@onaio/react-utils
be peerDepencies of our other packages?Describe the solution you'd like
Would this make is so things like
Dictionary
andpercentage
are referencing a single declaration globally throughout a project (which uses ourjs-tool
'ing)?The text was updated successfully, but these errors were encountered: