CLI 命令管理套件pnpm patch-commit <path>版本:7.x於本頁面pnpm patch-commit <path>新增於 v7.4.0 從特定目錄中產生 patch(靈感來自 Yarn中的類似命令)。 pnpm patch-commit <patchDir> Options ---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.