Skip to content

Commit

Permalink
Merge branch 'master' of github.com:grasmash/composerize-drupal
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Mar 13, 2019
2 parents 8149eca + dc590bd commit 2db16fb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -20,7 +20,7 @@ The `composerize-drupal` command will perform the following operations:
* Require and configure suggested Composer plugins:
* Add [Composer Installer](https://github.com/grasmash/composerize-drupal) file paths to `extra` configuration to ensure that Drupal projects are downloaded to the correct locations.
* Merge dependencies from `[drupal-root]/modules/custom/*/composer.json` into your root dependencies via [Composer Merge](https://github.com/wikimedia/composer-merge-plugin), permitting custom modules to have separate `composer.json` files.
* Create an empty `extra.patches` object to facilitate patching with [Composer Patches](https://github.com/cweagans/composer-patches)
* Create and populate `extra.patches` object to facilitate patching with [Composer Patches](https://github.com/cweagans/composer-patches). Patches to profiles, themes, and modules will be automatically discovered and moved to the a new [repo-root]/patches directory.
* Add entries to `repositories`:
* `https://packages.drupal.org/8` for installing packages from Drupal.org
* [`https://asset-packagist.org/`](https://asset-packagist.org/) to permit installing NPM packages.
Expand Down Expand Up @@ -48,10 +48,13 @@ The `[drupal-root]` should be the Drupal root, where `index.php` is located.
Examples:
```
# Drupal is located in a `docroot` subdirectory.
composer composerize-drupal --composer-root=. --drupal-root=docroot
composer composerize-drupal --composer-root=. --drupal-root=./docroot
# Drupal is located in a `web` subdirectory.
composer composerize-drupal --composer-root=. --drupal-root=web
composer composerize-drupal --composer-root=. --drupal-root=./web
# Drupal is located in a `public_html` subdirectory (cPanel compatible).
composer composerize-drupal --composer-root=. --drupal-root=./public_html
# Drupal is located in the repository root, not in a subdirectory.
composer composerize-drupal --composer-root=. --drupal-root=.
Expand Down

0 comments on commit 2db16fb

Please sign in to comment.