@nx/dependency-checks: enforce * version specifier for local monorepo libraries
#34007
saharis9988
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently,
@nx/dependency-checksvalidates that the version declared in a consumer project is aligned with the referenced dependency version.Would it make sense to add an optional enforcement rule, controlled by a flag (similar to checkVersionMismatches), that ensures local monorepo library dependencies are declared using the
*version specifier?This could help make local vs. external dependencies more explicit and avoid accidental version drift.
I’d be happy to contribute an implementation if this direction sounds reasonable 🙏
Docs
Beta Was this translation helpful? Give feedback.
All reactions