yii-dev-tool icon indicating copy to clipboard operation
yii-dev-tool copied to clipboard

Unexpected behaviour while adding new config

Open xepozz opened this issue 4 years ago • 3 comments

I tried to setup new package to app-api and I had a problem: Composer don't read actual file composer.json from vendor folder, it cached them in vendor/composer/installed.json instead. Because of this behaviour new package won't be added to config folder.

Composer version 2.0.8 2020-12-03 17:20:38 yii-dev-tool: 466ca89ee96dfe24e037f4d0a870d00e3d8eaf28 (commit hash)

xepozz avatar Jun 13 '21 23:06 xepozz

  1. Do yii-dev update
  2. composer update happens.
  1. Config plugin is triggered. It is using configs from what's obtained from composer. @xepozz expects linked packages to be used instead.
  2. Packages are linked.

samdark avatar Jun 15 '21 12:06 samdark

That's very unlikely that could be fixed within dev tool.

samdark avatar Jun 15 '21 12:06 samdark

But I agree that changing this behavior to more expected would be awesome.

samdark avatar Jun 16 '21 13:06 samdark