Skip to content

Commit

Permalink
Merge pull request #674 from metosin/bump-examples
Browse files Browse the repository at this point in the history
Bump deps on examples
  • Loading branch information
opqdonut authored Apr 19, 2024
2 parents f41d555 + 81b9464 commit bbaab0b
Show file tree
Hide file tree
Showing 28 changed files with 125 additions and 103 deletions.
6 changes: 3 additions & 3 deletions examples/buddy-auth/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(defproject ring-example "0.1.0-SNAPSHOT"
(defproject buddy-auth "0.1.0-SNAPSHOT"
:description "Reitit Buddy Auth App"
:dependencies [[org.clojure/clojure "1.10.1"]
[ring/ring-jetty-adapter "1.8.1"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring/ring-jetty-adapter "1.12.1"]
[metosin/reitit "0.7.0-alpha7"]
[buddy "2.0.0"]]
:repl-options {:init-ns example.server})
16 changes: 9 additions & 7 deletions examples/frontend-auth/project.clj
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
(defproject frontend "0.1.0-SNAPSHOT"
(defproject frontend-auth "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.0"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring-server "0.5.0"]
[reagent "0.8.1"]
[ring "1.7.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.439"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-schema "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.14"]]

:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]]
:plugins [[lein-cljsbuild "1.1.8"]
[lein-figwheel "0.5.20"]]

:source-paths []
:resource-paths ["resources" "target/cljsbuild"]
Expand Down
3 changes: 2 additions & 1 deletion examples/frontend-auth/src/frontend/core.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns frontend.core
(:require [reagent.core :as r]
[reagent.dom :as rd]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]
[reitit.frontend.controllers :as rfc]
Expand Down Expand Up @@ -147,6 +148,6 @@
(assoc state :match (assoc new-match :controllers (rfc/apply-controllers (:controllers (:match state)) new-match)))
(assoc state :match new-match))))))
{:use-fragment true})
(r/render [main-view] (.getElementById js/document "app")))
(rd/render [main-view] (.getElementById js/document "app")))

(init!)
16 changes: 9 additions & 7 deletions examples/frontend-controllers/project.clj
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
(defproject frontend "0.1.0-SNAPSHOT"
(defproject frontend-controllers "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.0"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring-server "0.5.0"]
[reagent "0.8.1"]
[ring "1.7.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.439"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-schema "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.14"]]

:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]]
:plugins [[lein-cljsbuild "1.1.8"]
[lein-figwheel "0.5.20"]]

:source-paths []
:resource-paths ["resources" "target/cljsbuild"]
Expand Down
3 changes: 2 additions & 1 deletion examples/frontend-controllers/src/frontend/core.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns frontend.core
(:require [reagent.core :as r]
[reagent.dom :as rd]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]
[reitit.frontend.controllers :as rfc]
Expand Down Expand Up @@ -88,6 +89,6 @@
(if new-match
(assoc new-match :controllers (rfc/apply-controllers (:controllers old-match) new-match))))))
{:use-fragment true})
(r/render [current-page] (.getElementById js/document "app")))
(rd/render [current-page] (.getElementById js/document "app")))

(init!)
16 changes: 9 additions & 7 deletions examples/frontend-links/project.clj
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
(defproject frontend "0.1.0-SNAPSHOT"
(defproject frontend-links "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.0"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring-server "0.5.0"]
[reagent "0.8.1"]
[ring "1.7.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.520"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-spec "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.14"]]

:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]
[cider/cider-nrepl "0.21.1"]]
:plugins [[lein-cljsbuild "1.1.8"]
[lein-figwheel "0.5.20"]
[cider/cider-nrepl "0.47.1"]]

:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}

Expand Down
3 changes: 2 additions & 1 deletion examples/frontend-links/src/frontend/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(:require [clojure.string :as string]
[fipp.edn :as fedn]
[reagent.core :as r]
[reagent.dom :as rd]
[reitit.coercion.spec :as rss]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]
Expand Down Expand Up @@ -137,7 +138,7 @@
(fn [m] (reset! current-match m))
;; set to false to enable HistoryAPI
{:use-fragment true})
(r/render [current-page] (.getElementById js/document "app")))
(rd/render [current-page] (.getElementById js/document "app")))

(init!)

Expand Down
10 changes: 6 additions & 4 deletions examples/frontend-malli/project.clj
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
(defproject frontend "0.1.0-SNAPSHOT"
(defproject frontend-malli "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.1"]
[ring-server "0.5.0"]
[reagent "0.10.0"]
[ring "1.8.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.773"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-malli "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.23"]]

Expand Down
3 changes: 2 additions & 1 deletion examples/frontend-malli/src/frontend/core.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns frontend.core
(:require [reagent.core :as r]
[reagent.dom :as rd]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]
[reitit.coercion.malli :as rsm]
Expand Down Expand Up @@ -78,6 +79,6 @@
(fn [m] (reset! match m))
;; set to false to enable HistoryAPI
{:use-fragment true})
(r/render [current-page] (.getElementById js/document "app")))
(rd/render [current-page] (.getElementById js/document "app")))

(init!)
21 changes: 12 additions & 9 deletions examples/frontend-prompt/project.clj
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
(defproject frontend "0.1.0-SNAPSHOT"
(defproject frontend-prompt "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.0"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring-server "0.5.0"]
[reagent "0.8.1"]
[ring "1.7.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.520"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-spec "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.14"]]
[fipp "0.6.23"]]

:plugins [[lein-cljsbuild "1.1.8"]
[lein-figwheel "0.5.20"]
[cider/cider-nrepl "0.47.1"]]

:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]
[cider/cider-nrepl "0.21.1"]]

:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}

Expand Down
3 changes: 2 additions & 1 deletion examples/frontend-prompt/src/frontend/core.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns frontend.core
(:require [fipp.edn :as fedn]
[reagent.core :as r]
[reagent.dom :as rd]
[reitit.coercion.spec :as rss]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]))
Expand Down Expand Up @@ -63,6 +64,6 @@
on-navigate
;; set to false to enable HistoryAPI
{:use-fragment true})
(r/render [current-page] (.getElementById js/document "app")))
(rd/render [current-page] (.getElementById js/document "app")))

(init!)
18 changes: 10 additions & 8 deletions examples/frontend-re-frame/project.clj
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
(defproject frontend-re-frame "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.10.520"]
:dependencies [[org.clojure/clojure "1.11.2"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[reagent "0.8.1"]
[re-frame "0.10.6"]]

:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]
[cider/cider-nrepl "0.21.1"]]
[reagent "1.2.0"]
[re-frame "0.10.6"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]]

:plugins [[lein-cljsbuild "1.1.8"]
[lein-figwheel "0.5.20"]
[cider/cider-nrepl "0.47.1"]]

:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
:min-lein-version "2.5.3"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns frontend-re-frame.core
(:require [re-frame.core :as re-frame]
[reagent.core :as reagent]
[reagent.dom :as rd]
[reitit.core :as r]
[reitit.coercion.spec :as rss]
[reitit.frontend :as rf]
Expand Down Expand Up @@ -143,7 +144,7 @@
(re-frame/dispatch-sync [::initialize-db])
(dev-setup)
(init-routes!) ;; Reset routes on figwheel reload
(reagent/render [router-component {:router router}]
(rd/render [router-component {:router router}]
(.getElementById js/document "app")))

(init)
10 changes: 6 additions & 4 deletions examples/frontend/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/clojure "1.10.1"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring-server "0.5.0"]
[reagent "0.10.0"]
[ring "1.8.1"]
[reagent "1.2.0"]
[ring "1.12.1"]
[hiccup "1.0.5"]
[org.clojure/clojurescript "1.10.773"]
[org.clojure/clojurescript "1.11.132"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/reitit-spec "0.7.0-alpha7"]
[metosin/reitit-frontend "0.7.0-alpha7"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
;; Just for pretty printting the match
[fipp "0.6.23"]]

Expand Down
3 changes: 2 additions & 1 deletion examples/frontend/src/frontend/core.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns frontend.core
(:require [reagent.core :as r]
[reagent.dom :as rd]
[reitit.frontend :as rf]
[reitit.frontend.easy :as rfe]
[reitit.coercion.spec :as rss]
Expand Down Expand Up @@ -77,6 +78,6 @@
(fn [m] (reset! match m))
;; set to false to enable HistoryAPI
{:use-fragment true})
(r/render [current-page] (.getElementById js/document "app")))
(rd/render [current-page] (.getElementById js/document "app")))

(init!)
8 changes: 4 additions & 4 deletions examples/http-swagger/project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defproject ring-example "0.1.0-SNAPSHOT"
(defproject http-swagger "0.1.0-SNAPSHOT"
:description "Reitit Http App with Swagger"
:dependencies [[org.clojure/clojure "1.11.1"]
[ring/ring-jetty-adapter "1.7.1"]
[aleph "0.4.7-alpha5"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring/ring-jetty-adapter "1.12.1"]
[aleph "0.7.1"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/ring-swagger-ui "5.9.0"]]
:repl-options {:init-ns example.server})
12 changes: 6 additions & 6 deletions examples/http/project.clj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(defproject ring-example "0.1.0-SNAPSHOT"
(defproject http "0.1.0-SNAPSHOT"
:description "Reitit Ring App with Swagger"
:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/core.async "0.4.490"]
[funcool/promesa "1.9.0"]
[manifold "0.1.8"]
[ring/ring-jetty-adapter "1.7.1"]
:dependencies [[org.clojure/clojure "1.11.2"]
[org.clojure/core.async "1.6.681"]
[funcool/promesa "11.0.678"]
[manifold "0.4.2"]
[ring/ring-jetty-adapter "1.12.1"]
[metosin/reitit "0.7.0-alpha7"]]
:repl-options {:init-ns example.server})
4 changes: 2 additions & 2 deletions examples/just-coercion-with-ring/project.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(defproject just-coercion-with-ring "0.1.0-SNAPSHOT"
:description "Reitit coercion with vanilla ring"
:dependencies [[org.clojure/clojure "1.10.0"]
[ring/ring-jetty-adapter "1.7.1"]
:dependencies [[org.clojure/clojure "1.11.2"]
[ring/ring-jetty-adapter "1.12.1"]
[metosin/reitit "0.7.0-alpha7"]])
8 changes: 4 additions & 4 deletions examples/openapi/project.clj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(defproject openapi "0.1.0-SNAPSHOT"
:description "Reitit OpenAPI example"
:dependencies [[org.clojure/clojure "1.10.0"]
[metosin/jsonista "0.2.6"]
[ring/ring-jetty-adapter "1.7.1"]
:dependencies [[org.clojure/clojure "1.11.2"]
[metosin/jsonista "0.3.8"]
[ring/ring-jetty-adapter "1.12.1"]
[metosin/reitit "0.7.0-alpha7"]
[metosin/ring-swagger-ui "5.9.0"]]
:repl-options {:init-ns example.server}
:profiles {:dev {:dependencies [[ring/ring-mock "0.3.2"]]}})
:profiles {:dev {:dependencies [[ring/ring-mock "0.4.0"]]}})
6 changes: 3 additions & 3 deletions examples/pedestal-malli-swagger/project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defproject pedestal-malli-swagger-example "0.1.0-SNAPSHOT"
:description "Reitit-http with pedestal"
:dependencies [[org.clojure/clojure "1.11.1"]
[io.pedestal/pedestal.service "0.5.5"]
[io.pedestal/pedestal.jetty "0.5.5"]
:dependencies [[org.clojure/clojure "1.11.2"]
[io.pedestal/pedestal.service "0.6.3"]
[io.pedestal/pedestal.jetty "0.6.3"]
[metosin/reitit-malli "0.7.0-alpha7"]
[metosin/reitit-pedestal "0.7.0-alpha7"]
[metosin/reitit "0.7.0-alpha7"]]
Expand Down
Loading

0 comments on commit bbaab0b

Please sign in to comment.