A composer plugin for keeping specified files and directories when installing/updating new composer packages. Can be used to supported nested packages.
28
stars
28
forks
source link
Plugin fails to bring the custom code back to the webroot sometimes #38
This is what I’ve just posted in our local dev-list. Has anyone else dealt with the issue and is there some solution available?
A note about developing Drupal 7 Composer projects locally - there’s a high risk you’re losing your uncommitted changes in the custom codebase if performing lando rebuild or composer * tasks because of how "drupal-composer/preserve-paths" plugin works. Sometimes it fails to bring back the custom code to the webroot and only way to resolve this is git reset --hard. That of course means all the code changes will be gone. So to reduce that risk please stash or stage your precious work before rebuilding!
This is what I’ve just posted in our local dev-list. Has anyone else dealt with the issue and is there some solution available?