A changelog generator for gitmoji 😜
gitmoji-changelog v2 is out 🎉
November 07, 2019
gitmoji-changelog is a command line tool that generates changelog files for projects following gitmoji convention.
Last week, I published the version 2.0.0 🔖
There was two major goals in this version:
- Add tests to be more confident about merging contributions
package.json file we found in the upper folder hierarchy. We extracted this logic from our
core package and imagine a simple system to make the cli more flexible. Benjamin Petetot proposed a preset system describe in this issue.
The usage is quite simple you have to call the cli with preset option filled with the preset you want to use:
We only wrote the preset for node right now. We need you to help us identify which preset to develop. Please fill this form so we know the presets you want 🙌
To make the code base easier to refactored and simplify contributors work, We spend some time adding e2e tests. It was quite hard since we didn’t find a simple solution to test a cli that interacts with the filesystem (if you know some library to do it tell us in comment section).
With these tests we are not afraid anymore to broke the cli each time we commit some changes 😂
There are two commands to execute tests now. One for unit tests:
Another one for e2e tests:
Special mention to Franck Abgrall who added a whole feature. Using the option
-i let you enter in interactive mode:
In this mode you can pick which commits you want to add into your changelog for the current version.
Before releasing, we made some effort to improve the documentation. We put it into a separate file to keep our README.md as simple as possible. We did the same thing with the contributing guide. The documentation now describes all available options in the cli. We also clarified how the cli works and the workflow we recommend using.
Don’t hesitate to tell us if something isn’t clear enough.
We only talked about presets and tests to keep it short but a lot of other things have been done in this version! Find more in our changelog 😉
I would like to all contributors that took time to improve
gitmoji-changelog Benjamin Petetot, Franck Abgrall, quentinncl, Baptiste Gauduchon, Florent Berthelot, s n, Mathieu TUDISCO, Emmanuel DEMEY and Fabien JUIF.
I’m really proud you choose this project to make your contributions 👏
Feedback is appreciated 🙏 Please tweet me if you have any questions @YvonnickFrin!
If you encounter any issue using
gitmoji-changelog tell us on our repository!
Found a typo or you want to suggest improvements?
Feel free to edit this article on GitHub.