Pre-flight checklist
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
Pre-flight checklist
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 publishis very similar tonpm 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 publishshould do the trick.Additional information
Ideas for how to solve this:
"private": truetopackage.jsonfor our project templatespublishscript name to something else, e.g.,release