packages "cache" and symlink all the projects?
protium

protium @protium

About: autodidact dev, open source enthusiast and photographer. I want to either hack or build something.

Location:
Munich, Germany
Joined:
Feb 12, 2018

packages "cache" and symlink all the projects?

Publish Date: Oct 2 '18
8 2

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.

Comments 2 total

  • Rob Hoelz
    Rob HoelzOct 2, 2018

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

    • protium
      protiumOct 2, 2018

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

Add comment