pnpm patch-commit <path>
Генерує виправлення з теки та зберігає його (на основі схожої команди у Yarn).
This command will compare the changes from path
to the package it was supposed to patch, generate a patch file, save the a patch file to patchesDir
(which can be customized by the --patches-dir
option), and add an entry to patchesDependencies
in the top level manifest file.
Usage:
pnpm patch-commit <path>
path
is the path to a modified copy of the patch target package, it is usually a temporary directory generated bypnpm patch
.
Options
---patches-dir <patchesDir>
The generated patch file will be saved to this directory. By default, patches are saved to the patches
directory in the root of the project.