jscutlery/semver

doubt about trackDeps

gabsmprocha opened this issue · 3 comments

Hi guys,
should i add trackDeps in the project (app) or in the libs it uses?

edbzn commented

Hi, you can use it on each level of your deps, or only on the app, both are possible. Note that there is a bug with the changelog line actually with using it on one level only, cf #526.

@edbzn hey, its possible log the lib commits on changelog app when i use trackDeps ?
currently just shows

### Dependency Updates

* `lib-name` updated to version `0.0.1`

Thanks @gabsmprocha, this is an interesting point concerning how --trackDeps works.
AFAIK, right now, this is not possible.
Usually, you don't need this as your dependencies are also versioned and their changes are in their changelogs... but if the libs are not versioned, you will not be able to list the changes. Also, if they are not versioned with trackDeps set to true, this will not work recursively.

This is kind of related to #526. Let's continue the discussion there.