You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you include in the composer.json the type line
'type': 'drupal/module',
And also add this directly to packagist.org so that people who are deploying with composer can include this and automatically download all the dependencies your drupal installation.
I know you can do this with with the composer repositories on drupal.org, but it ignores the composer.json in your repository and doesn't include your dependencies you have listed.
Also a cool thing if you are using composer-patches you can just add the required patches to your root composer.json and it will apply them directly and stop when they do not apply. Keeping the patches fresh.
Thanks.
Gordon
The text was updated successfully, but these errors were encountered:
I'm not 100% sure about the dependency thing. I've been only doing Drupal 8 work for the past two years or so, but packages.drupal.org reads dependencies that way. However, I have no idea how that works in Drupal 7 now.
And yes, composer-patches is great! I've found some bugs in bubbling up patches from dependencies, so we don't use it here, but for composer / D8 sites it's perfect. Note that it doesn't hard fail on conflicts by default, so watch out for that.
Can you include in the composer.json the type line
'type': 'drupal/module',
And also add this directly to packagist.org so that people who are deploying with composer can include this and automatically download all the dependencies your drupal installation.
I know you can do this with with the composer repositories on drupal.org, but it ignores the composer.json in your repository and doesn't include your dependencies you have listed.
Also a cool thing if you are using composer-patches you can just add the required patches to your root composer.json and it will apply them directly and stop when they do not apply. Keeping the patches fresh.
Thanks.
Gordon
The text was updated successfully, but these errors were encountered: