RobLoach / component-installer

Install Web Components through Composer
https://asset-packagist.org/
Other
280 stars 35 forks source link

Packages Without Composer Support README section #64

Open jbarreiros opened 10 years ago

jbarreiros commented 10 years ago

Testing out the html5shiv example, and when I run composer update, I noticed that it is being added to "/vendor/afarkas/html5shiv". I was expecting it to get added to "/components/html5shiv". I accidentally set extra/component/scripts to "dist/html5shiv.min.js". Changing it to "dist/html5shiv.js" made it appear in "/components/html5shiv" as expected.

Additionally Still curious, is it by design that packages installed through components exist in both "/vendor" and "/components"?

RobLoach commented 9 years ago

Still curious, is it by design that packages installed through components exist in both "/vendor" and "/components"?

Currently it installs the package into vendor, and then copies the files to the components directory. Do you think symlinks would be better? What do you see as being the best design?