From cf7e8a5d3f1af6ecdf66fe0deca0871abb7cd93c Mon Sep 17 00:00:00 2001 From: Kevin Riehl Date: Wed, 27 May 2026 14:28:07 -0700 Subject: [PATCH] Move pnpm onlyBuiltDependencies into pnpm-workspace.yaml pnpm 10.x no longer reads the "pnpm" key in package.json and now hard-fails the install with ERR_PNPM_IGNORED_BUILDS when build scripts are ignored. Migrate the existing allowlist to pnpm-workspace.yaml and add msw (pulled in transitively by vitest 4.x). Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 9 --------- pnpm-workspace.yaml | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 8e364e0..6f33c80 100644 --- a/package.json +++ b/package.json @@ -16,15 +16,6 @@ "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"", "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\"" }, - "pnpm": { - "onlyBuiltDependencies": [ - "@nestjs/core", - "@prisma/client", - "@prisma/engines", - "prisma", - "unrs-resolver" - ] - }, "devDependencies": { "prettier": "3.8.2" } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ecd858f..21758c4 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,11 @@ packages: - "tehriehlbudget-frontend" - "tehriehlbudget-backend" + +onlyBuiltDependencies: + - "@nestjs/core" + - "@prisma/client" + - "@prisma/engines" + - "msw" + - "prisma" + - "unrs-resolver"