drupalcommerce / project-base

Provides a Composer template for a new Commerce 2.x project
GNU General Public License v2.0
54 stars 28 forks source link

Reset file development.services.yml #30

Open dyaliCode opened 4 years ago

dyaliCode commented 4 years ago

After install any module with composer, the file development.services.yml reseted

how we can disabled that ??

zsuffad commented 3 years ago

I'm using this in my composer.json extra section to prevent the README.txt and development.services.yml resets on module installs. (the file-mapping part..)

"extra": {
    ...
    "drupal-scaffold": {
        "locations": {
            "web-root": "web/"
            },
        "file-mapping": {
                "[web-root]/modules/README.txt": false,
                "[web-root]/profiles/README.txt": false,
                "[web-root]/themes/README.txt": false,
                "[web-root]/sites/README.txt": false,
                "[web-root]/README.md": false,
                "[web-root]/INSTALL.txt": false,
                "[web-root]/sites/development.services.yml": false
            }
        },