Problem/Motivation

The type of this composer project is currently set as "library" ("type": "library").
After a composer install or update the project is installed in the vendor/drupal directory and not in the <drupal_root>/modules/contrib directory.

To work with the composer template for Drupal projects (https://github.com/drupal-composer/drupal-project), it would be better to change this project type to drupal-module.

CommentFileSizeAuthor
#2 bad_type_in_composer_json-2829886-2.patch390 bytesvpeltot

Comments

vpeltot created an issue. See original summary.

vpeltot’s picture

Status: Needs work » Needs review
StatusFileSize
new390 bytes

Here is the patch to change the project type.

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

This looks good.

woprrr’s picture

+1 looks good.

  • fgm committed 092dffb on 8.x-1.x
    Issue #2829886 by vpeltot, fgm: Fix the composer.json project type to...
fgm’s picture

Status: Reviewed & tested by the community » Fixed

Wow, I'd never noticed that one until I fixed it too. Thanks.

Status: Fixed » Closed (fixed)

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