From 25feaf2641b3d497f4790e32654794e7358feb53 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 22 Dec 2022 21:26:47 +0100 Subject: [PATCH] Update versions --- CHANGELOG.md | 2 +- bb.edn | 5 ++++- doc/dev.md | 12 +++++++----- doc/nrepl/README.md | 2 +- doc/nrepl/index.html | 4 ++-- resources/public/codemirror.html | 6 +++--- resources/public/html/cljs-ajax.html | 4 ++-- resources/public/html/export.html | 2 +- resources/public/html/reagent.html | 4 ++-- resources/public/index.html | 2 +- 10 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61cd473..ef37f05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - Add all public vars of `cljs-ajax` `ajax.core` - Upgrade several built-in libraries -## v0.4.11 +## v0.5.12 - 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/). diff --git a/bb.edn b/bb.edn index 1ca13e0..80f7d0a 100644 --- a/bb.edn +++ b/bb.edn @@ -55,7 +55,10 @@ (run 'bump-version) (shell "npm publish"))} - replace-version {:doc "Ported from bash one-liners. Expects two versions. TODO: port to Clojure." + replace-version {:doc "Ported from bash one-liners. Expects two versions. + TODO: port to Clojure. + TODO: skip changelog.md + " :task (let [[prev next] *command-line-args*] (-> (process ["bash" "-c" diff --git a/doc/dev.md b/doc/dev.md index f2110a1..a691ff2 100644 --- a/doc/dev.md +++ b/doc/dev.md @@ -89,18 +89,20 @@ script/release.clj To create a new NPM release: - Prepare minor version in `package.json` if it should be bumped -- Run `bb npm-publish` +- Run `bb npm-publish`: this will compile, bump minor version, create tag and and push to npm and Github +- Create Github release with updated links + To upgrade examples: ``` -rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.4.11.1.0/g' +rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.5.12.1.0/g' bb release cd gh-pages -git checkout -b v0.4.11 -git push --set-upstream origin v0.4.11 +git checkout -b v0.5.12 +git push --set-upstream origin v0.5.12 git checkout gh-pages cd .. ``` -Then make a new release on Github with the `v0.4.11` tag. +Then make a new release on Github with the `v0.5.12` tag. diff --git a/doc/nrepl/README.md b/doc/nrepl/README.md index 2f08b4b..798f2ee 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 b2ed06b..c7ea1c7 100644 --- a/doc/nrepl/index.html +++ b/doc/nrepl/index.html @@ -1,9 +1,9 @@ - + - + diff --git a/resources/public/codemirror.html b/resources/public/codemirror.html index 0fdbdc5..64352f5 100644 --- a/resources/public/codemirror.html +++ b/resources/public/codemirror.html @@ -1,12 +1,12 @@ - + - - + + - + + + + - +