From fb6a43140e1c71476d072125edb2eb6f79e2008d Mon Sep 17 00:00:00 2001 From: Yashas Gunderia <68075205+ychampion@users.noreply.github.com> Date: Mon, 13 Jul 2026 20:05:24 +0530 Subject: [PATCH] fix(ui): restore pnpm 11 project configuration (#10395) Co-authored-by: ychampion --- ui/.npmrc | 5 ----- ui/package.json | 12 ------------ ui/pnpm-lock.yaml | 2 +- ui/pnpm-workspace.yaml | 17 +++++++++++++++++ 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 ui/.npmrc diff --git a/ui/.npmrc b/ui/.npmrc deleted file mode 100644 index 8478f8871..000000000 --- a/ui/.npmrc +++ /dev/null @@ -1,5 +0,0 @@ -registry=https://registry.npmjs.org/ -prefer-offline=true -node-linker=hoisted -supportedArchitectures.os=current,linux,darwin,win32 -supportedArchitectures.cpu=current,x64,arm64 diff --git a/ui/package.json b/ui/package.json index 361b903fb..87b09701c 100644 --- a/ui/package.json +++ b/ui/package.json @@ -13,17 +13,5 @@ }, "devDependencies": { "@changesets/cli": "^2.27.1" - }, - "pnpm": { - "overrides": { - "react": "^19.2.4", - "react-dom": "^19.2.4" - }, - "onlyBuiltDependencies": [ - "@modelcontextprotocol/ext-apps", - "electron", - "electron-winstaller", - "esbuild" - ] } } diff --git a/ui/pnpm-lock.yaml b/ui/pnpm-lock.yaml index ae5cc69a3..d3288bcd5 100644 --- a/ui/pnpm-lock.yaml +++ b/ui/pnpm-lock.yaml @@ -812,7 +812,7 @@ packages: engines: {node: '>=14'} '@electron/node-gyp@https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2': - resolution: {tarball: https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2} + resolution: {gitHosted: true, tarball: https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2} version: 10.2.0-electron.1 engines: {node: '>=12.13.0'} hasBin: true diff --git a/ui/pnpm-workspace.yaml b/ui/pnpm-workspace.yaml index c69463507..8d0f6fcfc 100644 --- a/ui/pnpm-workspace.yaml +++ b/ui/pnpm-workspace.yaml @@ -3,3 +3,20 @@ packages: - 'text' - 'desktop' - 'goose-binary/*' + +registry: https://registry.npmjs.org/ +preferOffline: true +nodeLinker: hoisted +supportedArchitectures: + os: [current, linux, darwin, win32] + cpu: [current, x64, arm64] +overrides: + react: ^19.2.4 + react-dom: ^19.2.4 +allowBuilds: + '@modelcontextprotocol/ext-apps': true + electron: true + electron-winstaller: true + esbuild: true +# Electron Forge resolves @electron/node-gyp from git. +blockExoticSubdeps: false