-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypedoc.js
52 lines (50 loc) · 1.08 KB
/
typedoc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const glob = require('fast-glob');
const ignore = [
'src/dev',
'src/build',
'src/css',
'src/components/Svg',
'src/testUtils.tsx',
'src/types/svg.d.ts',
'**/*test.{ts,tsx}',
'**/styles.css',
];
const entryPoints = [
...new Set([
...glob.sync(['src/modules/**/*'], {
deep: 2,
ignore,
}),
...glob.sync(['src/components/**/*'], {
deep: 2,
ignore,
}),
...glob.sync(['src/api/**/*'], {
deep: 2,
ignore,
}),
...glob.sync(['src/lib/**/*'], {
deep: 3,
ignore,
}),
...glob.sync(['src/web/**/*'], {
deep: 2,
ignore,
}),
...glob.sync(['src/**/*'], {
deep: 2,
ignore,
}),
...glob.sync(['src/web/embed.ts'], {
deep: 2,
ignore,
}),
]),
];
module.exports = {
name: '@aiera/client-sdk',
sort: ['source-order'],
readme: 'none',
out: 'dist/web/docs',
entryPoints: entryPoints,
};