nyron bump
Bump project version and generate changelog
nyron bump
Bump a configured project version.
Usage
npx @nyron/cli bump --type <type> [--project <project>]Required Options
-t, --type <type>
Required. The type of version bump to perform.
Values:
major- For breaking changes (e.g., 1.0.0 → 2.0.0)minor- For new features (e.g., 1.0.0 → 1.1.0)patch- For bug fixes (e.g., 1.0.0 → 1.0.1)
npx @nyron/cli bump --type minor-p, --project <project>
Optional project id/key from your nyron.config.ts.
If your config contains exactly one project, you can omit this flag:
npx @nyron/cli bump --type minorFor multi-project repositories:
npx @nyron/cli bump --type patch --project apiWhat It Does
When you run nyron bump, it performs the following steps:
- Chooses the target project from
nyron.config.ts - Increments the version in
.nyron/meta.jsonfor the selected project - Records the version transition in
.nyron/versions.json - Updates
package.jsonin the project directory to match the new version
Nyron uses the project key from nyron.config.ts, not the tag prefix, when selecting which project to bump.
Examples
Bump the only configured project
npx @nyron/cli bump --type minorBump a specific project in a monorepo
npx @nyron/cli bump --type patch --project apiBump a major version
npx @nyron/cli bump --type major --project cliAfter Bumping
After running bump, you should usually:
- Review the version change
- Commit the updated
package.jsonand.nyron/files:git add . git commit -m "chore: bump version to x.y.z" - Mark a release boundary with
nyron push-tag - Preview or publish release notes with
nyron release
See the full workflow guide for details.