Hello,

When installing on a project assembled with composer (Drupal project), this module gets installed on "drush/Commands/" instead of "web/modules/contrib/"

The composer package type should be "drupal-module" instead of "drupal-drush"

Thanks

CommentFileSizeAuthor
#2 composer-package-type-3063459.patch357 bytesadel-by

Comments

adel-by created an issue. See original summary.

adel-by’s picture

StatusFileSize
new357 bytes
adel-by’s picture

Status: Active » Needs review
thursday_bw’s picture

Status: Needs review » Reviewed & tested by the community

This works for me.. but it doesn't fix it directly when apply the patch via composer because composer.json is dowloaded and processed by composer before the patch is applied.
So.. really need to get this merged ASAP..
It's such a simple fix, I strongly urge this gets reviewed and merged as a matter of urgency.

adel-by’s picture

for now you could add this line to your project's composer.json in the "extra/installer-paths" section :
"web/modules/contrib/delete_all": ["drupal/delete_all"],
right before
"web/modules/contrib/{$name}": ["type:drupal-module"],

This way the module gets installed in web/modules/contrib

cheers

  • adel-by authored 8a2d940 on 8.x-1.x
    Issue #3063459 by adel-by: Module gets installed in wrong folder (drush/...
dipakmdhrm’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.