conventional-changelog/standard-version

Usage in monorepo nx workspace

Open

#445 aperta il 26 ago 2019

Vedi su GitHub
 (13 commenti) (43 reazioni) (0 assegnatari)JavaScript (825 fork)batch import
help wantedquestion

Metriche repository

Star
 (7442 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi, I am using nx workspace to handle multiple angular projects as well as shared libraries. Let' s assume a folder structure like this:

|_package.json
|_CHANGELOG.md
|_projectA
  |_package.json
  |__CHANGELOG.md
|_projectB
  |_package.json
  |_CHANGELOG.md

I am trying to figure out a way to use conventional-changelog in my release process. I want to have seperated changelogs for each project and one root changelog. By using conventional commits I would like to somehow define the scope of the commit (e.g. that this feat() only affects projectA and thus, is only mentioned in this specific changelog.

Is this possible or is this a wrong approach in a monorepo?

Help appreciated.

Guida contributor