-
-
Notifications
You must be signed in to change notification settings - Fork 284
/
tsdoc.config.js
51 lines (50 loc) · 2.26 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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/**/lib/**/data/*.ts",
"!**/*.spec.ts",
"!**/common/src/utils/**",
"!**/common/src/constants/**",
"!**/*Module.ts",
"!**/__mock__/**",
"!<rootDir>/packages/*/src",
"!<rootDir>/packages/**/constants",
"!<rootDir>/packages/**/registries",
"!<rootDir>/packages/**/hooks",
"!<rootDir>/packages/utils",
"!<rootDir>/packages/**/utils",
"!<rootDir>/packages/orm/adapters",
"!<rootDir>/packages/orm/adapters-redis",
"!<rootDir>/packages/orm/prisma",
"!<rootDir>/packages/perf",
"!<rootDir>/packages/third-parties/seq",
"!<rootDir>/packages/third-parties/formio",
"!<rootDir>/packages/third-parties/formio-types",
"!<rootDir>/packages/third-parties/schema-formio",
"!<rootDir>/packages/third-parties/components-scan",
...ignores("<rootDir>/packages/specs/ajv/**", ["interfaces"]),
...ignores("<rootDir>/packages/specs/schema/**", ["components"]),
...ignores("<rootDir>/packages/security/oidc-provider/**", ["constants", "utils"]),
...ignores("<rootDir>/packages/specs/swagger/**", ["middlewares", "services", "utils"]),
...ignores("<rootDir>/packages/platform/platform-express/**", ["components", "middlewares"]),
...ignores("<rootDir>/packages/platform/platform-koa/**", ["components", "middlewares"]),
...ignores("<rootDir>/packages/platform/platform-serverless/**", ["utils"]),
...ignores("<rootDir>/packages/platform/platform-aws/**", ["components", "constants", "pipes"]),
...ignores("<rootDir>/packages/graphql/**", ["registries", "services"]),
...ignores("<rootDir>/packages/orm/objection/**", ["registries", "services", "utils"]),
...ignores("<rootDir>/packages/orm/mongoose/**", ["utils"]),
...ignores("<rootDir>/packages/third-parties/stripe/**", ["constants", "middlewares", "services"]),
"!<rootDir>/packages/platform/platform-test-sdk",
"!**/node_modules"
],
outputDir: "<rootDir>/docs-references/api",
baseUrl: "/api",
jsonOutputDir: "<rootDir>/docs/.vuepress/public",
scope: "@tsed",
modules: {}
};