How to publish new releases for this project.
semver should be followed when deciding new release versions.
You can either set versions in the package.json
files manually, or use the lerna version
command to set them via the Lerna CLI. When setting versions manually, you will also need to set the git tags for each package and version. For this reason, it is recommended you use the lerna version
command, which will create these tags automatically.
Lerna will not push the git tags after creation. You should push the git tags once you are confident in your changes.
lerna version prerelease --sign-git-commit
The Test, Build, Release
Workflow on GitHub can be run to manually trigger publishing of packages to NPM. This workflow will only publish versions which do not already exist on NPM.
The Test, Build, Release
Workflow will:
- Run automated linting & tests
- Compile/build various packages
- Publish built packages to NPM