zodiacmedia / drupal-libraries-installer

Install Drupal libraries via a simple listing in your composer.json file
https://packagist.org/packages/zodiacmedia/drupal-libraries-installer
5 stars 6 forks source link

#7 - implement drupal-libraries-include #8

Open h1nds1ght opened 1 year ago

h1nds1ght commented 1 year ago

As suggested in the issue.

1) Add this to the extra section of your main composer.json:

        "drupal-libraries-include": [
            "web/modules/contrib/webform/composer.libraries.json"
        ],

Perform a composer install => Packages should be in your libraries Folder

2) Remove it again from your main composer.json

Perform a composer install => Packages should be gone

3) Some kind of test would be nice, but I couldn't get it to run with phpunit.