Question About Nx Release Behavior with Dependent Libraries #31230
Unanswered
markusvoelk-zr
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have a question regarding how Nx handles releases involving multiple libraries.
Scenario:
lib-a
(v1.0.0) depends onlib-b
(v1.0.0), and both have been published.lib-b
, but I don't release a new version - solib-b
remains at v1.0.0.lib-a
.lib-a
as v2.0.0. However, itspackage.json
still lists dependencylib-b
at v1.0.0.lib-a
(v2.0.0) is broken, because the feature it uses inlib-b
isn’t available in the released version oflib-b
.Question:
How does Nx typically handle this situation?
I’m aware of the
--updateDependents
flag, which triggers releases for all dependents when a library is updated. However, in my case, I’m looking for the opposite: I’d like Nx to ensure that all dependencies oflib-a
are released first—before releasinglib-a
.I hope that makes sense.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions