Skip to content

Commit b18262f

Browse files
committed
Update example dependencies
1 parent fc94d5c commit b18262f

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

index.adoc

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ content:
6565
[,clojure]
6666
----
6767
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
68-
org.duct-framework/main {:mvn/version "0.1.5"}}
68+
org.duct-framework/main {:mvn/version "0.1.8"}}
6969
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
7070
----
7171

@@ -75,13 +75,13 @@ Duct can now be run by invoking the `:duct` alias.
7575
----
7676
$ clojure -M:duct
7777
Usage:
78-
clojure -M:duct [--main | --repl]
78+
clojure -M:duct [--init | --main | --nrepl | --repl]
7979
Options:
80-
-c, --cider Start an NREPL server with CIDER middleware
80+
-c, --cider Add CIDER middleware (used with --nrepl)
8181
--init Create a blank duct.edn config file
8282
-k, --keys KEYS Limit --main to start only the supplied keys
8383
-p, --profiles PROFILES A concatenated list of profile keys
84-
-n, --nrepl Start an NREPL server
84+
-n, --nrepl Start an nREPL server
8585
-m, --main Start the application
8686
-r, --repl Start a command-line REPL
8787
-s, --show Print out the expanded configuration and exit
@@ -242,7 +242,7 @@ We'll first add the new dependency:
242242
[,clojure]
243243
----
244244
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
245-
org.duct-framework/main {:mvn/version "0.1.5"}
245+
org.duct-framework/main {:mvn/version "0.1.8"}
246246
org.duct-framework/module.logging {:mvn/version "0.6.5"}}
247247
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
248248
----
@@ -557,9 +557,9 @@ modules: logging and web.
557557
[,clojure]
558558
----
559559
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
560-
org.duct-framework/main {:mvn/version "0.1.5"}
560+
org.duct-framework/main {:mvn/version "0.1.8"}
561561
org.duct-framework/module.logging {:mvn/version "0.6.5"}
562-
org.duct-framework/module.web {:mvn/version "0.12.6"}}
562+
org.duct-framework/module.web {:mvn/version "0.12.7"}}
563563
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
564564
----
565565

@@ -798,12 +798,12 @@ Our project dependencies should now look like this:
798798
[,clojure]
799799
----
800800
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
801-
org.duct-framework/main {:mvn/version "0.1.5"}
801+
org.duct-framework/main {:mvn/version "0.1.8"}
802802
org.duct-framework/module.logging {:mvn/version "0.6.5"}
803-
org.duct-framework/module.web {:mvn/version "0.12.6"}
804-
org.duct-framework/module.sql {:mvn/version "0.7.1"}
805-
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
806-
com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}}
803+
org.duct-framework/module.web {:mvn/version "0.12.7"}
804+
org.duct-framework/module.sql {:mvn/version "0.8.0"}
805+
org.xerial/sqlite-jdbc {:mvn/version "3.49.1.0"}
806+
com.github.seancorfield/next.jdbc {:mvn/version "1.3.1002"}}
807807
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
808808
----
809809

@@ -1121,13 +1121,13 @@ ClojureScript. As always we begin with our dependencies, and add the
11211121
[,clojure]
11221122
----
11231123
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
1124-
org.duct-framework/main {:mvn/version "0.1.5"}
1124+
org.duct-framework/main {:mvn/version "0.1.8"}
11251125
org.duct-framework/module.cljs {:mvn/version "0.5.0"}
11261126
org.duct-framework/module.logging {:mvn/version "0.6.5"}
1127-
org.duct-framework/module.web {:mvn/version "0.12.6"}
1128-
org.duct-framework/module.sql {:mvn/version "0.7.1"}
1129-
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
1130-
com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}}
1127+
org.duct-framework/module.web {:mvn/version "0.12.7"}
1128+
org.duct-framework/module.sql {:mvn/version "0.8.0"}
1129+
org.xerial/sqlite-jdbc {:mvn/version "3.49.1.0"}
1130+
com.github.seancorfield/next.jdbc {:mvn/version "1.3.1002"}}
11311131
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
11321132
----
11331133

@@ -1324,14 +1324,14 @@ This requires us to once again update the project dependencies:
13241324
[,clojure]
13251325
----
13261326
{:deps {org.clojure/clojure {:mvn/version "1.12.0"}
1327-
org.duct-framework/main {:mvn/version "0.1.5"}
1327+
org.duct-framework/main {:mvn/version "0.1.8"}
13281328
org.duct-framework/module.cljs {:mvn/version "0.5.0"}
13291329
org.duct-framework/module.logging {:mvn/version "0.6.5"}
1330-
org.duct-framework/module.web {:mvn/version "0.12.6"}
1330+
org.duct-framework/module.web {:mvn/version "0.12.7"}
13311331
org.duct-framework/module.sql {:mvn/version "0.8.0"}
1332-
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
1333-
com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}
1334-
no.cjohansen/replicant {:mvn/version "2025.03.02"}
1332+
org.xerial/sqlite-jdbc {:mvn/version "3.49.1.0"}
1333+
com.github.seancorfield/next.jdbc {:mvn/version "1.3.1002"}
1334+
no.cjohansen/replicant {:mvn/version "2025.03.27"}
13351335
cljs-http/cljs-http {:mvn/version "0.1.48"}}
13361336
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
13371337
----
@@ -1408,4 +1408,4 @@ unordered list of todo items. Replicant is smart enough to update only
14081408
the elements that have changed, making updates efficient.
14091409

14101410
Now that we have both a server and client, we can `(reset)` the REPL
1411-
and check the web application at: <http://localhost:8080>
1411+
and check the web application at: <http://localhost:3000>

0 commit comments

Comments
 (0)