Skip to content

Link specified packages automatically from the extra section in composer.json  #78

@Andrii-Antoniuk

Description

@Andrii-Antoniuk

Hello!

First of all - thank you for creating & maintaining this amazing package! 🥳

I'd like to keep the linked-packages.json inside the version control system, but I don't want to add to vcs any files inside vendor folder (as during installation if hash mismatches it will change files anyways, AFAIK).

For this I believe that $storageFile can be defined as following:

 $storageFile = dirname($this->composer->getConfig()->get('vendor-dir')) . DIRECTORY_SEPARATOR . 'linked-packages.json';

Was this ever considered or are there any reasons why not to? Could be a config if needed, or just keep it there.
This will help with automation of setup, since 0 extra steps would be needed to re-link packages on every environment/local setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions