-
Notifications
You must be signed in to change notification settings - Fork 58
Support JavaScript libraries via Asset Packagist #41
Conversation
composer.json
Outdated
"drupal-composer/drupal-scaffold": "^2.0.0", | ||
"cweagans/composer-patches": "^1.6.0", | ||
"acquia/lightning": "~2.1.0" | ||
"acquia/lightning": "~2.1.0", | ||
"oomphinc/composer-installers-extender": "^1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? Is it a root requirement? Thinking we can get rid of it altogether since it's in Lightning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were directly requiring composer/installers before (which this supersedes), so as far as I can tell, it's a root requirement...we could open a follow-up PR to experiment with removing it, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Let's fix it now though if we can. It changes the other PRs from four changes to two.
remove composer-installers(optional)Add composer-installers-extra- Add packagist
- Add new path definitions
Perfect. If 1fa2071 passes, just change the lightning requirement back to ~2.1.6 and this is ready for merge. Also needs to be cherry picked to headless branch. |
This will partially unblock acquia/lightning#425 and allow us to bring in any JavaScript asset library using the asset-packagist.org Composer repo.