Move pnpm onlyBuiltDependencies into pnpm-workspace.yaml
CI / secrets-scan (push) Successful in 6s
CI / sast (push) Successful in 14s
CI / vuln-scan (push) Successful in 16s
CI / lint (push) Failing after 27s
CI / test (push) Failing after 28s
CI / build-images (push) Has been skipped
CI / image-scan (push) Has been skipped
CI / push (push) Has been skipped

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) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 14:28:07 -07:00
parent a8a47e38c1
commit cf7e8a5d3f
2 changed files with 8 additions and 9 deletions
-9
View File
@@ -16,15 +16,6 @@
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{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": { "devDependencies": {
"prettier": "3.8.2" "prettier": "3.8.2"
} }
+8
View File
@@ -1,3 +1,11 @@
packages: packages:
- "tehriehlbudget-frontend" - "tehriehlbudget-frontend"
- "tehriehlbudget-backend" - "tehriehlbudget-backend"
onlyBuiltDependencies:
- "@nestjs/core"
- "@prisma/client"
- "@prisma/engines"
- "msw"
- "prisma"
- "unrs-resolver"