Re: [composer] duplicate vendor
Arno Welzel <[email protected]>
| Newsgroups | comp.lang.php |
|---|---|
| Message-ID | <[email protected]> |
paul, 2022-11-12 11:38: > I state that my question is not mainly about php, but composer. > > Here's the question ... > > + cat .config/composer/config.json [...] > + cat a/composer.json [...] > + cat b/composer.json [...] > + cat c/composer.json [...] > As you can see, only the *test/b* package requires the *test/c* package. > However, as you will see below, the *vendor/test/c* directory I find it > both under directory *b*, and under the directory *a*. Composer is not intended to be used this way. Usually you have exactly *one* composer.json in your project and not multiple ones. [...] > -----BEGIN PGP MESSAGE----- Why do you add PGP encrypted messages to your posts? -- Arno Welzel https://arnowelzel.de