From 1bad7a8cca7a00fd3f07c8242c76dfea56e14fd1 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sun, 15 Feb 2026 15:27:36 -0600 Subject: [PATCH] fix: allow matrix-sdk-crypto-nodejs build scripts for native binary pnpm 10 blocks build scripts by default. The matrix-bot-sdk requires @matrix-org/matrix-sdk-crypto-nodejs which downloads a platform-specific native binary via postinstall. Added to onlyBuiltDependencies so the Alpine (musl) binary gets installed in Docker builds. Co-Authored-By: Claude Opus 4.6 --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index e9cc60a..af0f15b 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,12 @@ "@opentelemetry/resources": "^1.30.1" }, "pnpm": { + "onlyBuiltDependencies": [ + "@matrix-org/matrix-sdk-crypto-nodejs", + "@prisma/client", + "@prisma/engines", + "prisma" + ], "overrides": { "@isaacs/brace-expansion": ">=5.0.1", "form-data": ">=2.5.4",