mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

15K
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.”

Major 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...
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.