You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
👋 I'm one of the developers for Electron Forge, and I'd like to create a first-class Electron Forge plugin that would hook into the workflow right after an application is packaged (but before installers are generated). Currently, the main script for the module is the same as the bin, so when you require('@doyensec/electronegativity'), you'll just run the CLI without any arguments. This is sub-optimal for Electron Forge, as we'd have to shell out in order to configure it in any way.
Describe the solution you'd like
Move the bin script to a different file than src/index.ts, and export a Node API-friendly function instead.
If this sounds reasonable, I'd be happy to create a pull request for this.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
👋 I'm one of the developers for Electron Forge, and I'd like to create a first-class Electron Forge plugin that would hook into the workflow right after an application is packaged (but before installers are generated). Currently, the
main
script for the module is the same as the bin, so when yourequire('@doyensec/electronegativity')
, you'll just run the CLI without any arguments. This is sub-optimal for Electron Forge, as we'd have to shell out in order to configure it in any way.Describe the solution you'd like
Move the
bin
script to a different file thansrc/index.ts
, and export a Node API-friendly function instead.If this sounds reasonable, I'd be happy to create a pull request for this.
The text was updated successfully, but these errors were encountered: