From 0f1b0b1412cef78a524868db5c4eae41d24b1dba Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 21 Jan 2021 21:46:29 +0100 Subject: [PATCH] initial for OXID 6.1 --- README.md | 22 ++++++++++++++++++++++ composer.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100755 README.md create mode 100755 composer.json diff --git a/README.md b/README.md new file mode 100755 index 0000000..e289d8b --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Development package replacement if dev tools are not used + +This package removes the unused OXID development package from the shop and prevents conflicts in later updates. + +Also, if the --no-dev/--update-no-dev parameter is forgotten, not all developer packages will be installed. + +## Install + +if the development tools are not used and should be removed from the shop installation + +* Run this composer statement in your shop. Adjust this instruction if your installation requires it. + + `composer require d3/oxid-dev-replacement --update-no-dev` + +## Uninstall + +if the dev tools are to be used again + +* Manually clean up the replacement module entry (d3/oxid-dev-replacement) from the vendor/composer/installed.json and composer.lock files. +* Run this composer statement in your shop. Adjust this instruction if your installation requires it. + + `composer remove d3/oxid-dev-replacement --update-no-dev` diff --git a/composer.json b/composer.json new file mode 100755 index 0000000..5819ac8 --- /dev/null +++ b/composer.json @@ -0,0 +1,50 @@ +{ + "name": "d3/oxid-dev-replacement", + "description": "Removes / prevent installation of the dev packages, if they're not used and should be removed from the installation.", + "version": "1.0.0", + "require": { + "oxid-esales/oxideshop-metapackage-ce": "^6.0" + }, + "replace": { + "behat/mink-goutte-driver": "*", + "oxid-esales/mink-selenium-driver": "*", + "phpunit/phpcov": "*", + "squizlabs/php_codesniffer": "*", + "fabpot/goutte": "*", + "mikey179/vfsstream": "*", + "oxid-esales/php-selenium": "*", + "symfony/dom-crawler": "*", + "symfony/browser-kit": "*", + "symfony/css-selector": "*", + "behat/mink": "*", + "behat/mink-browserkit-driver": "*", + "symfony/event-dispatcher": "*", + "guzzle/common": "*", + "guzzle/stream": "*", + "guzzle/parser": "*", + "guzzle/http": "*", + "pdepend/pdepend": "*", + "phpdocumentor/reflection-common": "*", + "phpdocumentor/type-resolver": "*", + "phpdocumentor/reflection-docblock": "*", + "phpunit/php-token-stream": "*", + "sebastian/version": "*", + "sebastian/global-state": "*", + "sebastian/recursion-context": "*", + "sebastian/exporter": "*", + "sebastian/environment": "*", + "sebastian/diff": "*", + "sebastian/comparator": "*", + "doctrine/instantiator": "*", + "phpspec/prophecy": "*", + "phpunit/php-text-template": "*", + "phpunit/phpunit-mock-objects": "*", + "phpunit/php-timer": "*", + "phpunit/php-file-iterator": "*", + "phpunit/php-code-coverage": "*", + "phpunit/phpunit": "*", + "theseer/fdomdocument": "*", + "sebastian/finder-facade": "*" + }, + "license": "GPL-3.0-or-later" +}