cweagans / composer-patches

Simple patches plugin for Composer
https://www.cweagans.net/project/composer-patches
BSD 3-Clause "New" or "Revised" License
1.53k stars 240 forks source link

Disable patches of subpackages #336

Closed freshp closed 1 year ago

freshp commented 4 years ago

Hey,

is there any way to prevent executing patches from sub-packages, but allow executing the given patch from the main project composer json?

thank you in advance.

Example:

cweagans commented 1 year ago

There's no way to do that in 1.x, but main doesn't resolve patches from dependencies at all.