semver icon indicating copy to clipboard operation
semver copied to clipboard

Question about repo size

Open matheo opened this issue 3 years ago • 1 comments

Hi there! thanks for this plugin, I'm just wondering if it's really required to be this heavy I just noticed that it weights 150Mb while cloning it and I'm not sure if something should go to .gitignore Thanks in advance!

matheo avatar Jun 10 '22 16:06 matheo

Hi @matheo , yeah since we introduced Yarn 3 the node_modules cache is stored in the repo for fast installs but I have to admit it has several disadvantages.

The good thing is that we use renovate with automerge + automated Nx migrations in the CI so we don't maintain dependencies by hand, when we pull main the operation takes longer because of the cache but node_modules install is faster.

edbzn avatar Jun 10 '22 16:06 edbzn