Minor Changes
-
A new setting supported in the pnpm section of the
package.json
file:allowNonAppliedPatches
. When it is set totrue
, non-applied patches will not cause an error, just a warning will be printed. For example:{ "name": "foo", "version": "1.0.0", "pnpm": { "patchedDependencies": { "express@4.18.1": "patches/express@4.18.1.patch" }, "allowNonAppliedPatches": true } }
-
Now it is possible to exclude packages from hoisting by prepending a
!
to the pattern. This works with both thehoist-pattern
andpublic-hoist-pattern
settings. For instance:public-hoist-pattern[]='*types*' public-hoist-pattern[]='!@types/react' hoist-pattern[]='*eslint*' hoist-pattern[]='!*eslint-plugin*'
Ref #5272
Patch Changes
pnpm patch
should work on files that don't have an end of line #5320.- Fix
pnpm patch
using a custom--edit-dir
.
Our Gold Sponsors
Our Silver Sponsors
What's Changed
- fix(patch): allow to edit a package in any directory by @zkochan in #5331
- feat(matcher): ignore patterns by @LuciNyan in #5336
- fix(patch): ignore No newline at end of file by @await-ovo in #5321
- feat(patch): allow non-applied patches by @larrybahr-ocelot in #5354
New Contributors
- @await-ovo made their first contribution in #5321
- @larrybahr-ocelot made their first contribution in #5354
Full Changelog: v7.11.0...v7.12.0-0