js-waku/typedoc.cjs

22 lines
494 B
JavaScript
Raw Normal View History

const packageJson = require("./package.json");
2023-02-28 04:07:11 +00:00
let entryPoints = [];
for (const entryPoint of packageJson.workspaces) {
if (!["packages/tests", "packages/build-utils"].includes(entryPoint))
entryPoints.push(entryPoint);
}
module.exports = {
entryPointStrategy: "packages",
2023-02-28 04:07:11 +00:00
entryPoints,
out: "docs",
exclude: ["**/*.spec.ts"],
excludeInternal: true,
2023-02-09 03:45:32 +00:00
treatWarningsAsErrors: true,
excludeExternals: true,
validation: {
invalidLink: true,
notExported: true,
},
};