@@ -65,7 +65,7 @@ content:
65
65
[,clojure]
66
66
----
67
67
{: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 "}}
69
69
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
70
70
----
71
71
@@ -75,13 +75,13 @@ Duct can now be run by invoking the `:duct` alias.
75
75
----
76
76
$ clojure -M:duct
77
77
Usage:
78
- clojure -M:duct [--main | --repl]
78
+ clojure -M:duct [--init | -- main | --nrepl | --repl]
79
79
Options:
80
- -c, --cider Start an NREPL server with CIDER middleware
80
+ -c, --cider Add CIDER middleware (used with --nrepl)
81
81
--init Create a blank duct.edn config file
82
82
-k, --keys KEYS Limit --main to start only the supplied keys
83
83
-p, --profiles PROFILES A concatenated list of profile keys
84
- -n, --nrepl Start an NREPL server
84
+ -n, --nrepl Start an nREPL server
85
85
-m, --main Start the application
86
86
-r, --repl Start a command-line REPL
87
87
-s, --show Print out the expanded configuration and exit
@@ -242,7 +242,7 @@ We'll first add the new dependency:
242
242
[,clojure]
243
243
----
244
244
{: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 "}
246
246
org.duct-framework/module.logging {:mvn/version "0.6.5"}}
247
247
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
248
248
----
@@ -557,9 +557,9 @@ modules: logging and web.
557
557
[,clojure]
558
558
----
559
559
{: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 "}
561
561
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 "}}
563
563
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
564
564
----
565
565
@@ -798,12 +798,12 @@ Our project dependencies should now look like this:
798
798
[,clojure]
799
799
----
800
800
{: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 "}
802
802
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 "}}
807
807
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
808
808
----
809
809
@@ -1121,13 +1121,13 @@ ClojureScript. As always we begin with our dependencies, and add the
1121
1121
[,clojure]
1122
1122
----
1123
1123
{: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 "}
1125
1125
org.duct-framework/module.cljs {:mvn/version "0.5.0"}
1126
1126
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 "}}
1131
1131
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
1132
1132
----
1133
1133
@@ -1324,14 +1324,14 @@ This requires us to once again update the project dependencies:
1324
1324
[,clojure]
1325
1325
----
1326
1326
{: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 "}
1328
1328
org.duct-framework/module.cljs {:mvn/version "0.5.0"}
1329
1329
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 "}
1331
1331
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 "}
1335
1335
cljs-http/cljs-http {:mvn/version "0.1.48"}}
1336
1336
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
1337
1337
----
@@ -1408,4 +1408,4 @@ unordered list of todo items. Replicant is smart enough to update only
1408
1408
the elements that have changed, making updates efficient.
1409
1409
1410
1410
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