-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
1,683 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"cljsjs/vis-timeline/development/vis-timeline.inc.js" | ||
"CEBAFA26EE850E12A4735CBF03449195"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))) |
Oops, something went wrong.