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

v1.0.1

Published

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

Downloads

342

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 CLI (gh)
  • Local preview mode (CHANGELOG.preview.md, RELEASE_NOTES.preview.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": {
    "preview": "rs-preview create",
    "preview:clean": "rs-preview remove",
    "compute-version": "rs-compute-version",
    "compute-version:ci": "rs-compute-version --ci --json",
    "compute-version:json": "rs-compute-version --json",
    "changelog": "rs-generate-changelog",
    "release-notes": "rs-generate-release-notes"
  }
}

Generate preview files without touching your real changelog:

npm run preview

Remove previews:

npm run preview:clear

🖥️ CLI Commands

| Command | Description | | --------------------------- | --------------------------------------------------------- | | rs-compute-version | Computes next semantic version based on git commits | | rs-generate-changelog | Generates CHANGELOG.md | | rs-generate-release-notes | Generates RELEASE_NOTES.md using GitHub PRs | | rs-preview | Generates preview changelog & release notes | | rs-create-tag | Create and push a git tag based on package.json version |

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

💡 Note about execution

  • 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-generate-changelog) to ensure proper binary resolution.

🔁 Release Flow

This project follows a two-step release strategy designed for safety, automation and reusability.

1️⃣ Prepare Release (Create Release PR)

Triggered when:

  • A PR is merged into main

Actions:

  • Computes next semantic version
  • Updates package.json
  • Generates CHANGELOG.md
  • Builds the project (if applicable)
  • Opens a Release PR (release/x.y.z)

2️⃣ Publish Release

Triggered when:

  • A Release PR (release/x.y.z) with release label is merged into main

Actions:

  • Creates a Git tag
  • Publishes to npm using Trusted Publishing (OIDC)
  • Generates GitHub Release Notes
  • Uploads build artifacts (dist/**)

📊 Flow Diagram

flowchart TD
    A[Feature / Fix PR] -->|Merge| B[main]
    B -->|create-release-pr.yml| C[Create Release PR]
    C -->|release/x.y.z| D[Review & Merge]
    D -->|publish-on-merge.yml| E[Publish Release]
    E --> F[npm Publish]
    E --> G[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.

Typical flow:

  1. Create a Release PR (compute version, changelog, build)
  2. Review and merge the Release PR into main
  3. Publish the release (tag, npm, GitHub Release)

👉 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/compute-version.js
node bin/generate-changelog.js
node bin/generate-release-notes.js
node bin/preview.js create
node bin/create-tag.js

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