mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#pnpm

0 posts0 participants0 posts today

Anyone know how to fix ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL errors?

I have a build script that ends up outputting a build/package.json which is a copy of the parent directories package.json — pnpm seems to want to execute that too.

My pnpm-workspaces.yaml file…

OH!!

OH FUCKING WAIT!!

it's pnpm-workspace.yaml not pnpm-workspaces.yaml 🤦‍♀️

@pnpm 10 is out: github.com/pnpm/pnpm/releases/

Interesting change: “Lifecycle scripts of dependencies are not executed during installation by default! This is a breaking change aimed at increasing security. In order to allow lifecycle scripts of specific dependencies, they should be listed in the pnpm.onlyBuiltDependencies field of package.json.”

GitHubRelease pnpm 10 · pnpm/pnpmMajor Changes Lifecycle scripts of dependencies are not executed during installation by default! This is a breaking change aimed at increasing security. In order to allow lifecycle scripts of spe...

Okay so i got #Headplane running manually (non-nix) on my #NixOS host, but i fail to write a working package flake.
Why oh why does it have to be a #PNPM application. The wiki does not help much either.
Did any of you know of an app where i can get inspired? Or has done it themselves?
I am so close.

Replied in thread

@deadparrot That was a shitty starter repo! Monorepo with TS, instant HMR and <1m build time is state-of-the-art.

We've got to take responsibility for our tools. I was just part of an effort to migrate an app with 25 microfrontends from CRA + Yarn Classic + Jest to #Rsbuild + #pnpm + #vitest. It took a couple of weeks, while continuing work on features.

There's a lot of shitty legacy tooling, so we need to teach juniors the good stuff, and tell mgmt to smoke it and eat the costs of upgrading.

Package managers:

I’m wondering whether to give pnpm a go, which seems simple enough to do.

But, that’s likely to mean updating _all_ projects at some point, as I wouldn’t want to recall what manager I use where, or install extra tooling just for managing package managers.

The question: Where does pnpm’s better performance show exactly? I understand in installing deps, yet that’s not a recurring activity for most of my projects.

Would pnpm solve a problem then?

And now open source projects start to inject sponsor logos into the changelog/ release notes.

I get why they are doing it. Especially given the complex discussions around the viability and sustainability of open source.

But the release notes are really the worst place for advertisements, I feel.

I'm looking at you, #pnpm