-
-
Notifications
You must be signed in to change notification settings - Fork 286
/
tsdoc.config.js
33 lines (32 loc) · 1005 Bytes
/
tsdoc.config.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
function ignores(base, list) {
return list.map((directory) => `!${base}/${directory}`);
}
module.exports = {
rootDir: process.cwd(),
packagesDir: "packages/",
scanPatterns: [
"<rootDir>/packages/**/lib/types/**/*.d.ts",
"!<rootDir>/packages/*/src",
"!**/*.spec.ts",
"!**/__mock__/**",
"!**/data/**",
"!**/__fixtures__/**",
"!**/fixtures/**",
"!**/*.spec.ts",
"!<rootDir>/packages/**/constants",
"!<rootDir>/packages/**/registries",
"!<rootDir>/packages/**/lib/**/hooks",
"!<rootDir>/packages/{di,engines,orm,perf,platform,security,specs,third-parties}/**/utils",
"!<rootDir>/packages/perf",
"!<rootDir>/packages/orm/prisma",
"!<rootDir>/packages/third-parties/components-scan",
"!<rootDir>/packages/platform/platform-test-sdk",
"!**/node_modules"
],
outputDir: "<rootDir>/docs/api",
baseUrl: "/api",
jsonOutputDir: "<rootDir>/docs/public",
templatesDir: "<rootDir>/docs/.templates",
scope: "@tsed",
modules: {}
};