Last active
December 12, 2019 12:00
-
-
Save svandragt/62c146085c66b1b2570ce1994d051fec to your computer and use it in GitHub Desktop.
Replace plugin with non-packagist composer version, in custom location.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "https://github.com/wp-shortcake/shortcake" | |
}, | |
], | |
"require": { | |
"oomphinc/composer-installers-extender": "^1.1", | |
"fusioneng/shortcake": "dev-master#0.7.4" | |
}, | |
"extra": { | |
"installer-types" : [ | |
"library", | |
"phpcodesniffer-standard", | |
"project" | |
], | |
"installer-paths": { | |
"plugins/shortcode-ui": [ | |
"fusioneng/shortcake" | |
], | |
"plugins/{$name}": [ | |
"type:wordpress-plugin" | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The extras > installer-paths > plugins/shortcode-ui key is only required for custom installation (by default this installs insto plugins/shortcake. | |
This plugin is not available from packagist thus a VCS repository tag is tracked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm plugins/shortcode-ui -rf | |
composer update fusionend/shortcode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment