I recently ran into https://github.com/brandonbloom/fipp/issues/60 when CircleCI updated their implicit Java version to 11 on their Clojure container images. Currently lein-monolith pulls in puget to do its ANSI coloring as well as some canonical printing for project fingerprints. There's not a huge dependency on the actual pretty-printing functionality, so we can simplify some headaches by dropping puget.
Changes
Pull in basic ANSI color coding functionality in lein-monolith.color.
Replace all references to puget.color.ansi with the new color codes.
Replace puget pretty printing with either a simpler colored output or a more basic pprint or pr-str call.
Rewrite fingerprint canonicalization functions to operate at a more basic key/value level instead of leveraging puget for rendering.
Description
I recently ran into https://github.com/brandonbloom/fipp/issues/60 when CircleCI updated their implicit Java version to 11 on their Clojure container images. Currently
lein-monolith
pulls inpuget
to do its ANSI coloring as well as some canonical printing for project fingerprints. There's not a huge dependency on the actual pretty-printing functionality, so we can simplify some headaches by dropping puget.Changes
lein-monolith.color
.puget.color.ansi
with the new color codes.pprint
orpr-str
call.Testing
Local tests, example test project.