Repository navigation
build(deps-dev): bump Electron Forge to v8.0.1 - #2092
claude[bot] wants to merge 1 commit into
Conversation
Move every @electron-forge/* package (and the maker-base/shared-types resolutions) from 8.0.0-alpha.10 to the 8.0.1 stable release, so all Forge packages are on one version again. Forge 8.0.0 deprecated `publish --dry-run` / `--from-dry-run` in favour of `make` (which now always saves its results to out/make-results) and `release --from-make`, and renamed `publish` to `release`. Switch the release workflow and the app's script to the new commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WZZBj9ojQvuq9nfVJhkr39
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
The Socket Security block is its age-based "Recently published" alert on Generated by Claude Code |
|
@SocketSecurity ignore npm/@electron/packager@20.3.1 |
There was a problem hiding this comment.
I reviewed this PR and didn't find any bugs. It changes the release pipeline in a way that only runs on the next tagged release, and CODEOWNERS covers these files, so a maintainer should still look at it.
What was reviewed:
- The release.yml build jobs now run
make, and the release job runsrelease --from-make. Each build job still uploads all ofpackages/app/out, and the release job downloads it back intopackages/app/out. The signing and notarization env vars are still on the build steps, and the asar check path did not change. - Not checked: whether the
out/make-results/manifests from the macOS, Linux and Windows jobs have distinct file names. The release job downloads withmerge-multiple: true, so manifests with the same name would overwrite each other. Forge is not installed in this checkout, so I couldn't confirm the naming. - The package.json files and root resolutions now pin every
@ electron-forge/*package to 8.0.1. The script is renamed frompublishtorelease. No Forge alpha versions are left in yarn.lock.
Extended reasoning...
The change bumps Electron Forge devDependencies and resolutions to 8.0.1, regenerates yarn.lock, and changes the release workflow from publish --dry-run / --from-dry-run to make / release --from-make. It touches release-pipeline code that handles signing secrets and the GitHub release token, but the steps that run with secrets stay the same apart from the command. The new flow can't be tested until a tag is pushed. Whether the per-platform manifests survive the merged artifact download depends on Forge internals that aren't available here. A CODEOWNERS rule (*) covers every changed file, so this should not be auto-approved.
Requested by Erick Zhao · Slack thread
This moves every
@electron-forge/*package from8.0.0-alpha.10to the stable8.0.1release (including themaker-baseandshared-typesresolutions in the rootpackage.json), so Fiddle is no longer on a mix of alpha and stable Forge packages;maker-squirrel,plugin-fusesandplugin-vitewere already on 8.0.1, andyarn.lockno longer contains any alpha Forge versions. Forge 8.0.0 deprecatedpublish --dry-runand--from-dry-run(they still work but warn, and will be removed in a future major) in favour ofmake, which now always saves a manifest toout/make-results/, followed byrelease --from-make, and renamed thepublishcommand torelease, so the release workflow's build jobs now runmakeand the release job runsrelease --from-makethrough a renamedreleasescript; the wholeout/directory is already passed between jobs, so the manifest travels with the distributables. Locally, format, lint, typecheck, the generated-source and i18n checks pass, andyarn packageloads the Forge config, runs the hooks and builds all Vite targets. Caveat: this container couldn't download the Electron binary (GitHub release downloads are blocked here), soyarn package/yarn makestopped at that download, the seven Vitest suites that requireelectroncouldn't load, and the release workflow change can only be exercised on the next tagged release; this supersedes #2082, #2069 and #2086.Generated by Claude Code