GithubHelp home page GithubHelp logo

duniul / changesets-changelog-clean Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 85 KB

A clean changelog entry generator with Github support for `changesets`. ๐Ÿ“

License: MIT License

TypeScript 100.00%
changelog changesets versioning

changesets-changelog-clean's Introduction

changesets-changelog-clean

npm

A clean changelog entry generator with Github support for changesets. ๐Ÿ“

Drop-in replacement for @changesets/changelog-github.

Usage

// .changeset/config.json

{
  "changelog": ["changesets-changelog-clean", { "repo": "repo-scope/repo-name" }]
  // ...rest of the config
}

Installation

npm install changesets-changelog-clean
# or
pnpm add changesets-changelog-clean
# or
yarn add changesets-changelog-clean

Examples

See examples/example-changelog.md for an example changelog.

Options

The options should be passed as the second argument in the array passed to the changelog key in the changeset config.

  "changelog": ["changesets-changelog-clean", { /* options */ }]
  • repo: The Github repo (including scope, like user or org) to link and look up PRs in (like repo-scope/repo-name).
    Required.
  • capitalize: Whether to capitalize the first letter of the summary.
    Default: true.
  • throwOnGithubError: Whether to throw and stop if there is an error when fetching from Github. Disabling can be useful if you want to generate a changelog for a change that hasn't been merged yet.
    Default: true.

Motivation

The default @changests/changelog-github generator is great, but it can be a bit hard to read.

  • It puts the PR and author name in front of the summary, so the summaries don't start on the same column.
  • It adds extra text, like the Thanks X, cluttering up the changelog.

I wanted a changelog generator that included the same type of links and information, but in a cleaner format.

changesets-changelog-clean's People

Contributors

duniul avatar github-actions[bot] avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.