Second cljs dep to be published on npm
😄 https://www.npmjs.com/package/@honeysql/honeysql
Thats pretty cool @richiardiandrea
honeysql is basically data transformation so it was a pretty easy win 😉
I am very confused. How does that even work?
the readme does not show how to use as a node dep.
Yep that is still a good TODO
contribution, at the moment the doc is a bit in the air. So https://github.com/anmonteiro/lumo/issues/130.
so basically instead of packaging in a jar we package in a tarbal and some convention in package.json
tells us where to find the cljs src
I wonder if there's a way to find all of the clojurescript libraries that have been published to npm
Hello, that seems like a great step forward
Does anyone have a template or can point me to a template for using lumo for building a nodejs cli tool ?
I will need to use http requests
@rdanielo, I'd encourage you to just try it out from the repl. You can use node.js functions using JS interop
I am tired of REPLs, they're fun to start with, but as soon as you want non trivial work the become useless
I've been struggling with cljs for two days
I have setup 3 different test projects, using 3 different templates and It's being a nightmare
For an example project you could look at unravel: https://github.com/Unrepl/unravel
I now have a small project that works, but it is sooo slooow to start up and reload the files that everytime I want to check something on the repl I forget about what I was looking for
I think you can get code reloading to work with Figwheel, but I haven't done that before
(not with lumo though, that would be using the hosted compiler)
With node as a target ^^
I am using Fighwheel with node, and it is working, but the REPL is very slow
I tried lumo, and it is delightfully fast
But now I just want to setup things and start building a cmd tool with lumo
what you can do is to use a tool like watchexec to rerun/restart the lumo process whenever a file changes
or run tests
it lets you iterate pretty quickly
watchexec is a node package ?
How do you start lumo repl ? The commandline arguments are quite long. I am tempted to put it on the npm scripts section
This is being helpful
first cut at the wiki - done 🎉 https://github.com/anmonteiro/lumo/wiki