packages "cache" and symlink all the projects?

github logo ・1 min read

Hi everyone! I started to think about that question two months ago as I'm working in different projects and my 256Gb SSD is running out of space.

I know I can use npm link, but I'm looking for a package manager that can install a package only in one folder and then resolve required packages as symlinks into the working directory. E.g. npm-symlink install --save-dev electron

What do you think? Would be a good idea? I will give it a try with python.

twitter logo DISCUSS (2)
markdown guide
 

If I understand you right, I think that's what pnpm is meant to do?

 

That is exactly what I was looking for! I couldn't find it. Thanks Rob!

Classic DEV Post from Mar 20

What does a dev's personal website need to include?

Brian Mayo profile image
autodidact dev, open source enthusiast and photographer. I always try to improve/hack everything.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️

(There is also a pink mode)