@qelos/aidev 0.3.1 → 0.4.0
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/.env.aidev.example +20 -1
- package/README.md +34 -2
- package/dist/__tests__/clickup-format.test.d.ts +2 -0
- package/dist/__tests__/clickup-format.test.d.ts.map +1 -0
- package/dist/__tests__/clickup-format.test.js +256 -0
- package/dist/__tests__/clickup-format.test.js.map +1 -0
- package/dist/__tests__/hooks.test.d.ts +2 -0
- package/dist/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/__tests__/hooks.test.js +329 -0
- package/dist/__tests__/hooks.test.js.map +1 -0
- package/dist/__tests__/init.test.js +33 -0
- package/dist/__tests__/init.test.js.map +1 -1
- package/dist/__tests__/providers.test.js +166 -0
- package/dist/__tests__/providers.test.js.map +1 -1
- package/dist/cli.js +5 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +7 -1
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +125 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/run.d.ts +2 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +122 -18
- package/dist/commands/run.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/config.js.map +1 -1
- package/dist/hooks.d.ts +106 -0
- package/dist/hooks.d.ts.map +1 -0
- package/dist/hooks.js +146 -0
- package/dist/hooks.js.map +1 -0
- package/dist/providers/clickup-format.d.ts +16 -0
- package/dist/providers/clickup-format.d.ts.map +1 -0
- package/dist/providers/clickup-format.js +255 -0
- package/dist/providers/clickup-format.js.map +1 -0
- package/dist/providers/clickup.d.ts.map +1 -1
- package/dist/providers/clickup.js +8 -6
- package/dist/providers/clickup.js.map +1 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +2 -1
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/trello.d.ts +32 -0
- package/dist/providers/trello.d.ts.map +1 -0
- package/dist/providers/trello.js +227 -0
- package/dist/providers/trello.js.map +1 -0
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
package/.env.aidev.example
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Can also be set as a shell export (e.g. in ~/.zshrc) instead.
|
|
4
4
|
# AIDEV_ENV_EXTEND=~/.aidev.global
|
|
5
5
|
|
|
6
|
-
# PROVIDER: clickup | jira | linear | local | monday | notion
|
|
6
|
+
# PROVIDER: clickup | jira | linear | local | monday | notion | trello
|
|
7
7
|
PROVIDER=clickup
|
|
8
8
|
|
|
9
9
|
# ── ClickUp (when PROVIDER=clickup) ──────────────────────────
|
|
@@ -44,6 +44,21 @@ CLICKUP_IN_REVIEW_STATUS=review
|
|
|
44
44
|
# NOTION_PENDING_STATUS=pending
|
|
45
45
|
# NOTION_IN_REVIEW_STATUS=review
|
|
46
46
|
|
|
47
|
+
# ── Trello (when PROVIDER=trello) ───────────────────────────────
|
|
48
|
+
# Developer API key and token from https://trello.com/power-ups/admin (or trello.com/app-key)
|
|
49
|
+
# TRELLO_API_KEY=
|
|
50
|
+
# TRELLO_TOKEN=
|
|
51
|
+
# TRELLO_BOARD_ID= # Short board ID from the board URL
|
|
52
|
+
# TRELLO_LABEL= # Label name on cards to pick up; set * for all cards assigned to the token user
|
|
53
|
+
# List names on the board (must exist): open / pending / in progress / review workflow
|
|
54
|
+
# TRELLO_OPEN_LIST=To Do
|
|
55
|
+
# TRELLO_PENDING_LIST=Blocked
|
|
56
|
+
# TRELLO_IN_PROGRESS_LIST=Doing
|
|
57
|
+
# TRELLO_IN_REVIEW_LIST=In Review
|
|
58
|
+
# TRELLO_OPEN_STATUS=open
|
|
59
|
+
# TRELLO_PENDING_STATUS=pending
|
|
60
|
+
# TRELLO_IN_REVIEW_STATUS=review
|
|
61
|
+
|
|
47
62
|
ASSIGNEE_TAG=
|
|
48
63
|
|
|
49
64
|
# THINKING_TAG: tasks with this tag are analyzed and broken into sub-tasks before execution (optional)
|
|
@@ -60,3 +75,7 @@ DEV_NOTES_MODE=smart
|
|
|
60
75
|
|
|
61
76
|
# AIDEV_COMMENT_PREFIX: custom prefix for aidev comments in task providers (default: [aidev])
|
|
62
77
|
# AIDEV_COMMENT_PREFIX=[mybot]
|
|
78
|
+
|
|
79
|
+
# AIDEV_HOOKS_PATH: optional path to .ts or .js hooks module (relative to project cwd or absolute).
|
|
80
|
+
# aidev init creates .aidev/aidev.hooks.ts and sets this by default.
|
|
81
|
+
# AIDEV_HOOKS_PATH=.aidev/aidev.hooks.ts
|
package/README.md
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
**aidev** turns your tasks into merged code — automatically.
|
|
8
8
|
|
|
9
|
-
It polls your task manager (ClickUp, Jira, Linear, Monday.com, Notion, or local markdown files), checks whether tasks are clear, runs Claude, Cursor, or Windsurf to implement them, pushes a branch, and moves the task to review. All without touching your keyboard.
|
|
9
|
+
It polls your task manager (ClickUp, Jira, Linear, Monday.com, Notion, Trello, or local markdown files), checks whether tasks are clear, runs Claude, Cursor, or Windsurf to implement them, pushes a branch, and moves the task to review. All without touching your keyboard.
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
Task (ClickUp / Jira / Monday / Notion / local) → AI implements → git push → "in review"
|
|
12
|
+
Task (ClickUp / Jira / Monday / Notion / Trello / local) → AI implements → git push → "in review"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -24,6 +24,7 @@ Task (ClickUp / Jira / Monday / Notion / local) → AI implements → git pu
|
|
|
24
24
|
- [AI agents](#ai-agents)
|
|
25
25
|
- [Dev notes mode](#dev-notes-mode)
|
|
26
26
|
- [Scheduling](#scheduling)
|
|
27
|
+
- [Hooks](#hooks)
|
|
27
28
|
- [Logging](#logging)
|
|
28
29
|
- [Providers](#providers)
|
|
29
30
|
- [Contributing](#contributing)
|
|
@@ -188,6 +189,37 @@ CLICKUP_TAG=my-project
|
|
|
188
189
|
| `DEV_NOTES_MODE` | `smart` | When to ask for clarification (`smart` or `always`) |
|
|
189
190
|
| `AIDEV_TRIGGER_WORD` | `aidev-continue` | Comment containing this word re-triggers a skipped task |
|
|
190
191
|
| `AIDEV_COMMENT_PREFIX` | `[aidev]` | Custom prefix for all aidev comments posted to task providers |
|
|
192
|
+
| `AIDEV_HOOKS_PATH` | — | Path to a `.ts` or `.js` module that exports hook functions (see [Hooks](#hooks)) |
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Hooks
|
|
197
|
+
|
|
198
|
+
Set `AIDEV_HOOKS_PATH` in `.env.aidev` to a path relative to the project directory or an absolute path. `aidev init` writes `.aidev/aidev.hooks.ts` and sets `AIDEV_HOOKS_PATH=.aidev/aidev.hooks.ts` by default.
|
|
199
|
+
|
|
200
|
+
The module should export an object (or `export default`) whose properties are optional async functions. Only known hook names are used; anything else is ignored. If a hook throws, the current operation stops (for example the whole run after `beforeRun`, or conflict resolution after `beforeResolveConflicts`). If a hook returns an object, it replaces the context for that step (for example append to `context.prompt` in `beforeEachTask` and return the updated context).
|
|
201
|
+
|
|
202
|
+
**Hook names**
|
|
203
|
+
|
|
204
|
+
| Hook | When | Context notes |
|
|
205
|
+
|---|---|---|
|
|
206
|
+
| `beforeRun` / `afterRun` | Start / end of `aidev run` | `afterRun` includes `processed` and `skipped` counts |
|
|
207
|
+
| `beforeEachTask` / `afterEachTask` | Around each code task implementation | `prompt`, `branchName`, `task`; `afterEachTask` has `success` |
|
|
208
|
+
| `beforeResolveConflicts` / `afterResolveConflicts` | Merge conflict resolution with AI | `conflictFiles`, `prompt`; `afterResolveConflicts` has `resolved` |
|
|
209
|
+
| `beforeNonCodeTask` / `afterNonCodeTask` | Non-code tasks | `afterNonCodeTask` includes agent `output` |
|
|
210
|
+
| `beforeThinkingTask` / `afterThinkingTask` | Thinking-tag tasks (subtask plan) | `beforeThinkingTask` may adjust `subtasks` before steps run |
|
|
211
|
+
|
|
212
|
+
**Second argument: `vm`**
|
|
213
|
+
|
|
214
|
+
Each hook receives `(context, vm)`. The `vm` object exposes:
|
|
215
|
+
|
|
216
|
+
- `runAI(prompt)` — runs the first available configured AI agent
|
|
217
|
+
- `postComment(taskId, text)`, `updateStatus(taskId, status)`, `getComments(taskId)` — same family of operations as the task provider
|
|
218
|
+
- `log.info` / `log.warn` / `log.error` — prefixed hook logging
|
|
219
|
+
|
|
220
|
+
**TypeScript hooks**
|
|
221
|
+
|
|
222
|
+
`.ts` hook files are loaded at runtime via [jiti](https://www.npmjs.com/package/jiti) — no TypeScript compiler or toolchain needed. Just write a plain `.ts` file with the hook functions and aidev handles the rest.
|
|
191
223
|
|
|
192
224
|
---
|
|
193
225
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickup-format.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/clickup-format.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const node_test_1 = require("node:test");
|
|
7
|
+
const strict_1 = __importDefault(require("node:assert/strict"));
|
|
8
|
+
const clickup_format_1 = require("../providers/clickup-format");
|
|
9
|
+
(0, node_test_1.describe)('clickupBlocksToMarkdown', () => {
|
|
10
|
+
(0, node_test_1.it)('converts plain text blocks', () => {
|
|
11
|
+
const blocks = [
|
|
12
|
+
{ text: 'Hello world' },
|
|
13
|
+
{ text: '\n' },
|
|
14
|
+
];
|
|
15
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), 'Hello world');
|
|
16
|
+
});
|
|
17
|
+
(0, node_test_1.it)('converts bold text', () => {
|
|
18
|
+
const blocks = [
|
|
19
|
+
{ text: 'This is ', attributes: {} },
|
|
20
|
+
{ text: 'bold', attributes: { bold: true } },
|
|
21
|
+
{ text: ' text\n' },
|
|
22
|
+
];
|
|
23
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), 'This is **bold** text');
|
|
24
|
+
});
|
|
25
|
+
(0, node_test_1.it)('converts italic text', () => {
|
|
26
|
+
const blocks = [
|
|
27
|
+
{ text: 'This is ', attributes: {} },
|
|
28
|
+
{ text: 'italic', attributes: { italic: true } },
|
|
29
|
+
{ text: '\n' },
|
|
30
|
+
];
|
|
31
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), 'This is *italic*');
|
|
32
|
+
});
|
|
33
|
+
(0, node_test_1.it)('converts inline code', () => {
|
|
34
|
+
const blocks = [
|
|
35
|
+
{ text: 'Use ' },
|
|
36
|
+
{ text: 'npm install', attributes: { code: true } },
|
|
37
|
+
{ text: '\n' },
|
|
38
|
+
];
|
|
39
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), 'Use `npm install`');
|
|
40
|
+
});
|
|
41
|
+
(0, node_test_1.it)('converts links', () => {
|
|
42
|
+
const blocks = [
|
|
43
|
+
{ text: 'Click ' },
|
|
44
|
+
{ text: 'here', attributes: { link: 'https://example.com' } },
|
|
45
|
+
{ text: '\n' },
|
|
46
|
+
];
|
|
47
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), 'Click [here](https://example.com)');
|
|
48
|
+
});
|
|
49
|
+
(0, node_test_1.it)('converts bullet list', () => {
|
|
50
|
+
const blocks = [
|
|
51
|
+
{ text: 'First item' },
|
|
52
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
53
|
+
{ text: 'Second item' },
|
|
54
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
55
|
+
];
|
|
56
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '- First item\n- Second item');
|
|
57
|
+
});
|
|
58
|
+
(0, node_test_1.it)('converts ordered list', () => {
|
|
59
|
+
const blocks = [
|
|
60
|
+
{ text: 'First' },
|
|
61
|
+
{ text: '\n', attributes: { list: { list: 'ordered' } } },
|
|
62
|
+
{ text: 'Second' },
|
|
63
|
+
{ text: '\n', attributes: { list: { list: 'ordered' } } },
|
|
64
|
+
];
|
|
65
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '1. First\n2. Second');
|
|
66
|
+
});
|
|
67
|
+
(0, node_test_1.it)('converts checklist', () => {
|
|
68
|
+
const blocks = [
|
|
69
|
+
{ text: 'Done task' },
|
|
70
|
+
{ text: '\n', attributes: { list: { list: 'checked' } } },
|
|
71
|
+
{ text: 'Pending task' },
|
|
72
|
+
{ text: '\n', attributes: { list: { list: 'unchecked' } } },
|
|
73
|
+
];
|
|
74
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '- [x] Done task\n- [ ] Pending task');
|
|
75
|
+
});
|
|
76
|
+
(0, node_test_1.it)('converts code block', () => {
|
|
77
|
+
const blocks = [
|
|
78
|
+
{ text: 'const x = 1;' },
|
|
79
|
+
{ text: '\n', attributes: { 'code-block': 'javascript' } },
|
|
80
|
+
{ text: 'const y = 2;' },
|
|
81
|
+
{ text: '\n', attributes: { 'code-block': 'javascript' } },
|
|
82
|
+
];
|
|
83
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '```\nconst x = 1;\nconst y = 2;\n```');
|
|
84
|
+
});
|
|
85
|
+
(0, node_test_1.it)('handles code-block with nested object format', () => {
|
|
86
|
+
const blocks = [
|
|
87
|
+
{ text: 'hello()' },
|
|
88
|
+
{ text: '\n', attributes: { 'code-block': { 'code-block': 'plain' } } },
|
|
89
|
+
];
|
|
90
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '```\nhello()\n```');
|
|
91
|
+
});
|
|
92
|
+
(0, node_test_1.it)('handles mixed content', () => {
|
|
93
|
+
const blocks = [
|
|
94
|
+
{ text: 'Title', attributes: { bold: true } },
|
|
95
|
+
{ text: '\n' },
|
|
96
|
+
{ text: 'Item A' },
|
|
97
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
98
|
+
{ text: 'Item B' },
|
|
99
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
100
|
+
];
|
|
101
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '**Title**\n- Item A\n- Item B');
|
|
102
|
+
});
|
|
103
|
+
(0, node_test_1.it)('returns empty string for empty/null input', () => {
|
|
104
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)([]), '');
|
|
105
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(null), '');
|
|
106
|
+
});
|
|
107
|
+
(0, node_test_1.it)('handles list attribute as plain string', () => {
|
|
108
|
+
const blocks = [
|
|
109
|
+
{ text: 'item' },
|
|
110
|
+
{ text: '\n', attributes: { list: 'bullet' } },
|
|
111
|
+
];
|
|
112
|
+
strict_1.default.equal((0, clickup_format_1.clickupBlocksToMarkdown)(blocks), '- item');
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
(0, node_test_1.describe)('markdownToClickupBlocks', () => {
|
|
116
|
+
(0, node_test_1.it)('converts plain text', () => {
|
|
117
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('Hello world');
|
|
118
|
+
strict_1.default.deepEqual(blocks, [
|
|
119
|
+
{ text: 'Hello world' },
|
|
120
|
+
{ text: '\n' },
|
|
121
|
+
]);
|
|
122
|
+
});
|
|
123
|
+
(0, node_test_1.it)('converts bold text', () => {
|
|
124
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('This is **bold** text');
|
|
125
|
+
strict_1.default.deepEqual(blocks, [
|
|
126
|
+
{ text: 'This is ' },
|
|
127
|
+
{ text: 'bold', attributes: { bold: true } },
|
|
128
|
+
{ text: ' text' },
|
|
129
|
+
{ text: '\n' },
|
|
130
|
+
]);
|
|
131
|
+
});
|
|
132
|
+
(0, node_test_1.it)('converts italic text', () => {
|
|
133
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('This is *italic* text');
|
|
134
|
+
strict_1.default.deepEqual(blocks, [
|
|
135
|
+
{ text: 'This is ' },
|
|
136
|
+
{ text: 'italic', attributes: { italic: true } },
|
|
137
|
+
{ text: ' text' },
|
|
138
|
+
{ text: '\n' },
|
|
139
|
+
]);
|
|
140
|
+
});
|
|
141
|
+
(0, node_test_1.it)('converts inline code', () => {
|
|
142
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('Use `npm install` now');
|
|
143
|
+
strict_1.default.deepEqual(blocks, [
|
|
144
|
+
{ text: 'Use ' },
|
|
145
|
+
{ text: 'npm install', attributes: { code: true } },
|
|
146
|
+
{ text: ' now' },
|
|
147
|
+
{ text: '\n' },
|
|
148
|
+
]);
|
|
149
|
+
});
|
|
150
|
+
(0, node_test_1.it)('converts links', () => {
|
|
151
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('Click [here](https://example.com)');
|
|
152
|
+
strict_1.default.deepEqual(blocks, [
|
|
153
|
+
{ text: 'Click ' },
|
|
154
|
+
{ text: 'here', attributes: { link: 'https://example.com' } },
|
|
155
|
+
{ text: '\n' },
|
|
156
|
+
]);
|
|
157
|
+
});
|
|
158
|
+
(0, node_test_1.it)('converts bullet list', () => {
|
|
159
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('- First\n- Second');
|
|
160
|
+
strict_1.default.deepEqual(blocks, [
|
|
161
|
+
{ text: 'First' },
|
|
162
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
163
|
+
{ text: 'Second' },
|
|
164
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
165
|
+
]);
|
|
166
|
+
});
|
|
167
|
+
(0, node_test_1.it)('converts ordered list', () => {
|
|
168
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('1. First\n2. Second');
|
|
169
|
+
strict_1.default.deepEqual(blocks, [
|
|
170
|
+
{ text: 'First' },
|
|
171
|
+
{ text: '\n', attributes: { list: { list: 'ordered' } } },
|
|
172
|
+
{ text: 'Second' },
|
|
173
|
+
{ text: '\n', attributes: { list: { list: 'ordered' } } },
|
|
174
|
+
]);
|
|
175
|
+
});
|
|
176
|
+
(0, node_test_1.it)('converts checklist', () => {
|
|
177
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('- [x] Done\n- [ ] Todo');
|
|
178
|
+
strict_1.default.deepEqual(blocks, [
|
|
179
|
+
{ text: 'Done' },
|
|
180
|
+
{ text: '\n', attributes: { list: { list: 'checked' } } },
|
|
181
|
+
{ text: 'Todo' },
|
|
182
|
+
{ text: '\n', attributes: { list: { list: 'unchecked' } } },
|
|
183
|
+
]);
|
|
184
|
+
});
|
|
185
|
+
(0, node_test_1.it)('converts code block', () => {
|
|
186
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('```js\nconst x = 1;\n```');
|
|
187
|
+
strict_1.default.deepEqual(blocks, [
|
|
188
|
+
{ text: 'const x = 1;' },
|
|
189
|
+
{ text: '\n', attributes: { 'code-block': { 'code-block': 'js' } } },
|
|
190
|
+
]);
|
|
191
|
+
});
|
|
192
|
+
(0, node_test_1.it)('converts headings to bold', () => {
|
|
193
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('## My Heading');
|
|
194
|
+
strict_1.default.deepEqual(blocks, [
|
|
195
|
+
{ text: 'My Heading', attributes: { bold: true } },
|
|
196
|
+
{ text: '\n' },
|
|
197
|
+
]);
|
|
198
|
+
});
|
|
199
|
+
(0, node_test_1.it)('handles empty lines as paragraph breaks', () => {
|
|
200
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('Line 1\n\nLine 2');
|
|
201
|
+
strict_1.default.deepEqual(blocks, [
|
|
202
|
+
{ text: 'Line 1' },
|
|
203
|
+
{ text: '\n' },
|
|
204
|
+
{ text: '\n' },
|
|
205
|
+
{ text: 'Line 2' },
|
|
206
|
+
{ text: '\n' },
|
|
207
|
+
]);
|
|
208
|
+
});
|
|
209
|
+
(0, node_test_1.it)('handles inline formatting inside list items', () => {
|
|
210
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)('- **bold** item');
|
|
211
|
+
strict_1.default.deepEqual(blocks, [
|
|
212
|
+
{ text: 'bold', attributes: { bold: true } },
|
|
213
|
+
{ text: ' item' },
|
|
214
|
+
{ text: '\n', attributes: { list: { list: 'bullet' } } },
|
|
215
|
+
]);
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
(0, node_test_1.describe)('round-trip conversion', () => {
|
|
219
|
+
(0, node_test_1.it)('preserves plain text through round-trip', () => {
|
|
220
|
+
const md = 'Hello world';
|
|
221
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
222
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
223
|
+
strict_1.default.equal(result, md);
|
|
224
|
+
});
|
|
225
|
+
(0, node_test_1.it)('preserves bullet list through round-trip', () => {
|
|
226
|
+
const md = '- Item A\n- Item B\n- Item C';
|
|
227
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
228
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
229
|
+
strict_1.default.equal(result, md);
|
|
230
|
+
});
|
|
231
|
+
(0, node_test_1.it)('preserves ordered list through round-trip', () => {
|
|
232
|
+
const md = '1. First\n2. Second\n3. Third';
|
|
233
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
234
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
235
|
+
strict_1.default.equal(result, md);
|
|
236
|
+
});
|
|
237
|
+
(0, node_test_1.it)('preserves bold and italic through round-trip', () => {
|
|
238
|
+
const md = 'This is **bold** and *italic* text';
|
|
239
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
240
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
241
|
+
strict_1.default.equal(result, md);
|
|
242
|
+
});
|
|
243
|
+
(0, node_test_1.it)('preserves inline code through round-trip', () => {
|
|
244
|
+
const md = 'Run `npm test` now';
|
|
245
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
246
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
247
|
+
strict_1.default.equal(result, md);
|
|
248
|
+
});
|
|
249
|
+
(0, node_test_1.it)('preserves links through round-trip', () => {
|
|
250
|
+
const md = 'Visit [docs](https://docs.example.com) for info';
|
|
251
|
+
const blocks = (0, clickup_format_1.markdownToClickupBlocks)(md);
|
|
252
|
+
const result = (0, clickup_format_1.clickupBlocksToMarkdown)(blocks);
|
|
253
|
+
strict_1.default.equal(result, md);
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
//# sourceMappingURL=clickup-format.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clickup-format.test.js","sourceRoot":"","sources":["../../src/__tests__/clickup-format.test.ts"],"names":[],"mappings":";;;;;AAAA,yCAAyC;AACzC,gEAAwC;AACxC,gEAIqC;AAErC,IAAA,oBAAQ,EAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,IAAA,cAAE,EAAC,4BAA4B,EAAE,GAAG,EAAE;QACpC,MAAM,MAAM,GAAmB;YAC7B,EAAE,IAAI,EAAE,aAAa,EAAE;YACvB,EAAE,IAAI,EAAE,IAAI,EAAE;SACf,CAAC;QACF,gBAAM,CAAC,KAAK,CAAC,IAAA,wCAAuB,EAAC,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;IAEH,IAAA,cAAE,EAAC,oBAAoB,EAAE,GAA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