conventional 0.0.2-pre conventional: ^0.0.2-pre copied to clipboard
A light-weight conventional commit parser and tools
Conventional #
A simple and light-weight library for parsing conventional commits and generating changelogs from them.
NOTE: At the moment, this library is only used on my projects. The Conventional Commit parser is not made to be comprehensive.
Usage #
A simple usage example:
import 'package:conventional/conventional.dart';
main() {
final List<Commit> commits = Commit.parseCommits(testLog);
if (hasReleasableCommits(commits)) {
writeChangelog(
commits: commits,
changelogFilePath: 'CHANGELOG.md',
version: '1.2.0',
now: DateTime.now(),
);
}
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.