jscutlery / semver

Nx plugin to automate semantic versioning and CHANGELOG generation.
MIT License
729 stars 85 forks source link

Question: Changelog generation for multiple NX projects? #574

Open zeroregard opened 2 years ago

zeroregard commented 2 years ago

I have an application in an NX monorepo. The folder structure looks something like this:

Where each feature is a project containing a project.json in which we could add the version target. The problem is that every feature is quite small and I just want to generate a changelog for the entire my-application, I don't want individual changelogs for each small feature. Is this possible at the moment with semver?

edbzn commented 2 years ago

@zeroregard For this use case, I would recommend using the sync-mode with the --skipProjectChangelog option, so you have only one root changelog with everything.

zeroregard commented 2 years ago

That's the thing though - I have several applications in this mono-repo, and these applications have their own changelogs. It's just that one of the applications has several projects.

mvrana-cen81948 commented 2 years ago

Yes, this is exactly what i expected as well. I have multiple aplication projects in monorepo and several feature libraries used from that applications. I want changelog from libraries in changelog of application which depends on that libraries. Option --trackDeps just makes:

Dependency Updates
<lib> updated to version #.#.#

which is not much informational.