npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@codeeshop/keep-a-changelog-whatsnew

v4.0.1

Published

Keep-a-changelog-whatsnew plugin for release-it

Downloads

6

Readme

Keep-a-changelog plugin for release-it

This release-it plugin maintains your CHANGELOG.md file according to the Keep A Changelog standards.

The idea and initial implementation comes from @eMarek.

npm install --save-dev @codeeshop/keep-a-changelog-whatsnew

yarn add @codeeshop/keep-a-changelog-whatsnew

In release-it config:

"plugins": {
  "@codeeshop/keep-a-changelog-whatsnew": {
    "filename": "CHANGELOG.md"
  }
}

Options

| option | default value | description | | ----------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | whatsnew | 'whatsnew/whatsnew-en-US' | File with whatsnew. | | filename | 'CHANGELOG.md' | File with changelogs. | | strictLatest | true | Entry of latest version must be present in order to get correct changelog. Set this option to false if you expect latest version without logs. | | addUnreleased | false | It leaves "Unreleased" title row if set to true. | | keepUnreleased | false | It leaves "Unreleased" title row unchanged if set to true. | | addVersionUrl | false | Links the version to the according changeset. Uses GitHub-compatible URLs by default, see other options to configure the URL format. | | versionUrlFormats | See below. | Determines the version URL format when addVersionUrl is set to true. Uses GitHub-compatible URLs by default. | | head | 'HEAD' | The git revision the new version tag is compared to in the Unreleased URL. |

versionUrlFormats

The URL formats used when addVersionUrl is set to true. Example configuration for a repository in Azure DevOps:

"plugins": {
  "@release-it/keep-a-changelog": {
    "filename": "CHANGELOG.md",
    "head": "main",
    "addVersionUrl": true,
    "versionUrlFormats": {
      "repositoryUrl": "https://dev.azure.com/...",
      "unreleasedUrl": "{repositoryUrl}/branchCompare?baseVersion=GT{tagName}&targetVersion=GB{head}",
      "versionUrl": "{repositoryUrl}/branchCompare?baseVersion=GT{previousTag}&targetVersion=GT{tagName}",
      "firstVersionUrl": "{repositoryUrl}?version=GT{tagName}"
    }
  }
}

| option | default value | description | | --------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------- | | repositoryUrl | 'https://{host}/{repository}' | The format of the repository URL. | | unreleasedUrl | '{repositoryUrl}/compare/{tagName}...{head}' | The format of the [unreleased] section URL. | | versionUrl | '{repositoryUrl}/compare/{previousTag}...{tagName}' | The format of a release version URL. | | firstVersionUrl | '{repositoryUrl}/releases/tag/{tagName}' | The format of the first release version URL, i.e. when no previous tags have been released. |