0.0.1 • Published 3 years ago
@o6/sheep v0.0.1
🐑️ sheep
Opinionated CLI command to update CHANGELOG.md and release packages.
pnpm add -WD @akryum/sheepAssumed:
- Git repository
- Monorepo
- Uses pnpm
- Tags with
vX.Y.Zformat - All tags are fetched locally
CHANGELOG.mdexists (init it withpnpm exec conventional-changelog -p angular -o CHANGELOG.md -r 0)
What it does:
- Select new version
- Update nested packages versions and workspace dependencies
- Update the root
package.jsonversion - Update the
CHANGELOG.mdfile with the latest changes - Publish the packages to npm
- Push the changes with
vX.Y.Zcommit message - Create and push a
vX.Y.Zgit tag
Usage:
{
"scripts": {
"release": "pnpm run link && pnpm run build && pnpm run test && sheep release -b main"
}
}Recommended compagnon GitHub Action: Akryum/release-tag :ok_hand:
0.0.1
3 years ago