Skip to content

Commit 0ad3795

Browse files
Doc add/update library to nbb-logseq
1 parent 16f641d commit 0ad3795

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,19 @@ To QA that your branch works as expected on a dependent repository e.g.
144144
* `yarn add /path/to/nbb-logseq` in a dependent's repo.
145145
* Run `yarn nbb-logseq FILE.cljs` to run a given file. The graph-parser can confirm all it's namespaces load nbb-logseq with `bb test:load-all-namespaces-with-nbb`.
146146

147+
### Update or Add a Library
148+
149+
If our forked datascript or datascript-transit has been updated, then do the following:
150+
* Update https://github.com/logseq/nbb-features to include latest updates to our datascript fork
151+
* Update bb.edn and update `datascript/deps` or `datascript-transit/deps` to point to latest :git/sha.
152+
* Cut a new release
153+
154+
If a new ClojureScript library needs to be made nbb compatible:
155+
* Add a new feature directory under `features/` using other feature directories as an example
156+
* Be sure to add a nbb_features.edn, a deps.edn and a `nbb.impl.YOUR-LIBRARY`
157+
* Add a new dep to bb.edn using others like `rewrite-clj/deps` as an example
158+
* Cut a new release
159+
147160
### DB Release process
148161

149162
Until the [database version](#database-version) has a stable desktop release, `nbb-logseq` uses github versioning. With github versioning, releases are quick and the release is built locally on a developer's machine. To build a new version:

0 commit comments

Comments
 (0)