Skip to content

Published or Release Build Feature for Node.js Web application #576

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
matt212 opened this issue Apr 13, 2017 · 14 comments
Closed

Published or Release Build Feature for Node.js Web application #576

matt212 opened this issue Apr 13, 2017 · 14 comments
Labels

Comments

@matt212
Copy link

matt212 commented Apr 13, 2017

Are there any npm packages for converting node.js web app's source code with all its dependencies within node_modules folder to compiled/released/published build files like for example :

  • .net has .dll file
  • java has .jar file
  • elixir has .beam file.

rather than any npm packages , any other alternatives to achieve the goal of published IL !

@matt212
Copy link
Author

matt212 commented Apr 13, 2017

Why is it an invalid question ?
could you please provide "Valid" justification for the same !

@bnoordhuis
Copy link
Member

@matt212 This issue is still open in case you hadn't noticed...

@matt212
Copy link
Author

matt212 commented Apr 13, 2017

Sure will stay frosty , thanks !

@sam-github
Copy link

npm pack or docker build

@refack
Copy link

refack commented Apr 17, 2017

@matt212 the invalid was ment that it's not a bug in node (since then we changed the tagging of such issues to wrong-repo).
There has been a lot of discussion about the packing/obfuscation of complete node projects. At present it's not a project goal to enable this, but it might be the future nodejs/node#11842.

There are userland tools that can do that. I personally don't have a favorite solution, but you can check out:

and the discution in:

@SimenB
Copy link
Member

SimenB commented Apr 22, 2017

We have successfully used https://github.com/h2non/nar at work. You can download an archive created with that tool here: https://github.com/finn-no/cdn-uploader/releases
The only thing I don't like is that it has to unpack in order to be executed, but the big thing for us is that it's distributable and runnable without requiring node to be pre-installed

@refack
Copy link

refack commented Apr 22, 2017

@matt212 I felt your original post should be turned into a feature request. I edited it a little bit, feel free to re-edit me. nodejs/node#12386

@matt212
Copy link
Author

matt212 commented Apr 22, 2017

@refack Many Thanks applied your edited version. !

@harshalyeole-tudip
Copy link

I support this issue...

@gireeshpunathil
Copy link
Member

anything outstanding on this?

@matt212
Copy link
Author

matt212 commented Apr 4, 2018

yes , since enhancement for release build of node.js is still not available !

@refack
Copy link

refack commented Apr 4, 2018

I'm actively working on a solution (Also WRT nodejs/node#17320) but it will take time, and might not land.

@SimenB
Copy link
Member

SimenB commented Apr 5, 2018

Another alternative is https://github.com/zeit/pkg (which we've migrated to, ref my post above)

@Trott
Copy link
Member

Trott commented Sep 28, 2018

It seems that the question has been answered. As far as the desired feature, there is a relevant feature request at nodejs/node#11903.

@Trott Trott closed this as completed Sep 28, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants