From 50cf9ec64fdf7e6ed00661717e55545ac709e341 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Wed, 14 Sep 2022 07:38:54 -0700 Subject: [PATCH] Clone internal repositories for easier modifications. See WordPress/wporg-repo-tools#24 --- composer.json | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 8cd95a708..6c1bf078d 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,10 @@ "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, "composer/installers": true + }, + "preferred-install": { + "wordpress-meta/*": "source", + "wporg/*": "source" } }, "extra": { @@ -70,16 +74,27 @@ "url": "https://meta.svn.wordpress.org/sites/", "reference": "trunk/wordpress.org/public_html/wp-content/plugins/handbook/" } + }, + { + "name": "wporg/wporg-repo-tools", + "version": "dev-trunk", + "source": { + "type": "git", + "url": "https://github.com/WordPress/wporg-repo-tools.git", + "reference": "trunk" + } + }, + { + "name": "wporg/wporg-mu-plugins", + "type": "wordpress-muplugin", + "version": "dev-build", + "source": { + "type": "git", + "url": "https://github.com/WordPress/wporg-mu-plugins.git", + "reference": "build" + } } ] - }, - { - "type": "vcs", - "url": "git@github.com:WordPress/wporg-repo-tools.git" - }, - { - "type": "vcs", - "url": "git@github.com:WordPress/wporg-mu-plugins.git" } ], "require-dev": {