bump example version
This commit is contained in:
parent
725c9934d0
commit
a270f19c10
|
@ -9,7 +9,7 @@
|
||||||
- Upgrade `sci.configs` to `"33bd51e53700b224b4cb5bda59eb21b62f962745"`
|
- Upgrade `sci.configs` to `"33bd51e53700b224b4cb5bda59eb21b62f962745"`
|
||||||
- Update nREPL implementation: implement `eldoc` (`info`, `lookup`) ([@benjamin-asdf](https://github.com/benjamin-asdf))
|
- Update nREPL implementation: implement `eldoc` (`info`, `lookup`) ([@benjamin-asdf](https://github.com/benjamin-asdf))
|
||||||
|
|
||||||
## v0.5.14 (2023-01-05)
|
## v0.6.15 (2023-01-05)
|
||||||
|
|
||||||
- Fix destructuring in `defmethod` (by upgrading SCI)
|
- Fix destructuring in `defmethod` (by upgrading SCI)
|
||||||
|
|
||||||
|
|
10
doc/dev.md
10
doc/dev.md
|
@ -90,20 +90,20 @@ To create a new NPM release:
|
||||||
|
|
||||||
- Prepare version `package.json`, except patch (if anything should change here)
|
- 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
|
- 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`
|
- Create Github release with updated links from `doc/links.md`
|
||||||
- `bb gh-pages`
|
- `bb gh-pages`
|
||||||
|
|
||||||
To upgrade examples:
|
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
|
bb release
|
||||||
cd gh-pages
|
cd gh-pages
|
||||||
git checkout -b v0.5.14
|
git checkout -b v0.6.15
|
||||||
git push --set-upstream origin v0.5.14
|
git push --set-upstream origin v0.6.15
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
cd ..
|
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.
|
||||||
|
|
14
doc/links.md
14
doc/links.md
|
@ -1,7 +1,7 @@
|
||||||
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.js
|
https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.js
|
||||||
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.cljs-ajax.js
|
https://cdn.jsdelivr.net/npm/scittle@0.6.15/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.6.15/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.6.15/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.6.15/dist/scittle.promesa.js
|
||||||
https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.pprint.js
|
https://cdn.jsdelivr.net/npm/scittle@0.6.15/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.nrepl.js
|
||||||
|
|
|
@ -21,7 +21,7 @@ the normal routine:
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script>var SCITTLE_NREPL_WEBSOCKET_PORT = 1340;</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>
|
||||||
```
|
```
|
||||||
|
|
||||||
Also include the CLJS file that you want to evaluate with nREPL:
|
Also include the CLJS file that you want to evaluate with nREPL:
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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>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>
|
<script type="application/x-scittle" src="playground.cljs"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script async src="https://ga.jspm.io/npm:es-module-shims@1.6.1/dist/es-module-shims.js"></script>
|
<script async src="https://ga.jspm.io/npm:es-module-shims@1.6.1/dist/es-module-shims.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.js"></script>
|
||||||
<script>scittle.core.disable_auto_eval();</script>
|
<script>scittle.core.disable_auto_eval();</script>
|
||||||
<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
|
<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
|
||||||
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
|
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.reagent.js"> </script>
|
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.reagent.js"> </script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.re-frame.js"> </script>
|
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.re-frame.js"> </script>
|
||||||
<script type="importmap">
|
<script type="importmap">
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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 src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
|
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.cljs-ajax.js" type="application/javascript"></script>
|
||||||
<script type="application/x-scittle">
|
<script type="application/x-scittle">
|
||||||
(require '[ajax.core :refer [GET]])
|
(require '[ajax.core :refer [GET]])
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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 type="application/x-scittle">
|
<script type="application/x-scittle">
|
||||||
(defn my-alert []
|
(defn my-alert []
|
||||||
(js/alert "You clicked!"))
|
(js/alert "You clicked!"))
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<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 crossorigin src="https://unpkg.com/react@17/umd/react.production.min.js"></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 crossorigin src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/scittle@0.5.14/dist/scittle.reagent.js" type="application/javascript"></script>
|
<script src="https://cdn.jsdelivr.net/npm/scittle@0.6.15/dist/scittle.reagent.js" type="application/javascript"></script>
|
||||||
<script type="application/x-scittle">
|
<script type="application/x-scittle">
|
||||||
(require '[reagent.core :as r]
|
(require '[reagent.core :as r]
|
||||||
'[reagent.dom :as rdom])
|
'[reagent.dom :as rdom])
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
|
|
||||||
To embed scittle in your website, it is recommended to use the links
|
To embed scittle in your website, it is recommended to use the links
|
||||||
published to
|
published to
|
||||||
the <a href="https://github.com/babashka/scittle/releases/tag/v0.5.14">releases
|
the <a href="https://github.com/babashka/scittle/releases/tag/v0.6.15">releases
|
||||||
page</a>.
|
page</a>.
|
||||||
|
|
||||||
Include <tt>scittle.js</tt> and write a <tt>script</tt> tag
|
Include <tt>scittle.js</tt> and write a <tt>script</tt> tag
|
||||||
|
|
Loading…
Reference in a new issue