-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: handle --trackDeps
dependencies without version
#526
Comments
you mean it should be :
|
@airtonix yes! |
Is it possible to write all commit messages in those updated |
it would be interesting to add the option to generate the commits of the affected libs in the app they belong to Think of a scenario of a monorepo with many applications and libs, and the flow of versioning and publishing releases happens after a PR is merged via github actions, even if the libs themselves have their changelogs, they would all have to be committed, libs tend growing faster than apps, not to mention that with this approach the commit would only be in the app |
Thanks @klern, the initial implementation of There are a couple of questions that we should ask ourselves first:
TL;DR: default behavior of |
Thanks! My use case is the same as the second question you mentioned, the behavior Y is a great solution for me. About the third question, I'm curious that if someone updated UI library, but release the apps which use the UI library before updating the version of UI library (bad workflow, but may happen 😅 ), what behavior should happen in this scenario? Will it list the current version of UI library and new commit messages of UI library in the apps' changelogs? |
Thanks @yjaaidi, I do face the first issue as you mentioned in your first questions. If A has dependency on B and written in |
+1 for behaviour Y! 🙏 Thanks for the great library. |
This would be ideal to make semver use perfect 🙏 |
Using
--trackDeps
with non-versioned dependencies will produce incorrect entries in the changelog.App A versioned, depends on:
Will produce:
Even if lib B & C are not versioned, the changelog displays "updated to version
0.1.0
" which is incorrect, the message should only be "lib B
updated".The text was updated successfully, but these errors were encountered: