Zoltan Kochan
@kochan.io
2K followers 180 following 120 posts
Developer, maker of @pnpm.io Works on dependency management at bit.dev
Posts Media Videos Starter Packs
kochan.io
I am not making any promises about the libraries. The major version is the major version of pnpm cli x100. So a library can have up to 99 breaking changes till the next pnpm cli comes out
Reposted by Zoltan Kochan
socket.dev
After recent npm supply chain attacks, @pnpm.io 10.16 adds a setting for delayed dependency updates.

Tools like Taze and npm-check-updates are testing similar “maturity” options, hinting at a cautious new trend in #JavaScript package management.

socket.dev/blog/pnpm-10... #NodeJS
pnpm 10.16 Adds New Setting for Delayed Dependency Updates -...
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
socket.dev
kochan.io
Wow, Hollywood is so creative
kochan.io
We need a versioning system that consists of 4 numbers, where the first one is used for marketing purposes
kochan.io
There were no peer dependencies in 1985
kochan.io
That would be the logo
kochan.io
I feel like pnpm will eventually grow from being a "npm alternative" to being a "nix alternative"

but "pnix" doesn't sound appropriate 😂
kochan.io
With the changes to the lockfile format and the new types of fetchers that were added to pnpm, now it is really easy to make pnpm an installer for anything

bsky.app/profile/pnpm...
pnpm.io
pnpm @pnpm.io · Jul 31
pnpm v10.14 is shipped with support for runtime engine installation. Node, Deno, and Bun are supported.

pnpm.io/blog/release...
Reposted by Zoltan Kochan
alexstrook.bsky.social
when you open a service you've been using for a decade only to find it out it caught the virus
Fake website servic welcome page. text reads:

"Your favorite tool is now ruined by AI"
"you might not like it but shareholders love it"
Reposted by Zoltan Kochan
pnpm.io
pnpm @pnpm.io · Jul 3
The pnpm repository has 32K stars!
A star, the number 32000 and the pnpm logo
kochan.io
I am not sure we can call it a cache as these are files that are actually executed during runtime. We don't call the files inside node_modules "cache".
kochan.io
I am thinking about a better name for the pnpm "virtual store". Which is where the dependency is written with its unique dependency graph. I couldn't find any prior art to this. Maybe "Package Context" could work. Or "fully resolved package store" but that's long.
kochan.io
Many packages request funding by printing message with postinstall scripts. What if instead of requesting funding we would promote sponsors? After all, we want companies to sponsor open source projects as they are the ones that make profit from it.
kochan.io
A lot of packages use postinstall scripts for printing out messages about funding. Could there be a better way to do this? pnpm doesn't even print the outputs from these scripts.
kochan.io
Talking about pnpm and Yarn
kochan.io
You can try it. You just need to set the ci setting to false to make pnpm think it isn’t executed in
CI environment.
kochan.io
Yeah, what you suggest could work. But the issue is that you can't really have a big centralized cache like this in CI as in that case you'd expose someone's private packages. I guess you could have this cache per organization but that's more resources and reduced speed benefit
kochan.io
I am happy you liked it
Reposted by Zoltan Kochan
mael.dev
@kochan.io's talk about configDependencies made me realize we forgot to document remote plugins on the Yarn website 🙈
Reposted by Zoltan Kochan
mael.dev
Package manager summit with @kochan.io at #JSNation !
Me and Zoltan
Reposted by Zoltan Kochan
stoychev.dev
Ton of npm libs use github.com/cosmiconfig/... to load their config files. But, today I learned, if nodejs dies, the temporarily file created by cosmiconfig remains 🤷‍♂️

I fixed this locally in 5 mins thanks to the amazing patch ability of @pnpm.io (kudos @kochan.io!) and the LLMs era of code editors
GitHub - cosmiconfig/cosmiconfig: Find and load configuration from a package.json property, rc file, TypeScript module, and more!
Find and load configuration from a package.json property, rc file, TypeScript module, and more! - cosmiconfig/cosmiconfig
github.com