Describe the bug
The composer.json of Site Kit requires johnpbloch/wordpress-core. When installing WordPress core from another source this causes an unwanted copy of WordPress core to be downloaded.
Specifically, I use pantheon-systems/wordpress-composer as the source for WordPress core and install it to the path web/wp.
Because Site Kit requires johnpbloch/wordpress-core another copy of WordPress core, which I do not want as a dependency, is installed to the wordpress directory.
I cannot find a way to _not_ have the johnpbloch/wordpress-core version of WordPress core downloaded.
To Reproduce
Steps to reproduce the behavior:
repositories section of composer.jsonjson
{
"type": "vcs",
"url": "https://github.com/pantheon-systems/wordpress-composer"
}
require section of composer.jsonjson
"google/google-site-kit": "1.0.0-beta.1"
composer updateweb/wp as wantedwordpress directoryExpected behavior
Site Kit, a WordPress plugin, does not force a specific version of WordPress core on Composer based projects that require the plugin as a dependency.
Screenshots
System Information (please complete the following information):
7.310.14.5beta1Additional context
_Do not alter or remove anything below. The following sections will be managed by moderators only._
johnpbloch/wordpress-core dependency to require-dev in composer.json.Thanks @ataylorme
That wordpress-core package is needed for visual regression testing.
So i think we can move it to required-dev only.
Most helpful comment
Thanks @ataylorme
That wordpress-core package is needed for visual regression testing.
So i think we can move it to
required-devonly.