feat: automated release workflow with conventional commits

 Set up standard-version for automated releases
- Auto-generates changelogs from conventional commits
- Version bumping based on commit types
- Beautiful emoji-formatted changelog
- Integrated with npm scripts

🔧 Release Commands:
- npm run release (auto-detect version)
- npm run release:patch/minor/major (force version)
- npm run release:dry (preview changes)

📚 Added comprehensive CLAUDE.md workflow
- Step-by-step release process
- Conventional commit guidelines
- Emergency procedures for bad releases
- Quality checklist for releases

🎯 Benefits:
- Consistent release notes across all releases
- No more manual changelog maintenance
- Semantic versioning enforcement
- GitHub + npm integration ready
This commit is contained in:
David Snelling 2025-08-27 12:19:32 -07:00
parent 1ef01f394a
commit 045f53bc8a
3 changed files with 2119 additions and 12 deletions

View file

@ -77,7 +77,12 @@
"lint": "eslint --ext .ts,.js src/",
"lint:fix": "eslint --ext .ts,.js src/ --fix",
"format": "prettier --write \"src/**/*.{ts,js}\"",
"format:check": "prettier --check \"src/**/*.{ts,js}\""
"format:check": "prettier --check \"src/**/*.{ts,js}\"",
"release": "standard-version",
"release:patch": "standard-version --release-as patch",
"release:minor": "standard-version --release-as minor",
"release:major": "standard-version --release-as major",
"release:dry": "standard-version --dry-run"
},
"keywords": [
"ai-database",
@ -130,6 +135,7 @@
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitest/coverage-v8": "^3.2.4",
"standard-version": "^9.5.0",
"tsx": "^4.19.2",
"typescript": "^5.4.5",
"vitest": "^3.2.4"