-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
use exact versions instead of version ranges #3178
Comments
We only test the same version of all With that said, I can see how these patch versions could potentially cause minor bugs. @Hypnosphi @shilman thoughts? I think with the help of |
I see why we should use exact versions for cross-dependencies between our own packages. For external ones, I still see a value in using ranges, because that allows package managers to optimize the size of your The situation with |
@nikhedonia I suggest you guys upgrade with As far as our workflow goes, I think this makes sense to me with the exception of react native. I think each minor Opinions on how to address the upgrade cycle for RN? |
I've actually disabled |
I'm gonna close this issue as there isn't anything else we will address. |
I was actually going to do this part:
|
Thank you @Hypnosphi for your quick fix. This should solve 99% of the storybook related issues we used to have. |
Released as |
Every now and then all our packages break because we have multiple versions of storybook in our dependencies. We have been tackling this issue by using yarn-resolutions but this is not a very maintainable approach.
The root of this issue is that dependencies of dependencies use version ranges making build irreproducible.
For instance installing
[email protected]
requiresstorybook@^3.3.13
which resolves to[email protected]
(today 3.3.15) causing two different and incompatible versions of storybook to be present.When
ws
upgraded from3.3.3
to3.3.4
all storybook versions broke due to "small" changes in error-handling.Conclusion: storybook breaks everytime when a dependency of a dependency breaks making storybook builds non-reproducible.
Could we move to exact version numbers?
references:
newsuk/times-components#716
newsuk/times-components#673
newsuk/times-components#658
newsuk/times-components#650
newsuk/times-components#641
newsuk/times-components#629
facebook/react-native#6627
#2923
websockets/ws#1256
The text was updated successfully, but these errors were encountered: