Skip to content

Commit

Permalink
release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Dec 21, 2018
1 parent e056c84 commit 919851e
Show file tree
Hide file tree
Showing 18 changed files with 510 additions and 496 deletions.
14 changes: 14 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 0.2.0 Minor updates

So nothing groundbreaking in this release, just firming things up and
pushing out changes because they have sat in the repo long enough.

* bump up to ring 0.1.7
* optionaly serve static cljsjs resources see https://figwheel.org/config-options#cljsjs-resources
* experimental - support for a cross over :nodejs Extra Main target to compile a project for the browser and node -- this more than likely wont work in many cases
* change the way that figwheel.main detects whether clj is launching figwheel from a project directory
* CSS reloading improvement
* ensure not zero exit when not watching or building once
* make syntax errors log at level :warn


# 0.1.9 Testing

This release has focused on making it much easier to integrate testing
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:

```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.9\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.0\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.

```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.9\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.0\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -245,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.1.9"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.0"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -311,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:

```clojure
:dependencies [[com.bhauman/figwheel-main "0.1.9"]
:dependencies [[com.bhauman/figwheel-main "0.2.0"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.1.9"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.0"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
;; DEV for now its easier to use cider with top level deps
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
com.bhauman/figwheel-repl {:mvn/version "0.2.0-SNAPSHOT"}
com.bhauman/figwheel-core {:mvn/version "0.2.0-SNAPSHOT"}
com.bhauman/figwheel-repl {:mvn/version "0.2.0"}
com.bhauman/figwheel-core {:mvn/version "0.2.0"}

;; server
ring {:mvn/version "1.7.0"}
Expand Down
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:

```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.9\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.0\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.

```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.9\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.0\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -245,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.1.9"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.0"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -311,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:

```clojure
:dependencies [[com.bhauman/figwheel-main "0.1.9"]
:dependencies [[com.bhauman/figwheel-main "0.2.0"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.1.9"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.0"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down
Loading

0 comments on commit 919851e

Please sign in to comment.