You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly when installing bower-asset/masonry vs npm-asset/tmasonry_layout (path override required for npm), is also installed additional dependencies via npm as opposed to bower that did not seem to?
My question is why does composer-installers-extender seem to install additional bower dependencies by default when installing via npm and is there away to disable this behaviour as they do not seem to be actually required in this case?
The text was updated successfully, but these errors were encountered:
Installing bower-asset/masonry (v4.2.2): Extracting archive
Generating autoload files
88 packages you are using are looking for funding.
Use the composer fund command to find out more!
phpstan/extension-installer: Extensions installed
No security vulnerability advisories found
Not sure if there is a way to disable this behaviour as I really only want the actual package and not it dependencies?
I can see in bower.json we have the following declared:
This all seems to correlate with what is installed. How can I disable this behaviour as non of these dependencies are actually required when installing via composer afaict
I have noticed that on occasion additional unused dependencies are installed when using composer.
e.g. when installing npm-asset/imagesloaded
I notice https://github.com/desandro/imagesloaded/blob/master/bower.json#L6C27-L6C27 we have a ev-emitter dependency required.
When installing with:
composer require 'npm-asset/imagesloaded:^4.1.4'
I see that composer also installs ev-emitter library, although, in this case, this looks to be bundled with imagesloaded anyway
https://github.com/desandro/imagesloaded/blob/92de29b5a9a416bebeb6bb58a1882af8c5f76931/imagesloaded.pkgd.js#L8
Interestingly when installing bower-asset/masonry vs npm-asset/tmasonry_layout (path override required for npm), is also installed additional dependencies via npm as opposed to bower that did not seem to?
see https://asset-packagist.org/package/search?query=masonry&platform=bower%2Cnpm v4.2.2.
My question is why does composer-installers-extender seem to install additional bower dependencies by default when installing via npm and is there away to disable this behaviour as they do not seem to be actually required in this case?
The text was updated successfully, but these errors were encountered: