Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ Run `patch-package` without arguments to apply all patches in your project.

See https://github.com/ds300/patch-package/issues/86 for background.

- `--error-on-warn`

Forces patch-package to exit with code 1 after warnings.

The most common warning is likely a patch file version mismatch. If you
upgrade dependencies (semi-)automatically, you will run into seeing
the warning when installing. With the error-on-warn option you can ensure
that dependency upgrades are coupled with the patch version bump.

`--error-on-warn` is not switched on by default on CI,
unlike error-on-fail.

See https://github.com/ds300/patch-package/issues/345 for background.

- `--reverse`

Un-applies all patches.
Expand Down