Skip to content

composer install and composer require should not rewrite .htaccess and other files #556

Closed
@tinamrak

Description

@tinamrak

I've been using this project for all my Drupal sites and I noticed one thing that bothers me.

When requiring new modules locally or running composer install on production (I use git for deployment) the following files will always be overwritten.

Screenshot

I understand that this is done on composer create-project and composer update but why when requiring new modules?

Is there any way to prevent this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions