跳至主要內容
版本:下一個

pnpm patch-commit <path>

從特定目錄中產生 patch(靈感來自 Yarn中的類似命令)。

pnpm patch-commit <patchDir>

Options

---patches-dir <dir>

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.