dropwhale icon indicating copy to clipboard operation
dropwhale copied to clipboard

Add composer.sh

Open socketwench opened this issue 7 years ago • 3 comments

Since Composer is now the preferred way to download modules, we should consider adding a top-level script to support it.

socketwench avatar May 13 '17 16:05 socketwench

I think this issue is worth doing.

Just for the moment documenting the command we need

From

https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies#managing-contributed

composer require "drupal/<modulename>:<version>" For example: composer require "drupal/simple_fb_connect:~3.0" composer require "drupal/ctools:3.0.0-alpha26" composer require "drupal/token:1.x-dev"

martinfrances107 avatar Nov 19 '17 16:11 martinfrances107

That's not a bad idea! I'm a bit concerned it might be out of scope for the project, though, since Dropwhale is only meant for module development. Maybe there are things I've missed?

socketwench avatar Nov 23 '17 16:11 socketwench

I am quite happy to grade this issue as a low priority thing....

But in the long term I see an issue.... other contrib modules have aspirations to pull in third party modules using composer ... ( I am thinking of future plans for devel and rules )

but at the moment they are falling flat on their face ... so no pressure :)

I am already juggling too many D8 issues at the moment... so I don't want to take on anything new at the moment - but in time I want to get to this.

martinfrances107 avatar Nov 23 '17 16:11 martinfrances107