Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 944 Bytes

DEVELOPMENT.md

File metadata and controls

39 lines (26 loc) · 944 Bytes

Development

We use lerna to publish our packages. We use the fixed versioning mode.

Setting up the repo

npm install
npx lerna bootstrap

Releasing

We use https://github.com/mrahhal/release-cycle as a reference when releasing.

What changed since last release

npx lerna changed

Update version

If we're updating to a version (usually a major version update) that requires updates to the peer dependencies, then use this npx lerna version ... command to allow lerna to update what it wants to update, and then go on and update peer dependencies manually (and run npm i so that the lock file is updated too). After that, commit the changes, and then finally run lerna publish.

npx lerna version [version] --no-git-tag-version --no-push --yes

Release

npx lerna publish [version] --no-push

And if all goes well, push:

git push --follow-tags