initial for OXID 6.1

This commit is contained in:
Daniel Seifert 2021-01-21 21:46:29 +01:00
commit 0f1b0b1412
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
2 changed files with 72 additions and 0 deletions

22
README.md Executable file
View File

@ -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`

50
composer.json Executable file
View File

@ -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"
}