lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
richiardiandrea 2018-03-28T00:21:15.000105Z

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

🎉 1
athomasoriginal 2018-03-28T00:38:08.000273Z

Thats pretty cool @richiardiandrea

richiardiandrea 2018-03-28T00:38:43.000105Z

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

2018-03-28T00:40:59.000078Z

I am very confused. How does that even work?

2018-03-28T00:42:27.000016Z

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

richiardiandrea 2018-03-28T02:24:45.000050Z

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.

richiardiandrea 2018-03-28T02:27:20.000256Z

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

2018-03-28T05:37:52.000162Z

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

danielo515 2018-03-28T08:49:51.000341Z

Hello, that seems like a great step forward

danielo515 2018-03-28T08:50:21.000041Z

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

danielo515 2018-03-28T08:50:27.000363Z

I will need to use http requests

pesterhazy 2018-03-28T09:16:43.000377Z

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

danielo515 2018-03-28T09:17:45.000360Z

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

danielo515 2018-03-28T09:17:56.000317Z

I've been struggling with cljs for two days

danielo515 2018-03-28T09:18:15.000023Z

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

pesterhazy 2018-03-28T09:18:49.000375Z

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

danielo515 2018-03-28T09:18:50.000481Z

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

pesterhazy 2018-03-28T09:19:30.000185Z

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

pesterhazy 2018-03-28T09:19:55.000013Z

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

pesterhazy 2018-03-28T09:20:15.000540Z

With node as a target ^^

danielo515 2018-03-28T09:20:32.000217Z

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

danielo515 2018-03-28T09:20:47.000064Z

I tried lumo, and it is delightfully fast

danielo515 2018-03-28T09:20:59.000320Z

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

pesterhazy 2018-03-28T09:24:46.000313Z

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

pesterhazy 2018-03-28T09:25:16.000139Z

or run tests

pesterhazy 2018-03-28T09:25:18.000140Z

it lets you iterate pretty quickly

danielo515 2018-03-28T09:27:01.000176Z

watchexec is a node package ?

danielo515 2018-03-28T09:27:39.000368Z

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

danielo515 2018-03-28T09:28:01.000261Z

This is being helpful

danielo515 2018-03-28T09:28:01.000556Z

https://github.com/rberger/lumo-npm-example

richiardiandrea 2018-03-28T19:10:51.000124Z

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

🎉 2