Skip to content

chore(release): version package#21

Merged
hemandev merged 1 commit into
mainfrom
changeset-release/main
Feb 27, 2026
Merged

chore(release): version package#21
hemandev merged 1 commit into
mainfrom
changeset-release/main

Conversation

@hemandev
Copy link
Copy Markdown
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

codeowners-git@2.1.0

Minor Changes

  • 9dab921: Add --dry-run and --json flags for all major commands

    New Features

    • --dry-run flag — Available on branch, multi-branch, and extract commands. Shows a complete preview of what would happen (files, branches, commit messages, settings) without performing any git operations.

    • --json flag — Available on list, branch, multi-branch, and extract commands. Outputs machine-readable JSON to stdout and suppresses all human-readable log messages. Works with both normal execution and --dry-run mode.

    Details

    • list --json: Outputs { command, files, filters } or { command, grouped, filters } when used with --group
    • branch --dry-run: Shows owner, branch name, branch existence, commit message, matched/excluded files, and push/PR/flag settings
    • branch --json: Outputs branch result with success status, files, push state, and PR info
    • multi-branch --dry-run: Shows per-owner breakdown (branch, message, files), uncovered files, unowned files, and summary totals
    • multi-branch --json: Outputs aggregate results with per-owner success/failure details
    • extract --dry-run: Shows source, compare target, files to extract, excluded files, and filter settings
    • extract --json: Outputs extracted file list and source metadata
    • Silent mode suppresses all console.log/warn/error output when --json is active; JSON is written via saved original console.log
    • pushBranch in git.ts supports a silent option to switch stdio from "inherit" to "pipe", preventing output leaks during JSON mode
    • recover command is intentionally excluded from both flags (interactive with prompts)

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 7f73c39 to 54679e9 Compare February 27, 2026 07:43
@hemandev hemandev merged commit 4c471a9 into main Feb 27, 2026
2 checks passed
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.

1 participant