From 43d6e0f3603755b1cf24b2b8be682289648667b0 Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Thu, 7 Dec 2023 09:01:39 +0100 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bea50a3..e5de0f2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,29 @@ -# Magento 2 removal of optional modules -This repository contains a composer meta-package that removes optional modules. To install this package, use the following: +# Magento 2 removal of optional bundled 3rd party modules +This repository contains a composer meta-package that removes optional modules. To install this package, use the following steps: - composer require yireo/magento2-replace-bundled +Require the composer plugin to manage replacements via a special `composer replace:*` command-line: +```bash +composer require yireo/magento2-replace-tools +``` -## Notes -See the package [`yireo/magento2-replace-tools`.](https://github.com/yireo/magento2-replace-tools) for more information +Use the new command-line to add the meta-package of this specific repository to your root `composer.json`: +```bash +composer replace:bulk:add yireo/magento2-replace-bundled +``` + +Verify that your meta-information regarding composer replacements is correct: +```bash +composer replace:validate +``` + +Rebuild your root `composer.json` its `replace` section: +```bash +composer replace:build +``` + +Rebuild your composer dependencies: +```bash +composer update +``` + +See the package [`yireo/magento2-replace-tools`.](https://github.com/yireo/magento2-replace-tools) for more details.