diff --git a/docs/drupal8/index.md b/docs/drupal8/index.md index 18b9ef8fce3e0fe9f667c3d062b8823668f57940..0d3d41f22d8b3941ae2e6d6498485f45fd9e56d7 100644 --- a/docs/drupal8/index.md +++ b/docs/drupal8/index.md @@ -64,11 +64,10 @@ If `composer` is properly installed, then these example commands will add CiviCR ``` cd /var/www/d8.example.org composer config extra.enable-patching true -composer require civicrm/civicrm-asset-plugin:'~1.1' -composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.29' +composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.42' ``` -You should adjust the example path (`/var/www/d8.example.org`) and the example version (`~5.29`) as needed. +You should adjust the example path (`/var/www/d8.example.org`) and the example version (`~5.42`) as needed. If you'd like more details to understand these commands or common errors, then please drill-down below. @@ -89,10 +88,11 @@ If you'd like more details to understand these commands or common errors, then p | Package | Description | | -- | -- | - | `civicrm/civicrm-asset-plugin` | A tool which automatically copies JS+CSS assets from CiviCRM to D8's `web/` folder | | `civicrm/civicrm-core` | The primary CiviCRM codebase | | `civicrm/civicrm-drupal-8` | The integration module for CiviCRM and D8 | | `civicrm/civicrm-packages` | A collection of third-party/legacy packages used by CiviCRM | + | `civicrm/civicrm-asset-plugin` | A tool which automatically copies JS+CSS assets from CiviCRM to D8's `web/` folder - required by `civicrm/civicrm-drupal-8`| + ??? info "More detail: Version constraints" @@ -102,11 +102,11 @@ If you'd like more details to understand these commands or common errors, then p The following expression references the three packages and applies the same version-constraint to each: ``` - civicrm/civicrm-{core,packages,drupal-8}:'~5.29' + civicrm/civicrm-{core,packages,drupal-8}:'~5.42' ``` - The expression `~5.29` is a version-constraint. It means that composer will install *approximately* v`5.29`. It may - install a newer patch-release (e.g. `5.29.1`) or a newer minor-release (e.g. `5.31.0`). However, it will avoid + The expression `~5.42` is a version-constraint. It means that composer will install *approximately* v`5.29`. It may + install a newer patch-release (e.g. `5.42.1`) or a newer minor-release (e.g. `5.43.0`). However, it will avoid major-releases (e.g. `6.0.0`). Many `composer` tutorials rely on `composer` to automatically choose package-versions.