News for hackers. Stuff that matters.
Re:pnpm: Fast, disk space efficient package manager for Java... by aabbcc1241 on Tuesday April 05, 2022 @08:49PM (#30927060)
I have custom bash scripts named npm and yarn, they invoke pnpm for installing and uninstalling packages, and fallback on other commands (e.g. audit).

This way work well with other tools (e.g. I can force create-react-app to install packages with pnpm)

Re:pnpm: Fast, disk space efficient package manager for Java... by brainbag on Tuesday April 05, 2022 @10:35PM (#30927849)
There's an npm package "narn" that uses commands akin to yarn's but will automatically use whatever package manager the current folder(/parent) is using. I almost never type npm or yarn or pnpm, just narn everywhere. Really handy.
Re:pnpm: Fast, disk space efficient package manager for Java... by aabbcc1241 on Tuesday April 12, 2022 @12:37PM (#31004962)
I added the script to PATH, so other tools that hard-coded to use yarn or npm (e.g. create-react-app) are hijacked to use pnpm when installing packages