Instructions how to create new package releases and publish to NPM.
Recommend the interactive CLI ✨
yarn releaseThe release process is semi-automatic which means:
- Release information and git tags are generated from a local machine by a developer
- Publish to NPM by GitHub action
Verify release information in dry-run mode
npx nx release --skip-publish -dDoes everything looks good, generate releases
npx nx release --skip-publishFor affected packages
- Updated
CHANGELOG.md - Updated
package.json - One release commit for all packages [ pushed ]
- Created version tags [ pushed ]
GitHub action defined in publish.yml is triggered by new tags
create-nx-payload-*.*.*nx-payload-*.*.*
Simplified it executes the publish command
npx nx release publishWhen needed it's simple to do this manually as well
npx nx release publish --otp {token}where {token} is generated by your 2FA authenticator app.