pnpm patch-commit /tmp/lodash-edit

Category: Node.js & npm/yarn

pnpm patch-commit /tmp/lodash-edit

Save an edited package as a patch

Turns the changes made in the /tmp/lodash-edit directory, extracted by pnpm patch, into a patch file recorded in package.json. The patched package is then applied on every install, including in CI. Remove patches with pnpm patch-remove.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.