From 5f3a343bb1ce19c6e3d8b19c96f8a57b837e44d5 Mon Sep 17 00:00:00 2001 From: chenhang Date: Wed, 10 Jun 2026 17:28:47 +0800 Subject: [PATCH] chore: allow pnpm builds for sharp and unrs-resolver Add allowBuilds configuration for sharp and unrs-resolver packages to permit their postinstall scripts to run, and ignore the local .pnpm-store directory. --- .gitignore | 2 ++ pnpm-workspace.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 91ddd87a..81173497 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ archives/ # typescript *.tsbuildinfo next-env.d.ts + +.pnpm-store/ diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 581a9d5b..2179a04f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,6 @@ +allowBuilds: + sharp: true + unrs-resolver: true ignoredBuiltDependencies: - sharp - unrs-resolver