Can anyone tell me how to update a single module using composer ?
composer update drupal/<module_name> --with-dependencies
For example, to update Search API (search_api):
composer update drupal/search_api --with-dependencies
(Note that the --with-dependencies flag will also update the module's own dependencies, if it has any.)
The answer from @fafnirical is correct. Thanks!
thanks!
Most helpful comment
For example, to update Search API (
search_api):(Note that the
--with-dependenciesflag will also update the module's own dependencies, if it has any.)