Clojurians
#lumo
<
2018-03-28
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

kidpollo00:03:59

I am very confused. How does that even work?

kidpollo00: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

tkjone00:03:08

Thats pretty cool @richiardiandrea

richiardiandrea00:03:43

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

benzap05:03:52

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

rdanielo08:03:51

Hello, that seems like a great step forward

rdanielo08:03:21

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

rdanielo08: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

rdanielo09: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

rdanielo09:03:56

I've been struggling with cljs for two days

rdanielo09: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

rdanielo09: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 ^^

rdanielo09:03:32

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

rdanielo09:03:47

I tried lumo, and it is delightfully fast

rdanielo09: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

rdanielo09:03:01

watchexec is a node package ?

rdanielo09: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

rdanielo09:03:01

This is being helpful