pnpm patch-commit <path>
Generate a patch out of a directory and save it (inspired by a similar command in 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 patchedDependencies.
使い方
pnpm patch-commit <path>
pathis the path to a modified copy of the patch target package, it is usually a temporary directory generated bypnpm patch.
Options
---patches-dir <patchesDir>
生成されたパッチファイルは、このディレクトリに保存されます。 By default, patches are saved to the patches directory in the root of the project.