From be8804d60a23bf833ea03493feea08e2eb7b8ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Tue, 16 Dec 2025 12:22:12 +0100 Subject: [PATCH] Use node-linker=hoisted for electron-builder compatibility Replace shamefully-hoist with node-linker=hoisted to create a flat node_modules structure. Maybe fixes electron-builder's code signing which couldn't find @electron/osx-sign through pnpm's symlinked structure? --- .npmrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 680fc44933f..ef80baad89a 100644 --- a/.npmrc +++ b/.npmrc @@ -3,5 +3,5 @@ save-exact=true # This applies to all npm scripts in this repository. node-options=--max-old-space-size=8192 -# Hoist dependencies for compatibility with electron-builder and phantom dependencies -shamefully-hoist=true +# Use flat node_modules structure for compatibility with electron-builder +node-linker=hoisted