Apply patch in composer without updating other modules

Patching workflow in drupal is something you need to learn a bit. I stumbled on a few cases where I would have to update one module only and want to prevent from updating the entire system. Here's the snippet. After you added your patch to your composer.json file, simply go:

composer update drupal/simple_sitemap

 

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!