Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(release): bump electron-builder so pnpm 11 deduped deps land in the asar #3790

Mergedavocardow(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/3790/headmerged by juliusmarminge View on GitHub

Fixes #3789

What Changed

electron-builder 26.8.1 -> 26.15.6 in apps/desktop devDependencies, plus lockfile.

Why

#3772 bumped pnpm 10.24 -> 11.10. pnpm >= 10.29.3 reports deduped deps differently (pnpm/pnpm#10601), and 26.8.1's pnpm module collector predates the fix for that (shipped in 26.9.0, electron-userland/electron-builder#9618), so deduped transitive prod deps get silently dropped from app.asar. Current nightly crashes at launch on the first missing import (fast-check).

Verified: built mac arm64 --target dir on master vs this branch, diffed the asar. Master: 44 prod deps missing. This branch: all present, app launches.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Bump electron-builder to 26.15.6 so pnpm 11 deduped dependencies land in the asar

Updates electron-builder in apps/desktop/package.json from 26.8.1 to 26.15.6. The older version did not correctly include pnpm 11 deduplicated dependencies in the asar archive, causing missing modules at runtime.

Macroscope summarized 2343cfc.
    1. Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro

      Run ID: ec99181c-3afd-42fd-b500-b16582f4dd13

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. Approvability

      Verdict: Approved

      Single dependency version bump for electron-builder build tool. The only source change is the version number in package.json; all other changes are mechanical lockfile updates. No runtime application code is affected.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. juliusmarminge merged this0c66565

    5. juliusmarminge closed this

Sign in to join this conversation.