Use exact versions for cross-package dependencies #29178
aaronadamsCA
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
If you install a Storybook version older than
latest
, your lockfile will still end up with transitive dependencies onlatest
. This is bad, especially for troubleshooting.See this example, where
@storybook/[email protected]
depends on@storybook/[email protected]
:How this happens:
minimumReleaseAge
of 3 days.Why this happens:
minimumReleaseAge
doesn't apply to transitive dependencies.This results in unmet peer dependencies.
Describe the solution you'd like
Basically just #3183 again.
Describe alternatives you've considered
There is an argument that Renovate could do better here, but I can't think of a good reason for Storybook packages released together to depend on each other using version ranges.
This isn't just a problem for Renovate users. Imagine trying to bisect a problem across Storybook versions without realizing your lockfile contains mismatched transitive dependencies.
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions