Перейти до основного змісту
Версія: 7.x

pnpm patch-commit <path>

Added in: v7.4.0

Generate a patch out of a directory (inspired by a similar command in Yarn).

pnpm patch-commit <patchDir>


---patches-dir <dir>

Added in: v7.30.0

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.