logseq/deps/outliner
Tienson Qin 90ed070104 bump datascript 2023-12-22 18:04:33 +08:00
..
.carve fix: remove unused db.sqlite related fns 2023-12-13 12:06:24 -05:00
script fix: remove unused db.sqlite related fns 2023-12-13 12:06:24 -05:00
src/logseq/outliner fix: remove unused db.sqlite related fns 2023-12-13 12:06:24 -05:00
test/logseq/outliner chore: move frontend db namespaces to a dedicated parent ns 2023-10-16 17:24:51 -04:00
README.md Add readme, lint and CI for outliner dep 2023-09-06 17:03:04 -04:00
bb.edn Add readme, lint and CI for outliner dep 2023-09-06 17:03:04 -04:00
deps.edn bump datascript 2023-12-22 18:04:33 +08:00
nbb.edn Move recalculate-block-path-refs to outliner dep 2023-09-06 16:20:29 -04:00
package.json bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00
yarn.lock bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00

README.md

Description

This library provides outliner operation related functionality. This library is compatible with ClojureScript and with node/nbb-logseq to respectively provide frontend and commandline functionality.

API

This library is under the parent namespace logseq.outliner. This library provides two main namespaces: logseq.outliner.datascript-report and logseq.outliner.pipeline.

Usage

See the frontend for cljs usage.

Dev

This follows the practices that the Logseq frontend follows. Most of the same linters are used, with configurations that are specific to this library. See this library's CI file for linting examples.

Setup

To run linters and tests, you'll want to install yarn dependencies once:

yarn install

This step is not needed if you're just running the frontend application.

Testing

Testing is done with nbb-logseq and nbb-test-runner. Some basic usage:

# Run all tests
$ yarn test
# List available options
$ yarn test -H
# Run tests with :focus metadata flag
$ yarn test -i focus

Managing dependencies

See standard nbb/cljs library advice in graph-parser.