0.3.0: custom ClojureScript, new templates
The big addition with this release is mentat.clerk-utils.build.{serve!,halt!,build!}
. These are like the nextjournal.clerk
versions, but build custom ClojureScript.
See https://clerk-utils.mentat.org/#custom-clojurescript-builds for more detail.
The other big news is the clerk-utils/custom
template, for generating projects with all of the custom ClojureScript wisdom built in. This will make it easy to use Clerk plugins like https://mafs.mentat.org/ and friends.
[0.3.0]
-
#13:
-
Adds a shutdown hook to
mentat.clerk-utils.build
that callshalt!
when
the JVM shuts down -
Switches from npm http-server to babashka's http-server, slimming down the
required entries inpackage.json
just a touch more -
adds the
clerk-utils/custom
deps-new
template in theresources
directory, along with an entry in the docs notebook on how to run it. The
resources/clerk-utils/custom
directory has a detailed README, as does the
generated project.
-
-
#11:
-
Adds
mentat.clerk-utils.sci/register-js!
for adding custom JS libraries to
Clerk's SCI environment. -
Adds documentation on how to generate custom ClojureScript builds for Clerk.
-
-
#10:
-
Adds
mentat.clerk-utils.css
withadd-css!
,set-css!
andreset-css!
functions for customizing the CSS served in Clerk's header -
Adds
mentat.clerk-utils.docs
withgit-sha
andgit-dependency
for
injecting git dependency instructions into a notebook -
Adds
mentat.clerk-utils.build
withserve!
,build!
andhalt!
variations that support custom CLJS compilation
-