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.