Bump version
This commit is contained in:
parent
2cb9e7de68
commit
a049c8eddb
|
@ -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
|
||||
|
|
10
bb.edn
10
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")}}}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -21,7 +21,7 @@ the normal routine:
|
|||
|
||||
``` html
|
||||
<script>var SCITTLE_NREPL_WEBSOCKET_PORT = 1340;</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.nrepl.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.nrepl.js" type="application/javascript"></script>
|
||||
```
|
||||
|
||||
Also include the CLJS file that you want to evaluate with nREPL:
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.js" type="application/javascript"></script>
|
||||
<script>var SCITTLE_NREPL_WEBSOCKET_PORT = 1340;</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.nrepl.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.nrepl.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle" src="playground.cljs"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "scittle",
|
||||
"version": "0.2.8",
|
||||
"version": "0.3.9",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle">
|
||||
(require '[ajax.core :refer [GET]])
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle">
|
||||
(defn my-alert []
|
||||
(js/alert "You clicked!"))
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.js" type="application/javascript"></script>
|
||||
<script crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></script>
|
||||
<script crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.reagent.js" type="application/javascript"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.3.9/dist/scittle.reagent.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle">
|
||||
(require '[reagent.core :as r]
|
||||
'[reagent.dom :as rdom])
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
To embed scittle in your website, it is recommended to use the links
|
||||
published to
|
||||
the <a href="https://github.com/babashka/scittle/releases/tag/v0.2.8">releases
|
||||
the <a href="https://github.com/babashka/scittle/releases/tag/v0.3.9">releases
|
||||
page</a>.
|
||||
|
||||
Include <tt>scittle.js</tt> and write a <tt>script</tt> tag
|
||||
|
|
Loading…
Reference in a new issue