Monorepo example using .cz.toml files #1334
Copy link
Copy link
Open
Description
Type
- Content inaccurate
- Content missing
- Typo
URL
https://commitizen-tools.github.io/commitizen/tutorials/monorepo_guidance/
Description
Hi
I am following your tutorial to configure a monorepo with terraform modules where i would like to manage versioning per module and a changelog per module but i am unable to achieve it.
Is there a need of a main cz config file at root? What should it look like?
I would like to prevent using package.json and use only cz config files. Is there any code example?
Thanks in advance.
Regards
Activity
bearomorphism commentedon May 9, 2026
The
cz.toml-only setup that this issue asks for is actually already documented.docs/tutorials/monorepo_guidance.mdwalks through the exact case (nopackage.json, just two.cz.tomlfiles atlibrary-b/.cz.tomlandlibrary-z/.cz.toml, each with its owntag_format/ignored_tag_formats/update_changelog_on_bump). Per-component bumps usecz --config library-b/.cz.toml bump --yes; per-component changelogs use thechangelog_patternfilter shown later in the same page (e.g.^(feat|fix)\\(library-b\\)(!)?:).If the doc is unclear in any specific spot we'd appreciate a follow-up, but as a feature request this looks resolved. Surfaced via the round-2 triage in #1965 — proposing close as already-documented.