All of the sub-packages in this repository follow the semver system. We use a tool called changesets to manage versioning, cross-dependency versioning and publishing new versions to NPM. When you make a change and you wish to publish that change to NPM you should commit all the changes and follow these steps:
- run
yarn changeset
and mark the packages you wish to publish, select what kind of a change it is (major,minor,patch) and provide the summary of the changes - now run
yarn changeset version
, this will change the generated.changeset/file.md
into an entry intoCHANGELOG.md
andpackage.json
in changed packages
After your PR with changed CHANGELOG.md
and package.json
is merged into main
, a CI step will run which will try to publish all change changes.