Repository navigation
Conversation
|
Also I would appreciate if you can merge & npm publish asap. Thanks. |
|
It looks like this change would package everything under Can you give me an example module that is currently failing to get packaged? |
I tried with my own module which is private. But you can try yourself with any package which has "@org/package". |
The plan is to merge this functionality into forge so whatever the source of the issue I need to work out what's causing it so I can fix it. |
Honestly it's the first time I've been working with Electron Forge and my package has a Native Node Addon (.node) which loads a dylib (or DLL depending on the OS). The only way I got it working was with this plugin and a small fix (the PR). |
|
The problem is really that electron-forge does not call the plugin with the correct package name. In case of a scoped package (@org) it's only providing /node_modules/@org, which is wrong. It should be providing /node_modules/@org/package-name. |
|
Exactly what I needed. Thank you. This library and the changes proposed works great |
Github Packages naming conventions are mapped wrongly by Electron-Forge Ignore function.
Github Packages requires "@organization/package" name for libraries and Electron-Forge gives you just "node_modules/@organization".
If you want to open an issue on their GitHub feel free to do so.