Skip to content

Commit 52af92d

Browse files
Build with core.match dep and latest nbb
Had to fork nbb to fix sci version conflict issue
1 parent cacddff commit 52af92d

31 files changed

+2513
-2513
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Unreleased
77
* Alpha version of nbb-logseq which supports the database version
8-
* 1.3.X nbb with more included libraries: cljs-bean.transit, rewrite-clj and ordered
8+
* 1.3.X nbb with more included libraries: cljs-bean.transit, rewrite-clj, core.match and ordered
99
* Versioned as logseq/nbb-logseq#feat-db-*
1010

1111
## 1.2.173

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $ nbb-logseq -e '(+ 1 2 3)'
3636

3737
## Database Version
3838

39-
To use `nbb-logseq` with [the database version](https://github.com/logseq/logseq#-database-version), specify the version as `logseq/nbb-logseq#feat-db-v26`. This version is only available through github and has not been released to npm. An npm version will be released when the database version has a desktop release.
39+
To use `nbb-logseq` with [the database version](https://github.com/logseq/logseq#-database-version), specify the version as `logseq/nbb-logseq#feat-db-v27`. This version is only available through github and has not been released to npm. An npm version will be released when the database version has a desktop release.
4040

4141
Unlike file graphs, DB graphs can be written by scripts. This is powerful and opens up more use cases for scripting. To write your own script, you'll need a package.json and nbb.edn. Use [this example package.json](https://github.com/logseq/publish-spa/blob/feat/db/package.json) and [this example nbb.edn](https://github.com/logseq/publish-spa/blob/feat/db/nbb.edn). Some example database graph scripts:
4242

bb.edn

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{:paths ["script"]
22
:deps
33
{nbb.build/nbb.build
4-
#_{:git/url "https://github.com/babashka/nbb"
4+
{:git/url "https://github.com/babashka/nbb"
55
:git/sha "62e749cdbd6706ccdbaeaf6017e4bfed5fc54704"
6-
:deps/root "build"
7-
:exclusions [org.babashka/sci]}
8-
{:local/root "../nbb/build"}
6+
:deps/root "build"}
7+
#_{:local/root "../nbb/build"}
98
nbb/nbb
10-
#_{:git/url "https://github.com/babashka/nbb"
11-
:git/sha "62e749cdbd6706ccdbaeaf6017e4bfed5fc54704"
9+
;; Use fork temporarily until sci build error is fixed upstream
10+
{:git/url "https://github.com/logseq/nbb"
11+
:git/sha "2486d72cbddb70d4c4047be9c063122fd78f6835"
1212
:exclusions [org.babashka/sci]}
13-
{:local/root "../nbb"}
13+
#_{:local/root "../nbb"}
1414
;; org.babashka/sci
1515
;; {:mvn/version "0.10.46"}
1616
datascript/deps

lib/nbb_api.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)