components / jquery

Shim repository for jQuery.

Home Page:http://jquery.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When using composer 2 copies are created

chirgjn opened this issue · comments

when I use composer to install jQuery using this package, 2 copies are created of the components folder one in the project root & the other in the vendor folder.

Please fix this.

The component-installer copies jQuery into a web directory. I just removed its dependency across all components. Feel free to stick it in your root composer.json if you want the web dir to be set up, otherwise just update to -dev components/jquery.

This too was an issue for me, but AFTER you made this change. Unbeknownst, the script stopped copying the files to my desired destination. I was dependent on component/jquery to have that dependency to the component-installer. I see that you've taken the dependency off all of the components, so is it now best-practices to only have the installer in the root composer.json?

As you recommended above, I added the dependency to my root composer.json, and everything started working as expected.

Thanks Rob!