Skip to content

Commit 44d9132

Browse files
jonathanhefnerclaudefelixweinberger
authored
Use recursive glob in TypeDoc config to find nested middleware packages (#1478)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
1 parent 327243c commit 44d9132

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

typedoc.config.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import fg from 'fast-glob';
33
import { readFileSync } from 'node:fs';
44
import { join } from 'node:path';
55

6-
// Find all package.json files in packages/*/ and build package list
7-
const packageJsonPaths = await fg('packages/*/package.json', {
8-
cwd: process.cwd()
6+
// Find all package.json files under packages/ and build package list
7+
const packageJsonPaths = await fg('packages/**/package.json', {
8+
cwd: process.cwd(),
9+
ignore: ['**/node_modules/**']
910
});
1011
const packages = packageJsonPaths.map(p => {
1112
const rootDir = join(process.cwd(), p.replace('/package.json', ''));

0 commit comments

Comments
 (0)