### Pre-flight checklist - [x] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project. - [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses. - [x] I have searched the issue tracker for a bug that matches the one I want to file, without success. ### Forge version 7.10.2 ### Electron version 39.2.7 ### Operating system All ### Last known working Forge version _No response_ ### Expected behavior Mistyping your publish command should never publish your source code to npm. ### Actual behavior `npm run publish` is very similar to `npm publish`, which publishes all your source code to npm. See https://www.instagram.com/reel/DSQKadiAlrk/ where a user ran into this. ### Steps to reproduce Don't. :) But `npm publish` should do the trick. ### Additional information Ideas for how to solve this: - Add `"private": true` to `package.json` for our project templates - Change `publish` script name to something else, e.g., `release`
Activity