0.0.16 • Published 3 years ago
@convenedev/ram v0.0.16
🐏 ram
Un-Opinionated version of @akryum/sheep
bash
pnpm add -Dw @thesecondansaname/rampackage.json
"scripts": {
"release": "ram release -b main"
}- removed all cli input functions
- no longer assume tags, will create it's own tag if none exists
- added
serverorsourceas part of the diff path array. (needs improvement) - do not publish packages with dockerfiless
- packages can rev independently from monorepo's version
TODO
- Added versioning based on commit meessages
- fix doc, build, chore, etc: patch
- feat feature: minor overrides patches
- BREAKING CHANGE: major overrides feats
Original README Below
🐑️ 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)- Uses conventional-changelog-cli package
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: