You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note**: Remember to keep the `composer.json` and `composer.lock` files that exist above `docroot` in source control as they are controlling your dependencies.
@@ -86,28 +86,24 @@ Composer will create `composer.lock` file, which is a list of dependencies that
86
86
87
87
Please **don't add `drupal/core` to your project's composer.json** since WxT manages Drupal Core for you along with the series of patches on top of it.
88
88
89
-
WxT's minor versions will always correspond to Drupal Core's. For example, `drupalwxt/wxt:~5.0.x` will require Drupal Core 10.0.x and `drupalwxt/wxt:~4.5.x` required Drupal Core 9.5.x.
89
+
For example:
90
90
91
-
When you need to update Drupal Core as an example from 9.5.x to 10.0.x, all you would do is change your requirement for `drupalwxt/wxt` in your `composer.json` file:
91
+
*`drupalwxt/wxt:~5.2.0` will require Drupal Core 10.2.x
92
+
*`drupalwxt/wxt:~5.1.0` will require Drupal Core 10.1.x
92
93
93
-
```
94
-
composer require --no-update drupalwxt/wxt:~5.0.0
94
+
When you need to update Drupal Core as an example from 10.1.x to 10.2.x, all you would do is change your requirement for `drupalwxt/wxt` in your `composer.json` file:
95
+
96
+
```sh
97
+
composer require --no-update drupalwxt/wxt:~5.2.0
95
98
composer update
96
99
```
97
100
98
-
> **Note:** This assumes you have already backed up your database prior to attembting a major version upgrade.
99
-
100
101
### Compatibility table
101
102
102
-
|`drupalwxt/wxt` version | Drupal Core version | Drush version |
0 commit comments