logseq/deps/outliner
Gabriel Horner 2b782c601b chore: add db tests and start a logseq.db testing ns
Add acceptance test for newer validations and some useful unit tests for
untested fns at different layers
2024-09-27 14:28:30 -04:00
..
.carve fix: circular dependency between outliner and frontend 2024-06-19 17:21:22 -04:00
.clj-kondo fix: stop shadowing vars in deps and turn on related lint 2024-08-23 16:58:08 -04:00
script Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
src/logseq/outliner chore: add db tests and start a logseq.db testing ns 2024-09-27 14:28:30 -04:00
test/logseq/outliner chore: add db tests and start a logseq.db testing ns 2024-09-27 14:28:30 -04:00
.gitignore fix: remove cli namespace dependency from electron namespaces 2024-06-14 15:50:05 -04:00
README.md Add readme, lint and CI for outliner dep 2023-09-06 17:03:04 -04:00
bb.edn fix: deps lints 2024-09-04 08:57:21 -04:00
deps.edn chore: bump datascript 2024-08-22 21:39:54 +08:00
nbb.edn fix: can't remove Many values 2024-05-02 18:03:17 +08:00
package.json chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04:00
yarn.lock chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04: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.