Skip to content

Commit 4a38e9f

Browse files
committed
Document the extra arguments to poser
1 parent 9761238 commit 4a38e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This project provides the following DDEV container commands.
4040

4141
- [ddev poser](https://github.com/ddev/ddev-drupal-contrib/blob/main/commands/web/poser).
4242
- Creates a temporary [composer.contrib.json](https://getcomposer.org/doc/03-cli.md#composer) so that `drupal/core-recommended` becomes a dev dependency. This way the composer.json from the module is untouched.
43-
- Runs `composer install` AND `yarn install` so that dependencies are available.
43+
- Runs `composer install` AND `yarn install` so that dependencies are available. Additional arguments to `ddev poser` like --prefer-source are passed along to `composer install`
4444
- Note: it is perfectly acceptable to skip this command and edit the require-dev of composer.json by hand.
4545
- [ddev symlink-project](https://github.com/ddev/ddev-drupal-contrib/blob/main/commands/web/symlink-project). Symlinks the top level files of your project into web/modules/custom so that Drupal finds your module. This command runs automatically on every `ddev start` _as long as Composer has generated `vendor/autoload.php`_ which occurs during `composer install/update`. See codebase image below.
4646

0 commit comments

Comments
 (0)