Fork me on GitHub
#cljsjs
<
2017-01-02
>
Yehonathan Sharvit07:01:29

Now, it is possible to require cljsjs packages inside klipse

Yehonathan Sharvit07:01:20

thanks @martinklepsch for your help yesterday

Yehonathan Sharvit07:01:02

KLIPSE loads the cljsjs packages from this github repo: https://github.com/viebel/cljsjs-hosted

Yehonathan Sharvit07:01:22

Currently there are only a few packages in the repo

Yehonathan Sharvit07:01:35

But I wrote the instructions for adding more packages

Yehonathan Sharvit07:01:22

I’d really appreciate if some folks take a few minutes to add their favourite packages...

martinklepsch07:01:55

@viebel why don’t you just add all of them? 😄

Yehonathan Sharvit07:01:07

Because it takes time...

Yehonathan Sharvit07:01:46

I need crowd sourcing :hugging_face:

martinklepsch07:01:00

ah, just read the instructions, thought it’s just adding a single line or so

Yehonathan Sharvit07:01:19

Or someone clever that will find a way to add all of them...

Yehonathan Sharvit07:01:24

@martinklepsch is there a way to get the list of all the cljsjs packages with their version?

Yehonathan Sharvit07:01:53

[cljsjs/moment "2.15.2-3"]
                 [cljsjs/highcharts "5.0.4-0"]
                 [cljsjs/react "15.4.0-0"]
                 [cljsjs/react-dom "15.4.0-0"]
                 [cljsjs/react-dom-server "15.4.0-0"]
                 [cljsjs/react-with-addons “15.4.0-0”]

martinklepsch07:01:58

@viebel the above should make it pretty easy to generate this list

Yehonathan Sharvit07:01:09

@martinklepsch the name of the package is in “artifact”?

martinklepsch07:01:27

yeah cljsjs/${artifact}

Yehonathan Sharvit08:01:46

that seems to work

Yehonathan Sharvit08:01:09

@martinklepsch now I’m uploading all the packages contents to github....

Yehonathan Sharvit08:01:38

what does “inc” stand for in file names inside the jars e.g. moment.min.inc.js?

Yehonathan Sharvit08:01:32

and what does “include” stand for @juhoteperi ?

juhoteperi08:01:14

That the file should be included in the build

juhoteperi08:01:19

It is no longer used by anything