lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
2017-11-21T00:00:16.000015Z

Well maybe monkeypatching the require function isn't so bad, from there the base64 strings can be converted https://github.com/nodejs/node/blob/master/lib/module.js#L653-L668 my exploration continues...

richiardiandrea 2017-11-21T18:10:20.000380Z

I have investigating again in the instrument problem and I have noticed this:

(filter #(clojure.string/includes? (str %) "cljs/spec") (gobj/getKeys lumo.internal.embedded.resources))
("cljs/spec/alpha$macros.cache.json"
 "cljs/spec/alpha$macros.js"
 "cljs/spec/alpha.cljc"
 "cljs/spec/alpha.cljs"
 "cljs/spec/alpha.cljs.cache.json"
 "cljs/spec/alpha.js"
 "cljs/spec/gen/alpha$macros.cache.json"
 "cljs/spec/gen/alpha$macros.js"
 "cljs/spec/gen/alpha.cljc"
 "cljs/spec/gen/alpha.cljs"
 "cljs/spec/gen/alpha.cljs.cache.json"
 "cljs/spec/gen/alpha.js"
 "cljs/spec/test/alpha$macros.cache.json"
 "cljs/spec/test/alpha$macros.js"
 "cljs/spec/test/alpha.cache.json"
 "cljs/spec/test/alpha.cljc"
 "cljs/spec/test/alpha.cljs"
 "cljs/spec/test/alpha.js"
 "target/cljs/spec/alpha.cljc"
 "target/cljs/spec/alpha.cljs"
 "target/cljs/spec/alpha.cljs.cache.json"
 "target/cljs/spec/alpha.js"
 "target/cljs/spec/gen/alpha.cljc"
 "target/cljs/spec/gen/alpha.cljs"
 "target/cljs/spec/gen/alpha.cljs.cache.json"
 "target/cljs/spec/gen/alpha.js"
 "target/cljs/spec/test/alpha.cljc"
 "target/cljs/spec/test/alpha.cljs")
Files are kind of duplicated and embedded from target as well.

anmonteiro 2017-11-21T18:13:27.000691Z

Nice catch

anmonteiro 2017-11-21T18:13:40.000227Z

Lets fix that

anmonteiro 2017-11-21T18:13:57.000307Z

But the instrument problem is unrelated to embedded resources

richiardiandrea 2017-11-21T18:14:09.000626Z

uhm ok

richiardiandrea 2017-11-21T18:14:11.000010Z

😄

richiardiandrea 2017-11-21T18:14:49.000083Z

there is only one "cljs/spec/test/alpha$macros.cache.json" too

richiardiandrea 2017-11-21T18:19:45.000220Z

@anmonteiro which ones are the "correct" one, the ones from cljs?