2022-12-20 13:48:16 +00:00
|
|
|
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);
|
|
|
|
}
|
2022-12-20 13:48:16 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entryPointStrategy: "packages",
|
2023-02-28 04:07:11 +00:00
|
|
|
entryPoints,
|
2022-12-20 13:48:16 +00:00
|
|
|
out: "docs",
|
|
|
|
exclude: ["**/*.spec.ts"],
|
|
|
|
excludeInternal: true,
|
2023-02-09 03:45:32 +00:00
|
|
|
treatWarningsAsErrors: true,
|
|
|
|
excludeExternals: true,
|
2022-12-20 13:48:16 +00:00
|
|
|
validation: {
|
|
|
|
invalidLink: true,
|
|
|
|
notExported: true,
|
|
|
|
},
|
|
|
|
};
|