project-base icon indicating copy to clipboard operation
project-base copied to clipboard

Reset file development.services.yml

Open dyaliCode opened this issue 6 years ago • 1 comments

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

how we can disabled that ??

dyaliCode avatar Feb 19 '20 18:02 dyaliCode

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
            }
        },

zsuffad avatar Jul 22 '21 11:07 zsuffad