Skip to content

soybeanjs/changelog

Repository files navigation

@soybeanjs/changelog

generate changelog by git tags and commits

Install

pnpm i -D @soybeanjs/changelog

Usage

import {
  getChangelogMarkdown,
  getTotalChangelogMarkdown,
  generateChangelog,
  generateTotalChangelog,
} from "@soybeanjs/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();