
Zoltan Kochan
2.7K posts

Zoltan Kochan
@zkochan
Developer, maker of @pnpmjs Works on dependency management at @bitdev_ #javascript #nodejs I don't endorse memecoins.
Katılım Ekim 2010
760 Takip Edilen4.9K Takipçiler

@pelaseyed @rugbist_ I am not sure what that means. Like "pnpm install" would fail if there is no lockfile? That would be a big deviation from how other node package managers work.
English

@anthonysheww @stanzillaz @pnpmjs @jdxcode By the way, I had this idea for many years but I have implemented it during the Vercel hackathon last year.
English

Check out how @pnpmjs solves npm dependencies for Git worktrees with zero configuration.
pnpm.io/next/git-workt…
Colin Armstrong@colinarms
I somehow ended up with 1TB worth of node_modules in my @conductor_build git worktree folders because every fresh worktree does a `yarn install` What's the solution here? Yarn hardlinks, yarn PnP, move to pnpm, etc?
English

@alex__bit Hrrm, that sets the version to the latest RC and changed all my single quotes to double quotes in the workspace.yaml
English

@zkochan 45469 here, joined January 2009. Still always GitHub, but obviously there’s been a steep copiloted decline.
Hillsborough, CA 🇺🇸 English

@clentfort Every worktree is a siblink directory. Here are the commands I use to clone a repo into such directory structure: #setting-it-up" target="_blank" rel="nofollow noopener">pnpm.io/11.x/git-workt…
English

@zkochan Thanks for sharing, the helpers seem useful. Can you explain a bit more about that common dir setup? That's a new concept for me. I'm working on some tooling to also set up WTs, so learning more here would be nice.
English

Tried using Git worktrees for developing the pnpm Rust rewrite, similarly to how I use it in the pnpm/pnpm repository and got no space left on my computer. Here's what works perfrectly with typescript+pnpm: pnpm.io/11.x/git-workt…
English


@Anoesj If there are compatibility issues due to multiple versions shouldn't they be peer dependencies? There is a PR about auto-dedupe but I am not sure about that change. Maybe as opt-in is ok but it will probably slow down resolution.
English

@zkochan Hey! I'm wondering, would it be possible to configure pnpm to auto-dedupe transitive deps to prevent compatibility issues? E.g. I have multiple packages installing postcss, but every time I update deps, I have to dedupe to prevent having multiple versions of postcss.
English

github.com/pnpm/pacquet
I was quite literally thinking about a @pnpmjs rust rewrite today, wtf
English

@zkochan @yagiznizipli @pnpmjs Would be very happy to help maintain on this. As you know, we have a whole pnpm lockfile parser re-implementation that I’d be more than happy to adjust to put into pacquet (and then use that crate in Turborepo 😄).
English

I was able to make Pacquet perform better than @pnpmjs. Pacquet is a reimplementation of pnpm in Rust created by @yagiznizipli. More details later.
English

@kettanaito @pnpmjs @yagiznizipli No architectural change. It is exactly the same algorithm that run in pnpm, just in Rust. I am not an expert in Rust. I used my OSS subscription provided by @claudeai
English

@zkochan @pnpmjs @yagiznizipli Is it some architectural change that makes it faster or Rust yields better file system reads/writes, that kind of stuff?
English

@kettanaito @pnpmjs @yagiznizipli I am only testing it with two scenarios at the moment. Up to date lockfile with cold cache and hot cache. With cold cache it is twice faster, with hot cache it is 23% faster.
English





