Allow nx release version
to bump version numbers for private packages
#27566
nolanlawson
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
nx release version
doesn't modify thepackage.json
for packages that are marked as private (#19299). However, this is not always desirable.In our monorepo, we have several private packages that nonetheless rely on other, published packages. For example:
When running
nx release version
, thispackage.json
is not modified at all. Therefore, even after bumping to (say) v1.0.1, this project actually ends up pullingsome-published-package
v1.0.0 from npm. Instead, we'd prefer to keep all the versions in sync, so that even the private packages rely on the (local) v1.0.0 instead.It would be great to have a flag, e.g.
--allow-private
, to do the version bumping even for private packages.Thanks in advance for considering this request! 🙂
Beta Was this translation helpful? Give feedback.
All reactions