Fork me on GitHub
#cljsjs
<
2017-02-27
>
pez08:02:01

Is there anything more I should do to get the simplex-solver package pulled?

pez08:02:01

Awesome.

pez19:02:21

The simplex-solver module we just packaged depends on underscore and thus bundles it. But many javascript libraries need underscore and it seems inefficient that they all bundle it. Is there some way that the underscore (or any other library) dependency can be satisfied for a cljsjs package?

pez20:02:14

Can I avoid getting the Mac OS .DS_Store file included in the .jar in some simple way?

juhoteperi20:02:31

@pez By not committing them to the repo

juhoteperi20:02:58

That will prevent them to getting official packages at least, probably doesn't help when you build packages locally

pez20:02:53

So it won’t get created when the package is built on Linux or Docker, then.

juhoteperi20:02:07

My recommendation would be to setup git to ignore those files always (`core.exludesfile` to use global exclusions file, and add .DS_Store to the file)

pez20:02:23

.DS_Store is included in the “global” .gitignore since 9 days.

pez20:02:18

@juhoteperi: do you have any comment on my question about the underscore dependency above?

juhoteperi20:02:24

@pez It should be possible to setup browserify to use external underscore, then you can add maven dependency on cljsjs/lodash and add :requires entry to deps.cljs

juhoteperi20:02:48

lodash should be underscore compatible, though I haven't used either in some time

juhoteperi20:02:11

underscore is not currently packaged in cljsjs, but if you package it, you could also depend on that

pez20:02:06

I’ll give lodash a try first. Thanks!