In pnpm v10.0.0-alpha.4 you may opt-in to have your dependencies automatically installed before running scripts with "pnpm run".
Set the "verify-deps-before-run" setting to "install".
I had a conversation recently with someone who believed managing Node.js globally with @pnpmjs is a bad idea, but they said managing it locally is great.
In any case, I want to leverage this feature of pnpm more, like allowing CLI tools to tell pnpm which JS runtime to use.
There is amazing `pnpm deploy` command in @pnpmjs.
It copies your project (with monorepo support) to dist/ removing devDependencies to reduce security risks. Then you copy dist/ to Docker image.
pnpm.io/cli/deploy
Here is how I use it:
github.com/hplush/slowreader…
Get ready for the most epic conference on monorepos, developer tooling, and CI. Learn from the creators, explore how companies manage massive monorepos, and hang out with passionate devtools innovators!
🗓️ Oct 7th, 2024
📍 Mountain View, CA
🔥 Get your tickets!
pnpm 9.8 is out with a new command: pnpm self-update
This command updates pnpm. If you use the "packageManager" field in your project, it updates pnpm in that field.
github.com/pnpm/pnpm/release…
pnpm v9.7 is out!
If you want pnpm to switch between versions, set the "manage-package-manager-versions" setting to "true"
github.com/pnpm/pnpm/release…
This month, we continue to support @pnpmjs through our FOSS fund!
🤩 We use it widely across all Prisma JS/TS projects, and we believe it’s by far THE most painless way to deal with npm.
Go explore, star, and support their work ⭐️
🔗 github.com/pnpm/pnpm