| Add `c`/`r`/`l` bulk selection shortcuts to `upgrade-interactive` (#7051) <img width="824" height="294" alt="SCR-20260217-rotv" src="https://github.com/user-attachments/assets/7b4e95b9-aad2-46b6-b689-e39975adede7" /> ## Summary - Adds `c`/`r`/`l` keyboard shortcuts to `yarn upgrade-interactive` that bulk-set all packages to **current**, **range**, or **latest** version respectively - Pressing `l` selects the latest available version for each package, falling back to range when a separate latest version is not available - Extends the libui ministore with a `setAll` method for efficient single-state-update bulk operations ## Test plan - [x] Run `yarn upgrade-interactive` and verify the new shortcut hint appears in the prompt - [x] Press `l` and confirm all packages switch to their latest (or range) radio button - [x] Press `r` and confirm all packages switch to their range radio button - [x] Press `c` and confirm all packages reset to current - [x] Verify `<left>`/`<right>` per-package selection still works after bulk selection - [x] Verify `<enter>` to install and `<ctrl+c>` to abort still work correctly Made with [Cursor](https://cursor.com) --------- Co-authored-by: Cursor <cursoragent@cursor.com> | 6 个月前 |