logseq/deps/outliner
Tienson Qin b7f8a5eef8 fix: enter to create a tagged block 2024-02-24 23:29:12 +08:00
..
.carve fix: test and lints 2024-02-07 12:23:14 -05:00
script fix: remove unused db.sqlite related fns 2023-12-13 12:06:24 -05:00
src/logseq/outliner fix: enter to create a tagged block 2024-02-24 23:29:12 +08: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 fix: loading all new deps namespaces in nbb 2024-01-15 12:43:16 -05:00
nbb.edn fix: loading all new deps namespaces in nbb 2024-01-15 12:43:16 -05:00
package.json chore: update better-sqlite3 and mldoc in deps to match app 2024-01-23 11:36:32 -05:00
yarn.lock chore: update better-sqlite3 and mldoc in deps to match app 2024-01-23 11:36:32 -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.