DEV Community

Discussion on: He Commits Vendor! ๐Ÿ˜ฑ

Collapse
 
yo profile image
Yogi

This will increase the size of the repo!

Collapse
 
itsdarrylnorris profile image
Darryl Norris

This could potentially become a very big problem depends on how your app is structured. For instance, if you have a monolithic app that has, it has decoupled components (modules or whatever you want to call it), and each of them has theirs on vendor directory, this will make your app huge.

This brings problems with IDE indexing taking forever, and even downloading the repo.

Collapse
 
yo profile image
Yogi

Yeah exactly of course it will take too much time to index in my IDEs.

Collapse
 
cess11 profile image
PNS11

It will have to be indexed and downloaded regardless of whether it's from the repo or some web storage.

Try ripgrep or fzf, they're pretty great at fast searching.

Collapse
 
bgadrian profile image
Adrian B.G.

Maybe this way devs will realize how much code they really have in their app.

Probably dead code, untested code and so on. Package managers make things so easy to throw away performance, lower level concerns and build sizes.