Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Aug 31, 2022
1 parent 2cb9e7d commit a049c8e
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 24 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@
(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*]
(-> (process ["bash" "-c"
(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")}}}
8 changes: 4 additions & 4 deletions doc/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion doc/nrepl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions doc/nrepl/index.html
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scittle",
"version": "0.2.8",
"version": "0.3.9",
"files": [
"dist"
],
Expand Down
4 changes: 2 additions & 2 deletions resources/public/html/cljs-ajax.html
Original file line number Diff line number Diff line change
@@ -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]])

Expand Down
2 changes: 1 addition & 1 deletion resources/public/html/export.html
Original file line number Diff line number Diff line change
@@ -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!"))
Expand Down
4 changes: 2 additions & 2 deletions resources/public/html/reagent.html
Original file line number Diff line number Diff line change
@@ -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])
Expand Down
2 changes: 1 addition & 1 deletion resources/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2><a href="#usage">Usage</a></h2>

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
Expand Down

0 comments on commit a049c8e

Please sign in to comment.