logseq/deps/outliner
Gabriel Horner 7a96fc0e32 fix: show blank page error to user instead of silent failure
also fix outdated lint
2024-08-27 17:11:36 -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 fix: show blank page error to user instead of silent failure 2024-08-27 17:11:36 -04:00
test/logseq/outliner fix: pages of different types can use the same name 2024-08-06 13:08:35 +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-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.