From a049c8eddb131753bc25e760829623be768efdd3 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 31 Aug 2022 17:32:52 +0200 Subject: [PATCH] Bump version --- CHANGELOG.md | 9 ++++++--- bb.edn | 10 +++++----- doc/dev.md | 8 ++++---- doc/nrepl/README.md | 2 +- doc/nrepl/index.html | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- resources/public/html/cljs-ajax.html | 4 ++-- resources/public/html/export.html | 2 +- resources/public/html/reagent.html | 4 ++-- resources/public/index.html | 2 +- 11 files changed, 27 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2832921..f60e269 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ # Changelog -## v0.2.9 -- Add support for promesa +## 0.3.9 -## v0.2.8 +- Add `scittle.promesa.js` plugin. This gives access to the [promesa](https://cljdoc.org/d/funcool/promesa/8.0.450/doc/user-guide) library. +- Add `scittle.pprint.js` plugin. This gives access to [cljs.pprint](https://cljs.github.io/api/cljs.pprint/). +- Improve error messages + +## v0.3.9 - Upgrade to SCI 0.3.1 - Upgrade to Reagent 1.1.0 diff --git a/bb.edn b/bb.edn index 6432ee4..1ca13e0 100644 --- a/bb.edn +++ b/bb.edn @@ -50,14 +50,11 @@ (shell "git push --atomic origin main" (str "v" (:version (json/parse-string (slurp "package.json") true)))))} - npm-publish {:doc "Updates Github pages with new release build." + npm-publish {:doc "Updates NPM ibrary" :task (do (run 'dist) (run 'bump-version) (shell "npm publish"))} - gh-pages {:doc "Updates Github pages with new release build." - :task (shell "script/release.clj")} - replace-version {:doc "Ported from bash one-liners. Expects two versions. TODO: port to Clojure." :task (let [[prev next] *command-line-args*] @@ -65,4 +62,7 @@ (format "rg %s --files-with-matches | xargs sed -i '' 's/%s/%s/g'" prev prev next)] {:inherit true}) - p/check))}}} + p/check))} + + gh-pages {:doc "Updates Github pages with new release build." + :task (shell "script/release.clj")}}} diff --git a/doc/dev.md b/doc/dev.md index c32b3b0..bbcbda8 100644 --- a/doc/dev.md +++ b/doc/dev.md @@ -91,13 +91,13 @@ To create a new release: To upgrade examples: ``` -rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.2.8.1.0/g' +rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.3.9.1.0/g' bb release cd gh-pages -git checkout -b v0.2.8 -git push --set-upstream origin v0.2.8 +git checkout -b v0.3.9 +git push --set-upstream origin v0.3.9 git checkout gh-pages cd .. ``` -Then make a new release on Github with the `v0.2.8` tag. +Then make a new release on Github with the `v0.3.9` tag. diff --git a/doc/nrepl/README.md b/doc/nrepl/README.md index 266765f..f6b3afe 100644 --- a/doc/nrepl/README.md +++ b/doc/nrepl/README.md @@ -21,7 +21,7 @@ the normal routine: ``` html - + ``` Also include the CLJS file that you want to evaluate with nREPL: diff --git a/doc/nrepl/index.html b/doc/nrepl/index.html index 1882a05..e3b7729 100644 --- a/doc/nrepl/index.html +++ b/doc/nrepl/index.html @@ -1,9 +1,9 @@ - + - + diff --git a/package-lock.json b/package-lock.json index 56df0fc..f5a9e3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "react": "17.0.1", "react-dom": "17.0.1" }, - "version": "0.2.8" + "version": "0.3.9" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -129,5 +129,5 @@ } } }, - "version": "0.2.8" + "version": "0.3.9" } diff --git a/package.json b/package.json index 79befa3..ad17e26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scittle", - "version": "0.2.8", + "version": "0.3.9", "files": [ "dist" ], diff --git a/resources/public/html/cljs-ajax.html b/resources/public/html/cljs-ajax.html index f5ffb9d..3005882 100644 --- a/resources/public/html/cljs-ajax.html +++ b/resources/public/html/cljs-ajax.html @@ -1,7 +1,7 @@ - - + + + + - +