Tienson Qin b903e9bd34 log upsert-property! 2 дней назад
..
.carve d0bc649328 fix: outliner tests 3 недель назад
.clj-kondo d447180388 fix: outliner lint and update kondo aliases 6 месяцев назад
script 7ed7fb4f31 enhance: prefer ldb/transact! than d/transact! 6 месяцев назад
src b903e9bd34 log upsert-property! 2 дней назад
test 1736743824 simplify transact ops 4 дней назад
.gitignore 8ba5c15f93 fix: remove cli namespace dependency from electron namespaces 1 год назад
README.md 3e0d57bc32 chore: prefix deps workflows with 'deps-' 2 месяцев назад
bb.edn d6403b7746 dependencies upgrade (#12460) 3 недель назад
deps.edn 26fa937b30 Merge branch 'master' into refactor/sync-undo-semantic-ops 3 недель назад
nbb.edn 658a25b1b5 chore: bump nbb-test-runner 10 месяцев назад
package.json a1b171a20e chore: bump nbb-logseq to feat-db-v34 2 недель назад
yarn.lock a1b171a20e chore: bump nbb-logseq to feat-db-v34 2 недель назад

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.