This commit is contained in:
Michiel Borkent 2022-05-17 21:29:20 +02:00
parent 5521d5e6f0
commit b5a8bc8fef
7 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# Changelog
## v0.1.2
## v0.2.8
- Upgrade to SCI 0.3.1
- Upgrade to Reagent 1.1.0

2
bb.edn
View file

@ -51,7 +51,7 @@
npm-publish {:doc "Updates Github pages with new release build."
:task (do (run 'dist)
#_(run 'bump-version)
(run 'bump-version)
(shell "npm publish"))}
gh-pages {:doc "Updates Github pages with new release build."

View file

@ -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.1.2.1.0/g'
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.2.8.1.0/g'
bb release
cd gh-pages
git checkout -b v0.1.2
git push --set-upstream origin v0.1.2
git checkout -b v0.2.8
git push --set-upstream origin v0.2.8
git checkout gh-pages
cd ..
```
Then make a new release on Github with the `v0.1.2` tag.
Then make a new release on Github with the `v0.2.8` tag.

View file

@ -1,7 +1,7 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.1.2/dist/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.1.2/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
<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 type="application/x-scittle">
(require '[ajax.core :refer [GET]])

View file

@ -1,6 +1,6 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.1.2/dist/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.js" type="application/javascript"></script>
<script type="application/x-scittle">
(defn my-alert []
(js/alert "You clicked!"))

View file

@ -1,9 +1,9 @@
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.1.2/dist/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/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.1.2/dist/scittle.reagent.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.2.8/dist/scittle.reagent.js" type="application/javascript"></script>
<script type="application/x-scittle">
(require '[reagent.core :as r]
'[reagent.dom :as rdom])

View file

@ -72,7 +72,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.1.2">releases
the <a href="https://github.com/babashka/scittle/releases/tag/v0.2.8">releases
page</a>.
Include <tt>scittle.js</tt> and write a <tt>script</tt> tag