NPM Release Automator

•
129
•

Automates the end-to-end npm release process including version bumping, publishing, and GitHub release creation.

The NPM Release Automator skill streamlines the complex publishing workflow by orchestrating git synchronization, version management, and package distribution. It features a smart versioning algorithm that correctly handles prerelease tags (beta, rc) to prevent accidental stable promotions. Built for modern development, it supports multi-repository discovery to find publishable packages and offers various modes for local-only, CI-integrated, or full production releases. By automating mandatory steps like 'gh release create' and build verification, it ensures every release is consistent, tagged, and properly documented across both npm and GitHub.

Key Features

01Automated GitHub Releases: Enforces mandatory GitHub Release creation with tags and release notes for every production publish.
02Versatile Command Modes: Supports --quick, --ci, --only, and --stable flags to tailor the workflow to your specific environment.
03Safe Git Synchronization: Ensures local changes are pushed and synced before any release operations begin to prevent code loss.
04Multi-Repo Discovery: Intelligently scans umbrella repositories to find publishable packages with pending changes.
05Smart Prerelease Handling: Automatically detects and increments prerelease versions without breaking version logic.
06129 GitHub stars

Use Cases

01Releasing patch updates for npm packages with simultaneous GitHub Release documentation.
02Coordinating releases within a monorepo where only specific packages have uncommitted changes.
03Managing version increments for complex projects using -beta or -rc prerelease tags.