tatr-ql 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,2 +1,27 @@
1
- # tatr
2
- Task Tracker (Nodejs Version)
1
+ # tatr-ql
2
+ tatr-ql is a Node.js reimplementation of [tsoding/tatr](https://github.com/tsoding/tatr), a Task Tracker Query Language created by [Tsoding](https://github.com/tsoding).
3
+
4
+ The original project is implemented in C/C++. This project brings the same concept and functionality to the JavaScript/Node.js ecosystem.
5
+
6
+ > [!NOTE]
7
+ > This is my first piece of AI slop. The tests were AI-generated. Honestly, the main things I implemented myself were the `Zod` schema validation and the integration of [TermDom](https://termdom.org/) with [ZikoJS](https://github.com/zikojs/ziko/) for the UI.
8
+ I could build the rest from scratch, but I don't have the time right now. I mainly needed the API to monitor my 50+ ZikoJS packages on npm.
9
+
10
+ ## Install
11
+
12
+ ```console
13
+ npm i tatr-ql -g
14
+ ```
15
+
16
+ ## Task.md
17
+
18
+ ```md
19
+ # <title>
20
+
21
+ - STATUS: (OPEN|CLOSED)
22
+ - PRIORITY: <number>
23
+ - TAGS: <comma-and-whitespace-separated-list-of-tags>
24
+ [other properties]
25
+
26
+ [description]
27
+ ```
package/bin/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import { main } from "../src/cli.js";
3
3
 
4
4
  main().catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tatr-ql",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Task Tracker (Nodejs Version)",
5
5
  "keywords": [
6
6
  "task",
@@ -27,7 +27,7 @@
27
27
  "test:run": "vitest run"
28
28
  },
29
29
  "bin": {
30
- "tatr": "./bin/tatr.js"
30
+ "tatr": "./bin/index.js"
31
31
  },
32
32
  "dependencies": {
33
33
  "@b9g/termdom": "^0.1.6",
package/src/cli.js CHANGED
@@ -186,7 +186,7 @@ export const main = async (argv = process.argv.slice(2)) => {
186
186
  case "help":
187
187
  case "-h":
188
188
  case "--help":
189
- Help().mount(document.body);
189
+ Help({version : VERSION}).mount(document.body);
190
190
  await StartPager()
191
191
  break;
192
192
  case "version":
@@ -0,0 +1,6 @@
1
+ # Remove duplicate tags
2
+
3
+ - STATUS: OPEN
4
+ - PRIORITY: 0
5
+ - TAGS: bug, bug
6
+
@@ -1,4 +1,4 @@
1
- # Task 1
1
+ # Fix global install issue
2
2
 
3
3
  - STATUS: OPEN
4
4
  - PRIORITY: 0