From 1cdfc6934a595c1c44cc6af3a2d63000eb9a8337 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Sat, 1 Nov 2025 01:11:37 -0700 Subject: [PATCH] chore(pnpm): allow building @sentry/cli for sourcemap uploads (#6491) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add `@sentry/cli` to `onlyBuiltDependencies` in `pnpm-workspace.yaml` so its postinstall can run. - Ensures the Sentry Vite plugin can upload sourcemaps in cloud builds when Sentry env vars are configured. - No runtime code changes. Checks run locally before commit: - `pnpm lint:fix` ✓ - `pnpm typecheck` ✓ ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6491-chore-pnpm-allow-building-sentry-cli-for-sourcemap-uploads-29d6d73d365081bd8548c19ef48d4f61) by [Unito](https://www.unito.io) --- pnpm-workspace.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4418e5233..c64337b06 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -112,6 +112,7 @@ onlyBuiltDependencies: - '@playwright/browser-chromium' - '@playwright/browser-firefox' - '@playwright/browser-webkit' + - '@sentry/cli' - '@tailwindcss/oxide' - esbuild - nx