Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Support JavaScript libraries via Asset Packagist #41

Merged
merged 11 commits into from
Aug 14, 2017
Merged

Conversation

phenaproxima
Copy link
Collaborator

This will partially unblock acquia/lightning#425 and allow us to bring in any JavaScript asset library using the asset-packagist.org Composer repo.

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"
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

Copy link
Contributor

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

@balsama
Copy link
Contributor

balsama commented Aug 14, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants