Skip to content

Commit

Permalink
fix(tsdocs): disable some repos to gen tsdocs
Browse files Browse the repository at this point in the history
Signed-off-by: dhmlau <[email protected]>
  • Loading branch information
dhmlau committed Dec 6, 2023
1 parent b025bb6 commit ab3a7a6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/tsdocs/src/monorepo-api-extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import path from 'path';
import {
DEFAULT_APIDOCS_EXTRACTION_PATH,
ExtractorOptions,
getPackagesWithTsDocs,
LernaPackage,
getPackagesWithTsDocs,
typeScriptPath,
} from './helper';
const debug = debugFactory('loopback:tsdocs');
Expand Down Expand Up @@ -67,6 +67,17 @@ export async function runExtractorForMonorepo(options: ExtractorOptions = {}) {
const errors: Record<string, unknown> = {};

for (const pkg of packages) {
// TODO: api-extractor failed to generate apidocs for the repos below.
// Excluding them for now
// https://github.com/loopbackio/loopback-next/issues/10205
if (
pkg.name === '@loopback/typeorm' ||
pkg.name === '@loopback/boot' ||
pkg.name === '@loopback/express' ||
pkg.name === '@loopback/repository' ||
pkg.name === '@loopback/service-proxy'
)
continue;
/* istanbul ignore if */
const err = invokeExtractorForPackage(pkg, options);
if (err != null) {
Expand Down

0 comments on commit ab3a7a6

Please sign in to comment.