Skip to content

Monorepo supportΒ #85

Open
Open
@pi0

Description

@pi0

Moving from #18 also awesome works in #45 by @leo91000 and #83 by @aa900031

@itpropro: Provide some way to generate changelogs only for one or more specific subfolders/repos in a monoprepo structure.

These are smaller tasks breakdown in order to support mono repos progressively since this is a rather big change in changelogen.

  • Configurable git commit template (Custom commit message like [skip ci]Β #82)
  • Monorepo utils (workspace (monorepo) utilsΒ pkg-types#117)
  • Expose a new workspaces config object (auto-detected with resolveWorkspace from pkg-types)
  • A new subDir config defaulting to / and when is set, filters commits only relevant to this subpath and also operates package.json and CHANGELOG.md in {rootDir}/{subDir} for updating
  • Update CLI --release to use workspace config when is set/detected and operate release on each monorepo project with baseDir set (using sorted/ordered graph resolved by pkg-types)
  • Extend scopeMap (auto added scopes using scope map configΒ #86) with workspace config to automatically apply scoped changeloges

Note: PRs are more than welcome to implement each task. If you see an improvement in the roadmap for implementation please comment below. πŸ™πŸΌ

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions