Scan your whole stack
Are you using @versu/cli?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v5.0.0
@versu/cli was last scanned on 30 Nov 2026 at version 5.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 5.0.0 LATEST | 30 Nov 2026 | No rules fired |
| 4.2.2 | 30 Nov 2026 | No rules fired |
| 4.2.1 | 30 Nov 2026 | No rules fired |
| 4.2.0 | 30 Nov 2026 | Not shown |
| 4.1.0 | 30 Nov 2026 | Not shown |
Findings for v5.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 5.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Command-line interface for Versu. This CLI provides all the power of Versu's semantic versioning engine through an easy-to-use command-line tool, perfect for local development and custom CI/CD systems.
For comprehensive documentation, examples, and configuration options, please refer to the our website https://versuhq.github.io/.
npm install -g @versu/cli
npm install --save-dev @versu/cli
npx @versu/cli run
Navigate to your project root and run:
versu run
This will:
Preview what would happen without making changes:
versu run --dry-run
versu run /path/to/project
If auto-detection fails or you want to be explicit:
versu run --adapter gradle
versu run subcommands| Command | What it does |
|---|---|
versu run full [repositoryRoot] |
Releases in one go: computes and writes the new versions, changelogs and release notes, then commits, pushes and tags. |
versu run [repositoryRoot] |
Same as versu run full. |
versu run prepare [repositoryRoot] |
First stage of a two-stage release: writes versions, changelogs and release notes and saves the release state, without any git operations. |
versu run finalize [repositoryRoot] |
Second stage: checks the prepared release, then commits everything (including changes made since prepare), pushes and tags. |
repositoryRoot defaults to .. Each subcommand accepts only the flags its stage uses; passing another stage's flag is an error.
Flags:
| Flag | Description | Default | Used by |
|---|---|---|---|
--dry-run |
Run without writing or pushing changes | false |
all |
--state-file <value> |
Release state file shared by prepare and finalize | .git/versu/release-state.json |
prepare, finalize |
--adapter <value> |
Language adapter (e.g., gradle). Auto-detected if not provided | - | full, prepare |
--from-ref <value> |
Git ref to compare from (e.g., previous tag or commit SHA) | - | full, prepare |
--provider <value> |
Version control provider (e.g., github, gitlab) | - | full, prepare |
--prerelease-mode |
Generate pre-release versions instead of final versions | false |
full, prepare |
--prerelease-id <value> |
Pre-release identifier (e.g., alpha, beta, rc) | alpha |
full, prepare |
--bump-unchanged |
In prerelease mode, bump modules even when no changes are detected | false |
full, prepare |
--add-build-metadata |
Add build metadata with short SHA to all versions | false |
full, prepare |
--timestamp-versions |
Use timestamp-based prerelease identifiers (requires prerelease-mode) | false |
full, prepare |
--append-snapshot |
Add -SNAPSHOT suffix to all versions if supported by adapter | false |
full, prepare |
--generate-changelog |
Generate or update changelog files for changed modules | true |
full, prepare |
--changelog-filename <value> |
Filename for generated changelog | CHANGELOG.md |
full, prepare |
--generate-release-notes |
Generate release notes summarizing all changes | true |
full, prepare |
--release-notes-filename <value> |
Filename for generated release notes | RELEASE.md |
full, prepare |
--tag-version-prefix <value> |
Prefix to add on tag versions (e.g., v) |
- | full, prepare |
--strip-module-prefix |
Strip module name from tags when the project has a single module | false |
full, prepare |
--push-changes |
Commit and push version changes and changelogs to remote | true |
full, finalize |
--create-tags |
Create git tags for new versions | true |
full, finalize |
--sequential-tag-push |
Push tags sequentially instead of all at once | false |
full, finalize |
--commit-release-notes |
Include release notes in the commit when pushing changes | false |
full, finalize |
Apply semantic versions based on commits:
versu run
Generate beta pre-release versions:
versu run --prerelease-mode --prerelease-id beta
Generate timestamp-based pre-release versions for CI builds:
versu run --prerelease-mode --prerelease-id alpha --timestamp-versions --add-build-metadata
This generates versions like: 1.2.3-alpha.20251208.1530+abc1234
Generate Gradle SNAPSHOT versions:
versu run --append-snapshot
Bump all modules (even unchanged) for development:
versu run --prerelease-mode --bump-unchanged
Test without committing or pushing:
versu run --dry-run --no-push-changes --no-create-tags
Calculate versions without automatic git operations:
versu run --no-push-changes --no-create-tags
Then manually review, commit, and push.
Run your own steps between writing the versions and committing them, so files that depend on the new version land in the release commit:
versu run prepare # write versions, changelogs, release notes; no git
npm run codegen # anything that needs the new versions
versu run finalize # commit everything, push, tag
Naming and versioning flags (--tag-version-prefix, --prerelease-mode, ...) go to prepare; finalize reuses what prepare saved and doesn't accept them. Finalize stops without committing if HEAD moved or a version on disk no longer matches the plan. See the Two-Stage Release guide.
Versu CLI uses the same configuration system as the core library. Configuration files are automatically detected in your repository root.
You can provide configuration in any of the supported config files (e.g., .versurc, versu.config.js, etc.) or via package.json under the versu key. For the full list please refer to cosmiconfig search places documentation.
.versurc.json:
{
"versioning": {
"breakingChange": {
"stable": "major",
"prerelease": "premajor"
},
"unknownCommitType": {
"stable": "patch",
"prerelease": "prepatch"
},
"commitTypes": {
"feat": {
"stable": "minor",
"prerelease": "preminor"
},
"fix": {
"stable": "patch",
"prerelease": "prepatch"
}
},
"cascadeRules": {
"stable": {
"major": "major",
"minor": "minor",
"patch": "patch"
},
"prerelease": {
"premajor": "premajor",
"preminor": "preminor",
"prepatch": "prepatch",
"prerelease": "prerelease"
}
}
},
"changelog": {
"root": {
"context": {
"prependPlaceholder": "<!-- Next Version Placeholder -->"
}
},
"module": {
"context": {
"prependPlaceholder": "<!-- Next Version Placeholder -->"
}
}
}
}
For more configuration examples, see the core package documentation.
Advanced Changelog Configuration:
Versu supports conventional-changelog-writer options for customizing changelog generation. For advanced customization with functions (transforms, sorting, templates), use JavaScript configuration files:
// versu.config.js
module.exports = {
versioning: {
// ... version rules
},
changelog: {
module: {
options: {
groupBy: 'type',
commitsGroupsSort: (a, b) => {
const order = { feat: 1, fix: 2, perf: 3 };
return (order[a.title] || 99) - (order[b.title] || 99);
},
transform: (commit, context) => {
// Custom commit transformation
const commitPatch = {};
return commitPatch;
}
}
}
}
};
Build system support is provided by adapter plugins:
For more details please refer to each plugin documentation.
Versu uses Conventional Commits to determine version bumps:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Examples:
feat(api): add new endpoint → minor bumpfix(core): resolve memory leak → patch bumpfeat!: breaking API change → major bumpBreaking changes trigger major version bumps:
Using ! after the type: feat!: remove deprecated API
Using BREAKING CHANGE: in the footer:
feat: update API
BREAKING CHANGE: The old API is removed
- name: Install Versu CLI
run: npm install -g @versu/cli
- name: Install Adapter
run: |
# install required adapters
npm install -g @versu/plugin-gradle
- name: Version modules
run: versu run
version:
script:
- npm install -g @versu/cli
- npm install -g @versu/plugin-gradle
- versu run
stage('Version') {
steps {
sh 'npm install -g @versu/cli'
sh 'npm install -g @versu/plugin-gradle'
sh 'versu run'
}
}
Add to your package.json:
{
"scripts": {
"version": "versu run --dry-run",
"version:release": "versu run"
}
}
Then run:
npm run version # Dry run
npm run version:release # Actual release
If versu is not found after global installation:
npm bin -gnpx @versu/cliIf you get permission errors when pushing:
--no-push-changes --no-create-tags to skip git operationsIf versions aren't bumping:
--dry-run to see what Versu detectsIf auto-detection fails:
--adapter gradle# From monorepo root
npm install
npm run build
# Or from CLI package
cd packages/cli
npm install
npm run build
# After building
bin/dev.js --dry-run
npm publish --workspace packages/cli --access public
MIT License - see LICENSE for details.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.