logseq/deps/outliner
Gabriel Horner 951e7cc841 fix: ns-docstring and large-var deps lints
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
..
.carve fix deps db test and most lints 2024-01-11 14:35:04 -05:00
script fix: remove unused db.sqlite related fns 2023-12-13 12:06:24 -05:00
src/logseq/outliner fix: ns-docstring and large-var deps lints 2024-01-12 17:03:09 -05:00
test/logseq/outliner wip: remove dependency on frontend.db for outliner core 2024-01-02 23:23:49 +08:00
README.md Add readme, lint and CI for outliner dep 2023-09-06 17:03:04 -04:00
bb.edn fix: ns-docstring and large-var deps lints 2024-01-12 17:03:09 -05:00
deps.edn perf: reduce disk writes 2023-12-27 00:06:39 +08:00
nbb.edn Move recalculate-block-path-refs to outliner dep 2023-09-06 16:20:29 -04:00
package.json fix: update nbb-logseq and make entity-plus nbb compatible 2024-01-11 13:10:06 -05:00
yarn.lock fix: update nbb-logseq and make entity-plus nbb compatible 2024-01-11 13:10:06 -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.