Skip to content

Renaming vendor breaks composer install #519

Open
@MCFreddie777

Description

Steps to reproduce:

  1. Use path mapping "web/app/plugins/{$name}/": ["type:wordpress-plugin"]
  2. Change package name e.g. from a/my-package to b/my-package
  3. composer remove a/my-package && composer require b/my-package
  4. Run composer install

What happens:
Composer uninstalls a/my-package, then installs b/my-package, but as a last step, it removes my-package directory (therefore removes the newly installed one)`.

Expected behaviour:
Old package will be removed, and new plugin will be installed.

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