Skip to content

Commit ab3a7a6

Browse files
committed
fix(tsdocs): disable some repos to gen tsdocs
Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
1 parent b025bb6 commit ab3a7a6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/tsdocs/src/monorepo-api-extractor.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import path from 'path';
2020
import {
2121
DEFAULT_APIDOCS_EXTRACTION_PATH,
2222
ExtractorOptions,
23-
getPackagesWithTsDocs,
2423
LernaPackage,
24+
getPackagesWithTsDocs,
2525
typeScriptPath,
2626
} from './helper';
2727
const debug = debugFactory('loopback:tsdocs');
@@ -67,6 +67,17 @@ export async function runExtractorForMonorepo(options: ExtractorOptions = {}) {
6767
const errors: Record<string, unknown> = {};
6868

6969
for (const pkg of packages) {
70+
// TODO: api-extractor failed to generate apidocs for the repos below.
71+
// Excluding them for now
72+
// https://github.com/loopbackio/loopback-next/issues/10205
73+
if (
74+
pkg.name === '@loopback/typeorm' ||
75+
pkg.name === '@loopback/boot' ||
76+
pkg.name === '@loopback/express' ||
77+
pkg.name === '@loopback/repository' ||
78+
pkg.name === '@loopback/service-proxy'
79+
)
80+
continue;
7081
/* istanbul ignore if */
7182
const err = invokeExtractorForPackage(pkg, options);
7283
if (err != null) {

0 commit comments

Comments
 (0)