UNPKG

branchyard

Version:

branchyard — Your shipyard for parallel development workflows. Maintain your digital yard with clean branches, productive workflows, and AI-era readiness.

55 lines (39 loc) 1.49 kB
# Release v1.2.4 ## 🐛 Bug Fixes ### Fixed stdin reading issue - **Problem**: The `Bun.stdin.stream().reader.read()` API was causing TypeErrors when prompting for editor selection - **Solution**: Updated to use the correct `process.stdin.iterator()` API for reading user input - **Impact**: Interactive prompts now work correctly with latest Bun versions ### Improved remove command syntax - **Change**: `remove` is now a proper command instead of a flag - **Before**: `branchyard --remove worktree-name` - **After**: `branchyard remove worktree-name` - **Benefit**: More intuitive and consistent with standard CLI patterns ## 🔧 Technical Details - Fixed TypeScript type safety issues in `prompts.ts` - Removed unused `TextDecoder` variable - Updated command routing in `index.ts` to properly handle `remove` as a command - Cleaned up legacy `--remove` flag handling in the codebase ## 📚 Documentation Updates - Updated README.md examples to use new `remove` command syntax - Updated help text to reflect the command change - All examples now show the correct usage pattern ## Compatibility - Requires Bun v1.0 or higher - Tested with Bun v1.2.19 ## Installation ```bash # Install globally bun install -g branchyard # Or update existing installation bun update -g branchyard ``` ## Quick Start ```bash # Create worktrees branchyard feature-x bugfix-y # Remove worktrees (NEW SYNTAX!) branchyard remove feature-x bugfix-y # List active worktrees branchyard list ```