Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer install on existing project with customization overwrites them #175

Open
johnbburg opened this issue Aug 3, 2021 · 0 comments
Open

Comments

@johnbburg
Copy link

Perhaps I am doing this wrong, but I have an installation of pattern-lab, and we've added some new functions in source/_twig-components/functions/. However, when installing from scratch, (this can be recreated just by deleting the /vendor directory), pattern-labs postInstallCmd script will remove these customizations. For example:

the path ./source/_twig-components/functions already exists. merge or replace with the contents of pattern-lab/drupal-twig-components package? M/r > 
contents of ./source/_twig-components/functions have been replaced by the package's content...

It seems the the default (M)erge option shouldn't do this. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant