organic-stem-skeleton v3 based release helpers:
-
version a cell/package via semver within the monorepo
Increase, commit and tag as
${packagejson.name}-${packagejson.version}
-
check does a cell/package needs to be released
Compares with previously versioned cell/package
cd cells/myCell
npm i angelscripts-stem-cell-release --save-dev
Supports versioning using semver release types such as:
patch
minor
major
$ cd cells/myCell
$ npx angel version patch
Exits with code 0 if there are changes to be released, otherwise 1.
$ cd cells/myCell
$ npx angel changed
+ cells/myCell/package.json
// package.json
{
"scripts": {
"release-patch": "npx angel changed && npx angel version patch"
}
}