-
-
Notifications
You must be signed in to change notification settings - Fork 642
Use custom composer type instead of "project" #823
Comments
@mathieuhelie - Do you mean in the main Drupal VM The tough thing is, some people use Drupal VM standalone, others use it included as part of an upstream project (e.g. a BLT-built Drupal project)... I want to favor the standalone use case, and in that case, wouldn't |
This is the issue where the purpose of composer's "project" type was determined: Using "project" here means we are creating a project out of the Drupal-VM composer.json file, adding dependencies (such as Drupal core) there. The Vagrantfile pass-through feature would imply the opposite, that we are importing Drupal-VM into the project and customizing it from local yml config files. We can then keep Drupal-VM updated with composer update, which we cannot do if it was transformed into a project. As it stands, running |
Using |
I think @mathieuhelie is correct. Let me just write down how I believe it works. Currently we have the following setups documented:
So we never suggest that anyone should use Drupal VM's own @mathieuhelie you're saying I can also verify that
|
To promote potential parity with other VM-related projects, I'd like to use the custom type More docs for reference: https://getcomposer.org/doc/04-schema.md#type |
"Project" is meant to be used for packages that can be applied to composer create-project. Drupal-VM is a dependency. We should create a custom type called "drupal-vm" so that we can specify where it's installed in our projects.
The text was updated successfully, but these errors were encountered: