org-npm-release-assistant
v1.0.15
Published
A release assistant for the NPM Release Notes.
Readme
org-npm-release-assistant
A CLI release assistant that collects release metadata, reads git commits, and appends a formatted entry to CHANGELOG.md.
Features
- Interactive release prompt (release type, summary, optional ticket)
- Automatic author detection from local git config
- Commit grouping from git history (
feat:,fix:,chore:, plus others) - Markdown changelog entry generation
- Auto-stages
CHANGELOG.mdwithgit add CHANGELOG.md
Installation
Install as an npm package:
npm install org-npm-release-assistantGlobal install (optional):
npm install -g org-npm-release-assistantUsage
Run the CLI command:
release-assistantIf installed locally, you can also run:
npx release-assistantWhat It Prompts For
- Release type:
Feature,Bug Fix, orEnhancement - Description: Short summary of the release
- JIRA ticket (optional): Ticket reference (if available)
How It Builds the Changelog
The tool:
- Reads package name/version from
package.json - Reads author from
git config user.name - Gets commits since last git tag (or last 10 commits if no tag exists)
- Groups commits by prefix:
feat:-> Featuresfix:-> Fixeschore:-> Chores- everything else -> Others
- Appends a new entry to
CHANGELOG.md - Runs
git add CHANGELOG.md
Example entry shape:
## 1.0.0 (2026-03-14)
Author: Your Name
Type: Feature
Ticket: ABC-123
### Summary
Release summary text
### Features
- add login flow
### Fixes
- resolve version parsing bug
### Chores
- update dependencies
### Others
- some other commit messageRequirements
- Node.js 18+ recommended
- A git repository
git config user.nameset
Development
Build:
npm run buildLink locally for testing the CLI:
npm link
release-assistantNotes
CHANGELOG.mdis created automatically if it does not exist.- Commit grouping works best when using conventional commit prefixes (
feat:,fix:,chore:).
