CLI 命令Patch dependenciespnpm patch-commit <path>版本:8.x於本頁面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.