- NPM Account: Ensure you have an npm account at https://www.npmjs.com/
- Authentication: Login to npm CLI
npm login
- Permissions: Ensure you have publishing rights to
vibe-coder-mcp
- PR merged to master
- All CI checks passed (type-check, lint, build)
- No merge conflicts
git checkout master
git pull origin master# Essential checks (same as CI pipeline - ~3 minutes)
npm run type-check # TypeScript strict mode validation
npm run lint # ESLint code quality
npm run build # Build distributable
# Local-only validation (recommended before publishing)
npm run test:unit # Fast unit tests (2-3 minutes)
# Package verification
npm pack --dry-run # Review included filesNote: CI pipeline runs essential checks only (70% faster). Unit tests are run locally by developers.
# For patch release (0.2.2 -> 0.2.3)
npm version patch
# For minor release (0.2.x -> 0.3.0)
npm version minor
# For major release (0.x.x -> 1.0.0)
npm version major# Publish to npm registry
npm publish
# If you need to use 2FA
npm publish --otp=YOUR_2FA_CODE# Check npm registry
npm view vibe-coder-mcp@latest
# Test installation
npm install -g vibe-coder-mcp@latest
vibe --version# Using GitHub CLI
gh release create v0.2.3 \
--title "v0.2.3: Configuration & Onboarding Improvements" \
--notes-file RELEASE_NOTES_v0.2.3.md \
--target master
# Or manually on GitHub:
# 1. Go to https://github.com/freshtechbro/Vibe-Coder-MCP/releases
# 2. Click "Draft a new release"
# 3. Tag: v0.2.3
# 4. Title: v0.2.3: Configuration & Onboarding Improvements
# 5. Copy content from RELEASE_NOTES_v0.2.3.md
# 6. Click "Publish release"GitHub Packages will automatically sync with npm registry if configured.
- Update README.md with new version badge
- Post in relevant channels/communities
- Update documentation if needed
# Check download stats
npm view vibe-coder-mcp
# Monitor issues
gh issue list --label bug
# Check npm package page
open https://www.npmjs.com/package/vibe-coder-mcpSolution: Ensure you're logged in and have publish permissions
npm whoami
npm loginSolution: Bump version before publishing
npm version patch
npm publishSolution: Check .npmignore and exclude unnecessary files
npm pack --dry-run
# Review included filesSolution: Fix tests before publishing
npm run test:unit
npm run lint
npm run type-checkIf issues are discovered after publishing:
npm deprecate vibe-coder-mcp@0.2.3 "Critical bug found, use 0.2.2 instead"git checkout master
# Fix the issue
npm version patch # Creates 0.2.4
npm publishMark the problematic release as pre-release or add warning notes.
The GitHub Actions workflow automatically runs on all PRs and pushes:
- Type Check: TypeScript strict mode validation (no
anytypes allowed) - Lint: ESLint code quality checks
- Build: Compile TypeScript to JavaScript distributable
Performance: ~3 minutes (70% faster than previous full test suite)
- CI Pipeline: Essential checks only (type-check, lint, build)
- Local Development: Developers run unit tests before PR submission
- Rationale: Faster feedback loop, reduced CI costs, maintains quality
To enable automated npm publishing on releases:
- Add
NPM_TOKENto GitHub Secrets - Create
.github/workflows/release.ymlwith publish job - Configure to trigger on GitHub releases
- Never commit
.npmrcwith auth tokens - Use 2FA for npm account
- Rotate tokens regularly
- Review package contents before publishing
For publishing issues:
- npm support: https://www.npmjs.com/support
- GitHub Issues: https://github.com/freshtechbro/Vibe-Coder-MCP/issues
Last updated: January 2025 Version: 0.2.3