Skip to content

Conversation

@miguelramos
Copy link
Member

  • Add bump_preview async function exposed as bumpPreview to JavaScript
  • Implement SharedBuffer for CLI output capture
  • Add CLI response types for JSON parsing (CliBumpSnapshot, CliPackageBumpInfo, etc.)
  • Add conversion functions from CLI to NAPI types
  • Add validate_preview_params and convert_params_to_args functions
  • Add prerelease_tag and snapshot_format validators for future stories
  • Export bump_preview from commands/mod.rs and lib.rs
  • Update index.ts to export bumpPreview function
  • Regenerate bindings with napi-rs
  • Add 50+ tests for bump preview functionality

Story 5.2 acceptance criteria met:

  • Returns preview of changes (BumpPreviewData)
  • No actual changes made (dry_run = true)
  • showDiff option works correctly
  • Returns strategy, packages, summary, and changesets

- Add bump_preview async function exposed as bumpPreview to JavaScript
- Implement SharedBuffer for CLI output capture
- Add CLI response types for JSON parsing (CliBumpSnapshot, CliPackageBumpInfo, etc.)
- Add conversion functions from CLI to NAPI types
- Add validate_preview_params and convert_params_to_args functions
- Add prerelease_tag and snapshot_format validators for future stories
- Export bump_preview from commands/mod.rs and lib.rs
- Update index.ts to export bumpPreview function
- Regenerate bindings with napi-rs
- Add 50+ tests for bump preview functionality

Story 5.2 acceptance criteria met:
- Returns preview of changes (BumpPreviewData)
- No actual changes made (dry_run = true)
- showDiff option works correctly
- Returns strategy, packages, summary, and changesets
@miguelramos miguelramos self-assigned this Dec 12, 2025
@miguelramos miguelramos merged commit 6d04913 into main Dec 12, 2025
31 checks passed
@miguelramos miguelramos deleted the feat/WOR-TSK-192-BUMP-PREVIEW branch December 12, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants