Files
bun.sh/test/cli/install
Claude Bot 76163e2020 feat(patch): add --preview flag to show diff without saving
Adds a `--preview` flag to `bun patch` and `bun patch-commit` commands that
prints the patch diff to stdout without saving the patch file or modifying
package.json.

This allows users to preview what a patch will contain before committing to
it, making it easier to create minimal patches when porting bug fixes from
upstream repositories.

Usage:
  bun patch --preview node_modules/package
  bun patch-commit --preview node_modules/package

Closes #26463

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 23:56:49 +00:00
..
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2025-08-27 06:39:11 -07:00
2025-11-14 16:49:21 -08:00
2023-10-12 15:17:03 -07:00