Re:pnpm: Fast, disk space efficient package manager for Java...
by lelandfe on Tuesday April 05, 2022 @03:49PM
(#30924050)
Yarn's workspaces provide some cool benefits to monorepos which AFAIK npm hasn't matched. You can get there with Lerna + npm, though.
Re:pnpm: Fast, disk space efficient package manager for Java...
by citrons on Tuesday April 05, 2022 @03:56PM
(#30924134)
I have so far had very good npm workspace experience. Just define "workspaces" property in package.json and your off.
https://docs.npmjs.com/cli/v8/using-npm/workspaces
Right now only pain-point with npm is that "npm link" can't be forced to install peer dependencies so I'm unable to easily test typesscript built libraries within other projects.
I tried pnpm and it didn't just work, so I gave up. I would revisit it, but npm works.
These days I don't really see a reason to use yarn (but would like to hear them).