added hyperdb, to show how a drop-in plugin would work
... | @@ -23,11 +23,14 @@ | ... | @@ -23,11 +23,14 @@ |
"johnpbloch/wordpress": "^5.4", | "johnpbloch/wordpress": "^5.4", | ||
"bjornjohansen/wplang": "^0.1.1", | "bjornjohansen/wplang": "^0.1.1", | ||
"lkwdwrd/wp-muplugin-loader": "^1.0", | "lkwdwrd/wp-muplugin-loader": "^1.0", | ||
"wpackagist-theme/minimalism": "1.0.3" | "wpackagist-theme/minimalism": "1.0.3", | ||
"koodimonni/composer-dropin-installer": "^1.2", | |||
"wpackagist-plugin/hyperdb": "^1.6" | |||
}, | }, | ||
"extra": { | "extra": { | ||
"wordpress-install-dir": "web/wp", | "wordpress-install-dir": "web/wp", | ||
"installer-paths": { | "installer-paths": { | ||
"vendor/{$name}": ["wpackagist-plugin/hyperdb"], | |||
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"], | "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"], | ||
"web/app/plugins/{$name}/": ["type:wordpress-plugin"], | "web/app/plugins/{$name}/": ["type:wordpress-plugin"], | ||
"web/app/themes/{$name}/": ["type:wordpress-theme"] | "web/app/themes/{$name}/": ["type:wordpress-theme"] | ||
... | @@ -37,6 +40,9 @@ | ... | @@ -37,6 +40,9 @@ |
"patches-file": "composer.patches.json", | "patches-file": "composer.patches.json", | ||
"force-mu": [ | "force-mu": [ | ||
"disable-wordpress-updates" | "disable-wordpress-updates" | ||
] | ], | ||
"dropin-paths": { | |||
"web/app": ["package:wpackagist-plugin/hyperdb:db.php"] | |||
} | |||
} | } | ||
} | } |
patches/hyperdb.patch
0 → 100644
Please register or sign in to comment