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 πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

@bonvoy/plugin-changelog

v0.12.0

Published

🚒 Changelog generation plugin for bonvoy

Readme

@bonvoy/plugin-changelog 🚒

Changelog generation plugin for bonvoy

Automatically generates and maintains CHANGELOG.md files for your packages based on conventional commit messages.

Features

  • πŸ“ Per-package Changelogs - Each package gets its own CHANGELOG.md
  • 🌍 Global Changelog - Optional aggregated changelog at repo root
  • 🎨 Customizable Sections - Configure section titles and commit types
  • πŸ“… Standard Format - Follows Keep a Changelog format
  • πŸ”„ Incremental Updates - Preserves existing changelog history
  • 🎯 Conventional Commits - Only includes semantic commit types

Installation

npm install @bonvoy/plugin-changelog

This plugin is included by default in bonvoy, so you typically don't need to install it separately.

Usage

Default Configuration

The plugin works out of the box with sensible defaults:

// bonvoy.config.js
export default {
  plugins: [
    '@bonvoy/plugin-changelog', // Uses default configuration
  ],
};

Custom Configuration

// bonvoy.config.js
export default {
  plugins: [
    ['@bonvoy/plugin-changelog', {
      global: true, // Generate global changelog at repo root
      includeCommitHash: true, // Include commit hashes in entries
      sections: {
        feat: 'πŸš€ New Features',
        fix: 'πŸ”§ Bug Fixes',
        perf: '⚑ Performance Improvements',
        docs: 'πŸ“š Documentation',
        breaking: 'πŸ’₯ Breaking Changes',
      }
    }]
  ],
};

Generated Format

Per-package CHANGELOG.md

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2026-01-09

### ✨ Features
- feat: add new API endpoint
- feat(auth): implement OAuth2 support

### πŸ› Bug Fixes
- fix: resolve memory leak in parser
- fix(api): handle edge case in validation

### ⚑ Performance
- perf: optimize database queries

## [1.1.0] - 2026-01-08

### ✨ Features
- feat: add user management

Global Changelog (optional)

When global: true is enabled, a global changelog is created at the repo root:

# Changelog

## @myorg/core

### ✨ Features
- feat: add new API endpoint

### πŸ› Bug Fixes
- fix: resolve memory leak

## @myorg/utils

### ✨ Features
- feat: add utility functions

Configuration Options

interface ChangelogConfig {
  // Generate global changelog at repo root
  global?: boolean; // default: false
  
  // Section titles for different commit types
  sections?: Record<string, string>; // default: emoji sections
  
  // Include commit hashes in changelog entries
  includeCommitHash?: boolean; // default: false
}

Default Sections

{
  feat: '✨ Features',
  fix: 'πŸ› Bug Fixes', 
  perf: '⚑ Performance',
  docs: 'πŸ“š Documentation',
  breaking: 'πŸ’₯ Breaking Changes',
}

Commit Filtering

The plugin automatically filters commits based on:

  1. Conventional format: Only type: description commits are included
  2. Package relevance: Commits are assigned to packages based on modified files
  3. Semantic types: Only configured commit types generate changelog entries

Examples

# These commits will appear in changelog:
git commit -m "feat: add new feature"        # β†’ ✨ Features
git commit -m "fix: resolve bug"             # β†’ πŸ› Bug Fixes
git commit -m "feat!: breaking change"       # β†’ πŸ’₯ Breaking Changes

# These commits will NOT appear:
git commit -m "chore: update dependencies"   # β†’ ignored (not configured)
git commit -m "docs: update README"          # β†’ ignored (unless docs configured)
git commit -m "random commit message"        # β†’ ignored (not conventional)

Monorepo Support

In monorepos, each package gets its own changelog with only relevant commits:

# This commit affects both packages
git commit -m "feat: add shared utility" packages/core/src/util.ts packages/cli/src/util.ts

# This commit only affects @myorg/core
git commit -m "fix(core): resolve parsing issue" packages/core/src/parser.ts

The changelog plugin will:

  • Add the shared commit to both package changelogs
  • Add the core-specific commit only to @myorg/core changelog

File Management

The plugin intelligently manages changelog files:

  • New files: Creates complete changelog with header and format explanation
  • Existing files: Prepends new entries while preserving history
  • Custom headers: Preserves existing changelog titles and descriptions
  • Incremental: Only adds new version entries, never overwrites existing ones

Integration with Other Plugins

Works seamlessly with other bonvoy plugins:

  • @bonvoy/plugin-conventional: Provides commit parsing and type detection
  • @bonvoy/plugin-git: Commits the generated changelog files
  • @bonvoy/plugin-github: Includes changelog content in GitHub releases

API

import ChangelogPlugin from '@bonvoy/plugin-changelog';

const plugin = new ChangelogPlugin({
  global: true,
  sections: {
    feat: 'πŸš€ Features',
    fix: 'πŸ”§ Fixes',
  },
  includeCommitHash: true,
});

License

MIT