Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: [composer] duplicate vendor Date: Sun, 13 Nov 2022 14:56:30 +0100 Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 91cJ6VC7zoz6FF/o8X2AGwQ/OlFxU5N18A6zjp/EnBn7E3E2S3 Cancel-Lock: sha1:lMVaI/4Ejzga5L4G/6AAdhoxDGc= Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.php:19155 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