How to add new types to changelog
See original GitHub issueHi - i have been using conventional-changelog for about a 6 months and it’s great. I am alittle confused about the documentation and how to add new types.
I would like to add a new type which goes into my changelog, like feat and fix. If possible i would like to use design and animation if a commit has change the design or animation of the project and have that printed into the changelog?
I am using conventional-changelog with gulp and would assume i need to put a config object into the _conventional-changelog-writer_ but i have no idea on what to put in.
gulp.task('changelog', function () {
return gulp.src('CHANGELOG.md', {
buffer: false
})
.pipe(conventionalChangelog(
{
preset:'angular',
releaseCount:0
}, {
// context goes here
}, {
// git-raw-commits options go here
}, {
// conventional-commits-parser options go here
}, {
// conventional-changelog-writer options go here
}
))
.pipe(gulp.dest('./'));
});
Any help would be much appriciated or an example. Thanks Dennis
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
A Beginner's Guide to Git — What is a Changelog and How to ...
By using this first way, you don't need any prerequisites. All you need is to type a few commands inside your Git repository....
Read more >Keep a Changelog
The same types of changes should be grouped. Versions and sections should be linkable. The latest version comes first. The release date of...
Read more >How To Automatically Generate A Helpful Changelog From ...
Creating a changelog is a usual task if a new software version is going to be released. It contains all the changes which...
Read more >Making a Human Friendly Changelog by Following Keep a ...
It should be skimmable to see what's been added, changed, deprecated, removed and fixed.Hit the subscribe button to receive more videos like ...
Read more >What is Changelog & Example of ARN Change Log Format
Simply put, changelog is a documented record of all the changes that a software ... Different colors can be used to a different...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@renestalder You can use ddennis’ forked project as an example: https://github.com/ddennis/conventional-changelog-ddennis (he has added two new types). Hope this helps 👍
Is there more information about how to create own “presets” with types? Somehow, I turn in circles if I follow links in this thread or try to understand how
config
works (can’t find an example).