Download the PHP package spencermalone/composer-merge-bypass-plugin without Composer
On this page you can find all versions of the php package spencermalone/composer-merge-bypass-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spencermalone/composer-merge-bypass-plugin
More information about spencermalone/composer-merge-bypass-plugin
Files in spencermalone/composer-merge-bypass-plugin
Package composer-merge-bypass-plugin
Short Description Hides merge conflicts in composer.lock and vendor/composer/installed.json
License BSD-3-Clause GPL-2.0-only GPL-3.0-only
Informations about the package composer-merge-bypass-plugin
composer-merge-bypass-plugin
Globally install this composer plugin, and if you ever run composer update --lock on a repository that has active merge conflicts in the composer.lock or vendor/composer/installed.json, then this will use a stream wrapper to rewrite the contents to a temporary file and load those instead of the real merge conflicted file, allowing composer to load the lock file even though it will has invalid json.
Usage
composer global require "spencermalone/composer-merge-bypass-plugin 0.0.2"
If you ever run into a merge conflict on composer.lock or vendor/composer/installed.json, you can just composer update --lock with the merge conflicts still in place, and the "right thing" will happen (ie, it'll use a version of those files without any invalid characters and regenerate the contents)
Honorable Mention
Much of this is based on https://github.com/dg/bypass-finals, but applied to composer lock/json files instead of PHP source code.
All versions of composer-merge-bypass-plugin with dependencies
composer-plugin-api Version ^2.0