0

My setup is composer driven.

I have overridden some module with patches and customised a contributed theme (boostrap_sass).

Now I want to avoid overbidding these modules and theme when I perform composer update in console, so as to skip updating those modules and themes and perform update on only the modules, themes and core that I want to update via composer.

  • 2
    You might be looking at that the wrong way round. Rather than trying to explicitly exclude something (bootstrap_sass or whatever) from an update, consider whether you should be locking its version, and using cweagans/composer-patches to apply the patch(es). Then you don't get into dependency soup – Clive Jun 6 at 8:28
  • Yep use exact versions in Composer. You can also pin to specific commit SHAs too if you need to require a dev branch. – Kevin Jun 6 at 11:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.