パッチを適用するパッケージを準備します(Yarnの同様のコマンドに触発されました)。 このコマンドを実行すると、一時ディレクトリにパッケージが展開され、そのディレクトリーでの編集が可能になります。 Once you're done with your changes, run pnpm patch-commit <path> (with <path> being the temporary directory you received) to generate a patchfile and register it into your top-level manifest via the patchedDependencies field. 使い方