Skip to content

Commit

Permalink
simplify project; release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Dec 9, 2018
1 parent 5426512 commit b5b8c0c
Show file tree
Hide file tree
Showing 30 changed files with 247 additions and 8,651 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ Cumulo Util (WIP)

> Util functions abstracted out for Cumulo projects.
### Workflow
### Usage

https://github.com/Cumulo/cumulo-workflow
[![Clojars Project](https://img.shields.io/clojars/v/cumulo/util.svg)](https://clojars.org/cumulo/util)

```edn
[cumulo/util "0.1.0-a2"]
```

```clojure
(cumulo-util.core/find-first "x" ["x" "y"])
(cumulo-util.core/get-env! x) ; reading process.env[x]
(cumulo-util.file/write-mildly! "a.text" "content")
```

### License

Expand Down
8,094 changes: 202 additions & 7,892 deletions calcit.edn

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions cli/build/main.clj

This file was deleted.

15 changes: 0 additions & 15 deletions cli/build/upload.cljs

This file was deleted.

7 changes: 0 additions & 7 deletions cli/build/util.clj

This file was deleted.

3 changes: 0 additions & 3 deletions cli/build/util.cljs

This file was deleted.

25 changes: 5 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
{
"name": "cumulo-workflow",
"name": "cumulo-util",
"version": "0.1.0",
"description": "Cumulo Workflow",
"main": "index.js",
"scripts": {
"watch": "shadow-cljs watch client server",
"build": "shadow-cljs clj-run build.main/build",
"build-local": "shadow-cljs clj-run build.main/build-local",
"page": "shadow-cljs clj-run build.main/page",
"upload": "lumo -c cli/:src/ -m build.upload",
"serve": "http-server dist -s",
"repl": "rlwrap shadow-cljs clj-repl client",
"repl-server": "rlwrap shadow-cljs clj-repl server",
"ln": "cd target && rm -f entry && ln -s ../entry",
"prod": "yarn install --production"
"watch": "shadow-cljs watch app",
},
"repository": {
"type": "git",
"url": "git@github.com:mvc-works/cumulo-workflow.git"
},
"author": "jiyinyiyong",
"license": "MIT",
"dependencies": {
"feather-icons": "^4.9.0",
"md5": "^2.2.1",
"randomcolor": "^0.5.3",
"shortid": "^2.2.14",
"ws": "^6.1.2"
},
"dependencies": {},
"devDependencies": {
"http-server": "^0.11.1",
"shadow-cljs": "^2.7.8",
"source-map-support": "^0.5.9"
"source-map-support": "^0.5.9",
"ws": "^6.1.2"
}
}
38 changes: 7 additions & 31 deletions shadow-cljs.edn
Original file line number Diff line number Diff line change
@@ -1,35 +1,11 @@

{:source-paths ["src" "cli"]
:dependencies [[mvc-works/hsl "0.1.2"]
[mvc-works/shell-page "0.1.9"]
[cumulo/recollect "0.5.0"]
[cumulo/reel "0.1.0"]
[respo "0.10.2"]
[respo/ui "0.3.10"]
[respo/alerts "0.3.10"]
[respo/message "0.3.4"]
[respo/feather "0.1.1"]
[cirru/bisection-key "0.1.5"]
[org.clojure/core.incubator "0.1.4"]]
{:source-paths ["src"]
:dependencies [[org.clojure/core.incubator "0.1.4"]]
:repositories {"central" {:url "https://maven.aliyun.com/nexus/content/groups/public/"}
"clojars" {:url "https://mirrors.ustc.edu.cn/clojars/"}}
:open-file-command ["subl" ["%s:%s:%s" :file :line :column]]
:builds {:client {:output-dir "target/"
:asset-path "./"
:target :browser
:modules {:client {:init-fn cumulo-util.client/main!}}
:devtools {:after-load cumulo-util.client/reload!
:http-root "target"
:http-port 7000}
:release {:output-dir "dist/"}
:module-hash-names 8
:build-options {:manifest-name "assets.edn"}}
:page {:target :node-script
:output-to "target/page.js"
:main cumulo-util.page/main!
:devtools {:after-load cumulo-util.page/main!}}
:server {:target :node-script
:output-to "target/server.js"
:main cumulo-util.server/main!
:devtools {:after-load cumulo-util.server/reload!}
:release {:output-to "dist/server.js"}}}}
:builds {:app {:target :node-script
:output-to "target/app.js"
:main cumulo-util.app/main!
:devtools {:after-load cumulo-util.app/reload!}
:release {:output-to "dist/app.js"}}}}
6 changes: 6 additions & 0 deletions src/cumulo_util/app.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

(ns cumulo-util.app )

(defn main! [] (println "Started"))

(defn reload! [] (println "Reload"))
60 changes: 0 additions & 60 deletions src/cumulo_util/client.cljs

This file was deleted.

78 changes: 0 additions & 78 deletions src/cumulo_util/comp/container.cljs

This file was deleted.

56 changes: 0 additions & 56 deletions src/cumulo_util/comp/login.cljs

This file was deleted.

28 changes: 0 additions & 28 deletions src/cumulo_util/comp/navigation.cljs

This file was deleted.

0 comments on commit b5b8c0c

Please sign in to comment.