Clojurians
#lumo
<
2017-02-16
>

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

stbgz04:02:04

hey @npeckman I committed a change that could serve as an example for jzip take a look at https://github.com/eginez/calvin/blob/cljs-build/src/main/clojure/eginez/calvin/cljs_deps.cljc#L55

stbgz04:02:42

and I am actually not using the latest version of jzip but the 2.x version that has more sync type functions (2.6.1 to be precise)

shaunlebron07:02:40

A year ago, I tried rallying some support for a standardized cljs config file, but I got some pushback on using it for dependencies

shaunlebron07:02:01

the arguments made sense in the jvm ecosystem where lein and boot had their own

shaunlebron07:02:25

i think calvin is a neat bridge to re-use current jvm standards, but ultimately I think we’re a bit overdue on clojurescript having an official package.json-like config file, now that the lumo dependency story is trying to form (as planck’s was last year)

pesterhazy08:02:34

boot-cljs already supports .cljs.edn files, doesn't it?

pesterhazy08:02:53

Wouldn't that format work?

shaunlebron08:02:40

not quite-- boot-cljs .cljs.edn files hold a config for a single build, and must be in the same directory as the compiler output-dir

pesterhazy09:02:50

the boot-cljs developers may want to collaborate though

stbgz17:02:04

@shaunlebron I actually support re-thinking how to specify dependencies and configurations, some of the concepts that we have been carrying around just don’t make sense in cljs,(for example classpath). One of the things I’d like to improve on is the mix clojars/npm dependencies, whatever standard we agree on should try to abstract the concept of where the dependencies are coming from

dominicm17:02:01

Just finished porting aero to lumo/cljs!

anmonteiro17:02:44

that’s really interesting

dominicm17:02:12

@anmonteiro is there any reader conditional for lumo? It would be nice to specify that the file system stuff in lumo works in a particular way.

anmonteiro17:02:40

not really, not yet at least

dominicm17:02:08

Oh, and the tests pass, that was the hard part.

dominicm17:02:58

@anmonteiro we were looking for something like: #?(:lumo/cljs (fs.readSync) :clj (io/file) :cljs nil) So not quite. For now, aero is lumo cljs only.

anmonteiro18:02:09

@dominicm yeah I know exactly what you need

anmonteiro18:02:25

me and Mike Fikes have started thinking about ways to solve that problem

anmonteiro18:02:52

^ this is the GitHub org where we’ll eventually continue our work