Skip to content

Implement deno version cli tool to manage package versioning #30359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JLCarveth
Copy link

@JLCarveth JLCarveth commented Aug 8, 2025

Fix #30358

TODO: Update deno init to include an initial value for version (0.1.0?)

2 tests fail on my system, but those same two tests also fail on my main branch.

JLCarveth and others added 6 commits August 6, 2025 15:23
Add flag structures and enum to support version increment operations.
Includes support for major, minor, patch, and prerelease increments
with options for dry-run, git operations, and tag creation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Add version subcommand handler to main.rs and register version module
in tools/mod.rs to enable the new version functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Add complete version.rs implementation supporting:
- Version increment operations (major, minor, patch, prerelease variants)
- Configuration file updates (deno.json, package.json)
- Git integration (tagging and committing)
- Dry-run mode for preview
- Comprehensive error handling and validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: John Carveth <[email protected]>
Signed-off-by: John Carveth <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Aug 8, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for an "npm version" equivalent in Deno CLI
2 participants