Skip to content
loading...

packages "cache" and symlink all the projects?

protium profile image Brian Mayo 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)
Discussion
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 Jul 30 '19

PublishTo.Dev: Scheduling article publishing on dev.to

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