bump example version

This commit is contained in:
Michiel Borkent 2023-05-04 17:05:54 +02:00
parent 725c9934d0
commit a270f19c10
10 changed files with 25 additions and 25 deletions

View file

@ -90,20 +90,20 @@ To create a new NPM release:
- Prepare version `package.json`, except patch (if anything should change here)
- Run `bb npm-publish`: this will compile, bump patch version, create tag and and push to npm and Github
- `bb replace-version 0.4.11 0.5.14`
- `bb replace-version 0.4.11 0.6.15`
- Create Github release with updated links from `doc/links.md`
- `bb gh-pages`
To upgrade examples:
```
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.5.14.1.0/g'
rg '0.0.1' --files-with-matches | xargs sed -i '' 's/0.0.6.15.1.0/g'
bb release
cd gh-pages
git checkout -b v0.5.14
git push --set-upstream origin v0.5.14
git checkout -b v0.6.15
git push --set-upstream origin v0.6.15
git checkout gh-pages
cd ..
```
Then make a new release on Github with the `v0.5.14` tag.
Then make a new release on Github with the `v0.6.15` tag.

View file

@ -1,7 +1,7 @@
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.cljs-ajax.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.reagent.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.re-frame.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.promesa.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.pprint.js
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.nrepl.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.cljs-ajax.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.reagent.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.re-frame.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.promesa.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.pprint.js
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.nrepl.js

View file

@ -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.5.14/dist/scittle.nrepl.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.nrepl.js" type="application/javascript"></script>
```
Also include the CLJS file that you want to evaluate with nREPL:

View file

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.js" type="application/javascript"></script>
<script>var SCITTLE_NREPL_WEBSOCKET_PORT = 1340;</script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.nrepl.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.nrepl.js" type="application/javascript"></script>
<script type="application/x-scittle" src="playground.cljs"></script>
</head>
<body>