@tys/changelog
generate changelog by git tags and commits
Install
pnpm i -D @tys/changelog
Usage
import {
getChangelogMarkdown,
getTotalChangelogMarkdown,
generateChangelog,
generateTotalChangelog,
} from "@tys/changelog";
// get the changelog markdown by two git tags
getChangelogMarkdown();
// get the changelog markdown by the total git tags
getTotalChangelogMarkdown();
// generate the changelog markdown by two git tags
generateChangelog();
// generate the changelog markdown by the total git tags
generateTotalChangelog();