Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v24
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-lock.json
pandoc-zotxt.lua/
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

VERSION=$(shell jq .version extension/manifest.json -r)

dist: test zotxt-$(VERSION).xpi ;
dist: unittest zotxt-$(VERSION).xpi ;

notest: zotxt-$(VERSION).xpi ;

zotxt-$(VERSION).xpi: extension/*.js extension/resource/translators/EasyKeyExporter.js
zotxt-$(VERSION).xpi: extension/*.js extension/manifest.json extension/resource/translators/EasyKeyExporter.js
cd extension && zip -r ../zotxt-$(VERSION).xpi *

clean:
Expand All @@ -17,3 +15,7 @@ unittest:

test: unittest
cd test && ruby test.rb

format:
prettier -w .
rufo .
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ For example:

See [zotxt-emacs](https://github.com/egh/zotxt-emacs)

Zotxt API
---------
## Zotxt API

The Zotxt API is exposed via `http://127.0.0.1:23119/zotxt/`. To get an idea of what is possible, your best bet is probably to have a look at the `test/test.rb` file.
Loading