Hello, people of nodejs. I would like to try to package an electron app.

I have read packaging-guidelines/Node.js and nodejs-packaging-bundler. As
best I understand it, Fedora allows packaging Node.js applications which
will bundle all of the required modules from npm, as long as they are JS
modules and not pre-built ELF binaries. The electron npm module includes
pre-build ELF binaries, so in order to package an electron application, I
would need to:

   1. build an rpm providing the electron npm module (and possibly other
   packages for modules containing binaries)
   2. prepare a package of the electron app, using the packaging bundler
   script
   3. indicate a dependency on the electron module rpm package
   4. strip the electron module from the node_modules bundle
   5. replace the pre-built electron module with a symlink to the location
   of the electron module, provided by an rpm package

Does that sound more or less correct?
-- 
_______________________________________________
nodejs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to