From b504129f5a41dd9aca2151d1eb69ef7e7075dbab Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 22:54:38 +0000 Subject: [PATCH] chore: prepare pnpm-workspace.yaml for pnpm 12 pnpm 12 ignores onlyBuiltDependencies and fails the install with ERR_PNPM_IGNORED_BUILDS for any build script nobody has ruled on, so move the list to allowBuilds, which pnpm 10.34 also reads. pnpm 12 also rejects every lockfile entry published less than a day ago. Set minimumReleaseAge to the same day so lockfile updates made on pnpm 10 resolve older versions and do not bring such an entry in. Co-Authored-By: Claude Opus 5.5 --- pnpm-workspace.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c8dc13f..2355b5d 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,9 @@ -onlyBuiltDependencies: - - dtrace-provider +# pnpm 12 reads allowBuilds and ignores onlyBuiltDependencies. pnpm 10.34 reads +# allowBuilds as well, so this works before and after the pnpm 12 update. +allowBuilds: + dtrace-provider: true + "@parcel/watcher": false +# Resolve only versions published at least one day ago. pnpm 12 rejects any +# lockfile entry newer than that, so lockfile updates made on pnpm 10 must not +# bring one in. +minimumReleaseAge: 1440