-
Notifications
You must be signed in to change notification settings - Fork 105
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
Set version ranges using ^ in package.json to deduplicate transitive dependencies #385
Comments
locking to exact versions makes sense for a product but does not make sense for a library which depends on other libraries which recursively depend on other libraries |
picking this up |
@Petsamuel Assigned 🥳 good luck! |
We've decided that version ranges aren't worth it for us right now. The potential benefits of slimming package size don't outweigh the risk of introducing breaking changes in upstream deps or causing inconsistent issues that result from local package versions being different depending on when someone runs npm install. In the future, when we revisit package size optimization, we'll revisit this issue. |
Background:
This ask came from #315.
The original intent of version lock was to prevent any chance of unexpected dependency issues. But if it deals more pain by default, a case (the above referenced issue) can be made to relax the restriction.
The alternative is to have mono-repos and locking our dependency versions between projects. But this approach will not help with externally managed projects like
ion-tools
in which case we will need to fork.Task Details:
package.json
to latest^
to the version numberPicking Up This Issue:
Questions:
#hack-together
channel and collaborate with a buddy.#getting-started
channel.Resources:
Remember, communication is key! If you have any questions or face any challenges, we're here to help so please don't hesitate to reach out.
Good Luck! 🍁
The text was updated successfully, but these errors were encountered: