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

release-suite

v3.0.5

Published

Semantic versioning tools for Git-based projects, providing automated version computation, changelog generation and release notes creation.

Downloads

419

Readme

🎉 Release Suite

Semantic versioning tools for Git-based projects, providing automated version computation, changelog generation and release notes creation.

Designed for safe, predictable and fully automated releases in GitHub Actions.

🚀 Features

  • Automatic version bump based on commit messages
  • Conventional commit parsing (custom prefixes supported)
  • Auto-generated CHANGELOG.md
  • Auto-generated RELEASE_NOTES.md using GitHub API
  • Local dry-run mode (CHANGELOG.dry-run.md, RELEASE_NOTES.dry-run.md)
  • CI/CD ready for GitHub Actions
  • No commit rules enforced on the main project
  • Trusted Publishing (OIDC) — no npm tokens required

⚡ Quick Start

npm install release-suite --save-dev

Add to your project's package.json:

{
  "scripts": {
    "dry-run": "rs-dry-run create",
    "dry-run:clean": "rs-dry-run remove",
    "version:compute": "rs-version compute",
    "changelog": "rs-changelog generate",
    "release-notes": "rs-release-notes generate",
    "tag:create": "rs-tag create"
  }
}

Generate dry-run files without touching your real changelog:

npm run dry-run

Remove dry-run files:

npm run dry-run:clean

⚙️ Configuration

Release Suite can be configured using a release.config.js file.

This file controls:

  • Git tag prefix (v1.2.3 vs 1.2.3)
  • Emoji usage in changelog rendering

See docs/config.md for full documentation.


🖥️ CLI Commands

| Command | Description | | --------------------------- | ---------------------------------------------------------- | | rs-version compute | Computes next semantic version based on git commits | | rs-changelog generate | Generates a new changelog entry for the next release | | rs-changelog rebuild ⚠️ | Fully rebuilds CHANGELOG.md from git history (Danger Zone) | | rs-release-notes generate | Generates RELEASE_NOTES.md | | rs-dry-run create | Generates dry-run changelog & release notes | | rs-dry-run remove | Removes dry-run changelog & release notes | | rs-tag create | Creates and pushes a git tag |

Each command follows a strict and predictable CLI contract (exit codes, stdout, JSON mode).

💡 Note about execution

⚠️ rs-changelog rebuild is a destructive operation. Always use --dry-run first.

  • When using these commands via npm run, they can be referenced directly (rs-*).
  • In CI/CD environments (e.g. GitHub Actions), always invoke them using npx (e.g. npx rs-changelog generate) to ensure proper binary resolution.

🔁 Release Flow

This project uses an automated, PR-based release strategy designed for safety and traceability.

See Release Process for details.

1️⃣ Create Release PR

Triggered when:

  • A PR is merged into main
  • Or the workflow is manually dispatched

Actions:

  • Computes next semantic version
  • Updates package.json and CHANGELOG.md
  • Builds the project (if applicable)
  • Opens and auto-merges a Release PR
  • Creates a Git tag

2️⃣ Publish Release

Triggered automatically after the Release PR merge (only if tag exists).

Actions:

  • Publishes to npm using Trusted Publishing (OIDC)
  • Generates GitHub Release Notes
  • Uploads build artifacts (dist/** if present)

📊 Flow Diagram

flowchart TD
    A[Feature / Fix PR] -->|merge| B[main]
    B -->|workflow trigger| C[Compute Version]
    C -->|release needed| D[Create Release PR]
    D -->|auto-merge| E[main updated]
    E -->|create tag| F[Git Tag]
    F -->|publish| G[npm Registry]
    F -->|release| H[GitHub Release]

✔️ Fully automated releases
✔️ No npm tokens or secrets required (OIDC)
✔️ No release loops
✔️ Safe for concurrent merges
✔️ Reusable in any project

🤖 CI/CD Usage (GitHub Actions)

ℹ️ In CI/CD environments, always use npx when invoking rs-* commands.

This project is designed to be used in automated pipelines.

👉 See full examples in docs/ci.md

📦 Publishing to npm (Trusted Publishing)

This project uses npm Trusted Publishing with GitHub Actions (OIDC).

  • No npm tokens or secrets are required
  • Publishing is handled entirely by GitHub Actions
  • Triggered automatically when a Release PR is merged into main

🧩 Programmatic API

Release Suite also exposes a programmatic API for advanced use cases (integration tests, custom tooling, orchestration).

👉 See full API documentation in docs/api.md

🛠 Development (Maintainers)

When working inside the release-suite repository itself, the CLI binaries are not available via npm or npx, since they are not installed as a dependency.

In this case, run the scripts directly with Node.js:

node bin/version.js compute
node bin/changelog.js generate
node bin/release-notes.js generate
node bin/dry-run.js create
node bin/tag.js create

To test the CLI as a real consumer, you can use:

npm link
# or
npm install ../release-suite

📄 License

This project is licensed under the MIT License.


✨ Author

💼 LinkedIn 💻 GitHub