Skip to content

Commit

Permalink
[vis-timeline] v6.2.7 new package
Browse files Browse the repository at this point in the history
  • Loading branch information
smee committed Nov 27, 2019
1 parent 7913d41 commit 9b23391
Show file tree
Hide file tree
Showing 4 changed files with 1,683 additions and 0 deletions.
18 changes: 18 additions & 0 deletions vis-timeline/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# cljsjs/vis-timeline

[](dependency)
```clojure
[cljsjs/vis-timeline "6.2.7-0"] ;; latest release
```
[](/dependency)

This jar comes with `deps.cljs` as used by the [Foreign Libs][flibs] feature
of the ClojureScript compiler. After adding the above dependency to your project
you can require the packaged library like:

```clojure
(ns application.core
(:require cljsjs.vis))
```

[flibs]: https://clojurescript.org/reference/packaging-foreign-deps
2 changes: 2 additions & 0 deletions vis-timeline/boot-cljsjs-checksums.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"cljsjs/vis-timeline/development/vis-timeline.inc.js"
"CEBAFA26EE850E12A4735CBF03449195"}
31 changes: 31 additions & 0 deletions vis-timeline/build.boot
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
(set-env!
:resource-paths #{"resources"}
:dependencies '[[cljsjs/boot-cljsjs "0.10.4" :scope "test"]])

(require '[cljsjs.boot-cljsjs.packaging :refer :all])

(def +lib-version+ "6.2.7")
(def +version+ (str +lib-version+ "-0"))

(task-options!
pom {:project 'cljsjs/vis-timeline
:version +version+
:description "The Timeline/Graph2D is an interactive visualization chart to visualize data in time"
:url "https://visjs.github.io/vis-timeline/"
:scm {:url "https://github.com/visjs/vis-timeline"}
:license {"MIT" "http://opensource.org/licenses/MIT"
"Apache 2.0" "http://www.apache.org/licenses/LICENSE-2.0"}})

(deftask package []
(comp
(download :url (format "https://unpkg.com/vis-timeline@%s/dist/vis-timeline-graph2d.min.js" +lib-version+)
:target "cljsjs/vis-timeline/development/vis-timeline.inc.js")
(download :url (format "https://unpkg.com/vis-timeline@%s/dist/vis-timeline-graph2d.css" +lib-version+)
:target "cljsjs/vis-timeline/development/vis-timeline.inc.css")
(download :url (format "https://unpkg.com/vis-timeline@%s/dist/vis-timeline-graph2d.min.css" +lib-version+)
:target "cljsjs/vis-timeline/production/vis-timeline.min.inc.css")
(sift :include #{#"^cljsjs"})
(deps-cljs :name "cljsjs.vis-timeline")
(pom)
(jar)
(validate)))
Loading

0 comments on commit 9b23391

Please sign in to comment.