Skip to content

0.2.0: mafs/clerk template, sci, mafs => mafs.core

Compare
Choose a tag to compare
@sritchie sritchie released this 08 Feb 21:31
· 8 commits to main since this release

From the CHANGELOG:

  • #12 adds a deps-new template that sets up a basic Clerk project with
    Mafs.cljs installed as a dependency. The template lives
    here
    .

  • #7:

    • Renames the mafs namespace to mafs.core to prevent collisions with the
      "mafs" package import. I was hesitant to do this, but of course you can
      always alias mafs.core to mafs when you require it.

    • Upgrades mafs to 0.15.2, adding support for :on-click to the
      mafs.core/Mafs component.

    • Adds mafs.sci with SCI namespace objects for all namespaces, plus a
      namespaces map and a config for easy installation into SCI. The
      namespaces follows the patterns set by the
      https://github.com/babashka/sci.configs repo.

      • mafs.sci/install! allows the user to install Mafs.cljs into SCI's
        shared context with one mutating call.
    • Migrates the project over to clerk-utils and all of its new custom build
      stuff. This let me simplify development, update the README and DEVELOPING
      pages and kill my shadow-cljs.edn file. user.clj gets quite a bit simpler
      too.

    • Adds notes to the interactive docs guide about:

      • using the library with SCI and with Clerk

      • the required stylesheets, since basically nothing works without these!

    • Upgrades the docs notebook to the latest Clerk version.