Avoid executing recipes of dependencies of dependencies
alexander-schranz opened this issue · 0 comments
I'm running more and more issues when recipes of dependencies of dependencies are executed. As example I create a bundle which is build on top of symfony/ux components. Now installing the bundle modifies always the projects package.json and other files of the project which are completely on another stack. Know the installaton guide of that library need to tell undo that files as it has nothing todo with the installed library.
Same problem we already have in sulu/sulu which requires doctrinephpcrbundle which recipe doesn't match sulu/sulu requirements. The problem I see could be fixed by that recipes are only execute when they are first party requirements and not requirements of requirements.
This could also be like contrib a flag in composer.json to make it configurable. Or requirements of requirements should always be asked if they should be executed.