Skip to content

Commit 0d4de5b

Browse files
authored
test & ci: bump deps, canary test clj-mergetool (#263)
Bump test and ci deps and tools to current releases. Skipped kaocha v1.88.1376 as it seems to break clojure v1.9 compatibility. We'll wait to see if that was intentional before upgrading. Add clj-mergetool to our lib canary tests. Closes #262.
1 parent 880563f commit 0d4de5b

File tree

9 files changed

+48
-22
lines changed

9 files changed

+48
-22
lines changed

.clj-kondo/taoensso/encore/config.edn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{:hooks {:analyze-call {taoensso.encore/defalias taoensso.encore/defalias}}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
(ns taoensso.encore
2+
(:require
3+
[clj-kondo.hooks-api :as hooks]))
4+
5+
(defn defalias [{:keys [node]}]
6+
(let [[sym-raw src-raw] (rest (:children node))
7+
src (if src-raw src-raw sym-raw)
8+
sym (if src-raw
9+
sym-raw
10+
(symbol (name (hooks/sexpr src))))]
11+
{:node (with-meta
12+
(hooks/list-node
13+
[(hooks/token-node 'def)
14+
(hooks/token-node (hooks/sexpr sym))
15+
(hooks/token-node (hooks/sexpr src))])
16+
(meta src))}))

.github/workflows/native-image-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ windows, ubuntu, macos ]
20-
java-version: [ '22' ]
20+
java-version: [ '22.0.1' ]
2121
test: [ native, native-sci ]
2222
clojure-version: [ '1.11', '1.12' ]
2323

README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Some projects using rewrite-clj v1
5151
// no unit tests:
5252
* https://github.com/lambdaisland/classpath[classpath] {not-canary-tested} - Classpath/classloader/deps.edn related utilities
5353
* https://github.com/nextjournal/clerk[clerk] {canary-tested} - Local-First Notebooks for Clojure
54+
* https://github.com/kurtharriger/clj-mergetool[clj-mergetool] {canary-tested} - Smarter git mergetool for clojure and edn
5455
* https://github.com/weavejester/cljfmt[cljfmt] {canary-tested} - A tool for formatting Clojure code
5556
* https://github.com/greglook/cljstyle[cljstyle] {canary-tested} - A tool for formatting Clojure code
5657
* https://github.com/clojure-lsp/clojure-lsp[clojure-lsp] {canary-tested} - Language Server (LSP) for Clojure

bb.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
lread/status-line {:git/url "https://github.com/lread/status-line.git"
99
:sha "cf44c15f30ea3867227fa61ceb823e5e942c707f"}
1010
etaoin/etaoin {:mvn/version "1.0.40"}
11-
io.github.babashka/neil {:git/tag "v0.2.63" :git/sha "076fb83"}}
11+
io.github.babashka/neil {:git/tag "v0.3.65" :git/sha "9a79582"}}
1212
:tasks {;; setup
1313
:requires ([clojure.string :as string]
1414
[lread.status-line :as status])

deps.edn

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
cli-matic/cli-matic {:mvn/version "0.5.4"}}}
102102

103103
:apply-import-vars {:override-deps {org.clojure/clojure {:mvn/version "1.11.2"}}
104-
:extra-deps {metosin/malli {:mvn/version "0.15.0"}
104+
:extra-deps {metosin/malli {:mvn/version "0.16.0"}
105105
io.aviso/pretty {:mvn/version "1.4.4"}}
106106
:ns-default lread.apply-import-vars}
107107

@@ -147,12 +147,13 @@
147147
;;
148148
;; Maintenance support
149149
;;
150-
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.8.1185"}
151-
org.slf4j/slf4j-simple {:mvn/version "2.0.12"} ;; to rid ourselves of logger warnings
150+
:outdated {:extra-deps {com.github.liquidz/antq {:mvn/version "2.8.1194"}
151+
org.slf4j/slf4j-simple {:mvn/version "2.0.13"} ;; to rid ourselves of logger warnings
152152
}
153153
:override-deps {org.clojure/clojure {:mvn/version "1.11.1"}}
154154
:main-opts ["-m" "antq.core"
155155
"--ignore-locals"
156+
"--exclude=lambdaisland/[email protected]" ;; breaks clojure 1.9 compat, let's wait to see if that was intentional
156157
"--exclude=lambdaisland/[email protected]" ;; https://github.com/lambdaisland/kaocha/issues/208
157158
"--exclude=com.bhauman/[email protected]" ;; deployment was botched, some components missing
158159
"--exclude=org.clojure/[email protected]" ;; no evidence yet that this is an official release

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"karma-cljs-test": "^0.1.0",
77
"karma-junit-reporter": "^2.0.0",
88
"karma-spec-reporter": "^0.0.36",
9-
"shadow-cljs": "^2.28.2"
9+
"shadow-cljs": "^2.28.3"
1010
}
1111
}

script/test_libs.clj

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
:show-deps-fn lein-deps-tree
273273
:test-cmds ["lein kaocha"]}
274274
{:name "antq"
275-
:version "2.8.1185"
275+
:version "2.8.1194"
276276
:platforms [:clj]
277277
:github-release {:repo "liquidz/antq"}
278278
:patch-fn deps-edn-v1-patch
@@ -295,6 +295,13 @@
295295
:patch-fn deps-edn-v1-patch
296296
:show-deps-fn cli-deps-tree
297297
:test-cmds ["bb test:clj :kaocha/reporter '[kaocha.report/documentation]'"]}
298+
{:name "clj-mergetool"
299+
:version "0.2.1"
300+
:platforms [:clj]
301+
:github-release {:repo "kurtharriger/clj-mergetool"}
302+
:patch-fn deps-edn-v1-patch
303+
:show-deps-fn cli-deps-tree
304+
:test-cmds ["clojure -T:build test"]}
298305
{:name "cljfmt"
299306
:version "0.12.0"
300307
:platforms [:clj :cljs]
@@ -315,7 +322,7 @@
315322
"bin/test unit"]}
316323
{:name "clojure-lsp"
317324
:platforms [:clj]
318-
:version "2024.03.13-13.11.00"
325+
:version "2024.03.31-19.10.13"
319326
:github-release {:repo "clojure-lsp/clojure-lsp"}
320327
:patch-fn clojure-lsp-patch
321328
:show-deps-fn clojure-lsp-deps
@@ -384,7 +391,7 @@
384391
:show-deps-fn cli-deps-tree
385392
:test-cmds ["clojure -M:test"]}
386393
{:name "rewrite-edn"
387-
:version "0.4.7"
394+
:version "0.4.8"
388395
:platforms [:clj]
389396
:github-release {:repo "borkdude/rewrite-edn"
390397
:version-prefix "v"

0 commit comments

Comments
 (0)