Skip to content

chore(build): exclude patchedDependencies from target pnpm workspace - #1980

Open
paustint wants to merge 1 commit into
mainfrom
fix/desktop-build
Open

chore(build): exclude patchedDependencies from target pnpm workspace#1980
paustint wants to merge 1 commit into
mainfrom
fix/desktop-build

Conversation

@paustint

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 20, 2026 13:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Electron build script to make the target workspace truly self-contained by excluding root-only pnpm patch configuration that would break in the copied build directory.

Changes:

  • Removes patchedDependencies from the derived target pnpm-workspace.yaml config.
  • Keeps the target workspace isolated by continuing to reset packages to an empty list.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

// Drop `patchedDependencies` too: it points at files under the root `patches/` directory,
// which isn't copied into TARGET_DIR, and the patched packages (e.g. dev-only lint tooling)
// aren't part of the desktop build's dependency set anyway.
const { patchedDependencies, ...targetWorkspace } = rootWorkspace;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants