Skip to content

fix: run build before package/make/publish to prevent stale bundles#39

Open
crtahlin wants to merge 1 commit into
GasperX93:masterfrom
crtahlin:fix/build-before-package
Open

fix: run build before package/make/publish to prevent stale bundles#39
crtahlin wants to merge 1 commit into
GasperX93:masterfrom
crtahlin:fix/build-before-package

Conversation

@crtahlin
Copy link
Copy Markdown
Collaborator

Summary

  • package, make, and publish scripts now run npm run build first
  • Previously they only ran electron-forge directly, which bundled whatever was in dist/ — potentially stale UI code from an earlier build
  • Documents the macOS .app copy gotcha in CLAUDE.md

Changed files

File Change
package.json Prepend npm run build && to package/make/publish scripts
CLAUDE.md Update packaging docs, add note about rm -rf before cp -R

AI-assisted implementation.

package, make, and publish scripts now run `npm run build` first.
Previously they only ran electron-forge directly, which would bundle
whatever was in dist/ — potentially stale UI code from an earlier build.

Also documents the macOS .app copy gotcha in CLAUDE.md.

AI-assisted implementation.
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.

1 participant