mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
- basic clj-kondo config and cleanup unused binding - Add some unit tests - Add a basic readme
30 lines
674 B
Markdown
30 lines
674 B
Markdown
## Description
|
|
|
|
This library provides common util namespaces to share between the frontend and
|
|
other non-frontend namespaces. This library is not supposed to depend on other logseq
|
|
libraries.
|
|
|
|
## API
|
|
|
|
This library is under the parent namespace `logseq.common`.
|
|
|
|
## Dev
|
|
|
|
This follows the practices that [the Logseq frontend
|
|
follows](/docs/dev-practices.md). Most of the same linters are used, with
|
|
configurations that are specific to this library. See [this library's CI
|
|
file](/.github/workflows/logseq-common.yml) for linting examples.
|
|
|
|
### Testing
|
|
|
|
To run ClojureScript tests:
|
|
```
|
|
clojure -M:test
|
|
```
|
|
|
|
To auto-run tests while writing tests:
|
|
|
|
```
|
|
clojure -M:test -w src
|
|
```
|