mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 07:04:45 +00:00
Add release script
Usage: npm run release:patch|minor|major Automates: - Check for uncommitted changes - Bump version - Update CHANGELOGs: [Unreleased] -> [version] - date - Commit and tag - Publish to npm - Add new [Unreleased] sections - Push
This commit is contained in:
parent
262ba5487c
commit
6bbe3147d8
2 changed files with 148 additions and 0 deletions
|
|
@ -20,6 +20,9 @@
|
|||
"prepublishOnly": "npm run clean && npm run build && npm run check",
|
||||
"publish": "npm run prepublishOnly && npm publish -ws --access public",
|
||||
"publish:dry": "npm run prepublishOnly && npm publish -ws --access public --dry-run",
|
||||
"release:patch": "node scripts/release.mjs patch",
|
||||
"release:minor": "node scripts/release.mjs minor",
|
||||
"release:major": "node scripts/release.mjs major",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue