logseq/deps/outliner
Tienson Qin 09ad9d6d97 fix: outliner tests 2024-08-03 00:51:08 +08:00
..
.carve fix: circular dependency between outliner and frontend 2024-06-19 17:21:22 -04:00
.clj-kondo fix: remove cli namespace dependency from electron namespaces 2024-06-14 15:50:05 -04:00
script Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
src/logseq/outliner enhance: add a table for property pages 2024-07-31 15:25:03 -04:00
test/logseq/outliner fix: outliner tests 2024-08-03 00:51:08 +08: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: ns-docstring and large-var deps lints 2024-01-12 17:03:09 -05:00
deps.edn chore: bump datascript 2024-07-25 22:28:21 +08:00
nbb.edn fix: can't remove Many values 2024-05-02 18:03:17 +08:00
package.json chore: bump nbb to latest datascript 2024-07-26 21:27:10 -04:00
yarn.lock chore: bump nbb to latest datascript 2024-07-26 21:27:10 -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.