No update in Workspace References dependencies for dist/<lib>/package.json
when using conventional-commits
& projectsRelationship is independent
, When only one lib is affected.
#26764
Labels
Current Behavior
In an independent projects setup with conventional-commits versioning & projectsRelationship": "independent" with workspace dependencies, when
mylib2 package.json
mylib2 consumes mylib. Changes only affect mylib2.
nx release is run
then in the /package.json
Expected Behavior
in the /package.json, it should always update the workspace dependencies.
GitHub Repo
https://github.com/parveen1112/nx-changelog-issue-repro
Steps to Reproduce
1The repro is already configured with the appropriate git history to trigger the issue. There is 1 feat for lib2.
Clone the repo
Run:
Use Node version >= 18
You will
dist/mylib2/package.json
still has workspace dependencies. As its not replaced by version.Nx Report
FYI tried with 19.3.2 as well same error. Only fix is with Changelog doesn't have null anymore.
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: