How do I add the update of super fish libraries in composer?
I looked into https://github.com/mehrpadin/Superfish-for-Drupal and updated my composer.json.
I am missing something additional setups in composer, running composer update does not load the superfish js libraries in ./sites/all/libraries.

Thanks.

Comments

abe’s picture

here's the error message I got >> composer require mehrpadin/superfish:2.0
---------------
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package mehrpadin/superfish No version set (parsed as 1.0.0) is satisfiable by mehrpadin/superfish[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.
----------------
contents of composer.json:
"extra": {
"installer-paths": {
.... others from drupal-project
"web/sites/all/libraries/{$name}": ["type:library",
"mehrpadin/superfish"
],
>>> plus the info from https://github.com/mehrpadin/Superfish-for-Drupal/blob/2.x/composer.json

VM’s picture

I suggest a post in the issue queue of superfish module and have mehrpadin respond directly to it. The maintainer is pretty active.

abe’s picture

thanks, i have posted on the superfish issue queue.