Skip to content

Commit 9be16f7

Browse files
manovotnyclaude
andcommitted
chore(repo): broaden typedoc cache inputs and prune comment-utils exports
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0a9f42b commit 9be16f7

2 files changed

Lines changed: 2 additions & 26 deletions

File tree

.typedoc/comment-utils.mjs

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const TODO_WORD = /\bTODO\b/i;
66
/**
77
* @param {import('typedoc').Comment | undefined} comment
88
*/
9-
export function commentContainsTodo(comment) {
9+
function commentContainsTodo(comment) {
1010
if (!comment) {
1111
return false;
1212
}
@@ -22,22 +22,6 @@ export function commentContainsTodo(comment) {
2222
return chunks.some(text => TODO_WORD.test(text));
2323
}
2424

25-
/**
26-
* Truncate at the first word "TODO" (case-insensitive). Used when flattening display parts to a string.
27-
*
28-
* @param {string} text
29-
*/
30-
export function stripTextAfterTodo(text) {
31-
if (!text) {
32-
return '';
33-
}
34-
const m = TODO_WORD.exec(text);
35-
if (!m) {
36-
return text;
37-
}
38-
return text.slice(0, m.index).trimEnd();
39-
}
40-
4125
/**
4226
* Drop display parts from the first `TODO` onward; truncate the containing text part if `TODO` appears mid-string.
4327
*

turbo.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,7 @@
341341
},
342342
"//#typedoc:generate": {
343343
"dependsOn": ["@clerk/nextjs#build", "@clerk/react#build", "@clerk/shared#build"],
344-
"inputs": [
345-
"tsconfig.typedoc.json",
346-
"typedoc.config.mjs",
347-
".typedoc/reference-objects.mjs",
348-
".typedoc/comment-utils.mjs",
349-
".typedoc/extract-methods.mjs",
350-
".typedoc/extract-returns-and-params.mjs",
351-
".typedoc/standalone-page-tag.mjs"
352-
],
344+
"inputs": ["tsconfig.typedoc.json", "typedoc.config.mjs", ".typedoc/**/*.mjs"],
353345
"outputs": [".typedoc/**"],
354346
"outputLogs": "new-only"
355347
},

0 commit comments

Comments
 (0)