Files
old.cms.fellies.org/conventional-changelog.config.cjs
Citali 6b282ce56b
Some checks failed
CMS CI / Governance Checks (push) Successful in 1m7s
CMS CI / Lint Typecheck Unit E2E (push) Failing after 5m40s
chore(changelog): include unreleased and full commit output
2026-02-12 20:43:05 +01:00

31 lines
585 B
JavaScript

module.exports = {
preset: "conventionalcommits",
writerOpts: {
transform: (commit) => {
const typeMap = {
feat: "Features",
fix: "Bug Fixes",
perf: "Performance",
refactor: "Refactors",
docs: "Documentation",
test: "Tests",
build: "Build System",
ci: "CI",
chore: "Chores",
revert: "Reverts",
}
const mappedType = typeMap[commit.type]
if (!mappedType) {
return undefined
}
return {
...commit,
type: mappedType,
}
},
},
}