Fork me on GitHub
#lumo
<
2018-03-28
>
richiardiandrea00:03:15

Second cljs dep to be published on npm 😄 https://www.npmjs.com/package/@honeysql/honeysql

🎉 4
Paco00:03:59

I am very confused. How does that even work?

Paco00:03:27

the readme does not show how to use as a node dep.

richiardiandrea02:03:45

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.

richiardiandrea02:03:20

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

richiardiandrea00:03:43

honeysql is basically data transformation so it was a pretty easy win 😉

benzap05:03:52

I wonder if there's a way to find all of the clojurescript libraries that have been published to npm

danielo51508:03:51

Hello, that seems like a great step forward

danielo51508:03:21

Does anyone have a template or can point me to a template for using lumo for building a nodejs cli tool ?

danielo51508:03:27

I will need to use http requests

pesterhazy09:03:43

@rdanielo, I'd encourage you to just try it out from the repl. You can use node.js functions using JS interop

danielo51509:03:45

I am tired of REPLs, they're fun to start with, but as soon as you want non trivial work the become useless

danielo51509:03:56

I've been struggling with cljs for two days

danielo51509:03:15

I have setup 3 different test projects, using 3 different templates and It's being a nightmare

pesterhazy09:03:49

For an example project you could look at unravel: https://github.com/Unrepl/unravel

danielo51509:03:50

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

pesterhazy09:03:30

I think you can get code reloading to work with Figwheel, but I haven't done that before

pesterhazy09:03:55

(not with lumo though, that would be using the hosted compiler)

pesterhazy09:03:15

With node as a target ^^

danielo51509:03:32

I am using Fighwheel with node, and it is working, but the REPL is very slow

danielo51509:03:47

I tried lumo, and it is delightfully fast

danielo51509:03:59

But now I just want to setup things and start building a cmd tool with lumo

pesterhazy09:03:46

what you can do is to use a tool like watchexec to rerun/restart the lumo process whenever a file changes

pesterhazy09:03:16

or run tests

pesterhazy09:03:18

it lets you iterate pretty quickly

danielo51509:03:01

watchexec is a node package ?

danielo51509:03:39

How do you start lumo repl ? The commandline arguments are quite long. I am tempted to put it on the npm scripts section

danielo51509:03:01

This is being helpful

richiardiandrea19:03:51

first cut at the wiki - done 🎉 https://github.com/anmonteiro/lumo/wiki

🎉 8