0.0.16 • Published 2 years ago
@convenedev/ram v0.0.16
🐏 ram
Un-Opinionated version of @akryum/sheep
bash
pnpm add -Dw @thesecondansaname/ram
package.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
server
orsource
as 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/sheep
Assumed:
- Git repository
- Monorepo
- Uses pnpm
- Tags with
vX.Y.Z
format - All tags are fetched locally
CHANGELOG.md
exists (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.json
version - Update the
CHANGELOG.md
file with the latest changes - Publish the packages to npm
- Push the changes with
vX.Y.Z
commit message - Create and push a
vX.Y.Z
git 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: