Skip to content

Commit

Permalink
Fix project references in packages mode
Browse files Browse the repository at this point in the history
Resolves #1976
  • Loading branch information
Gerrit0 committed Jul 2, 2022
1 parent f54ef35 commit 04da924
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Unreleased

### Bug Fixes

- TypeDoc no longer ignores project references if `--entryPointStrategy Packages` is set, #1976.

## v0.23.3 (2022-07-01)

### Bug Fixes
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils/entry-point.ts
Expand Up @@ -367,6 +367,7 @@ function getEntryPointsForPackages(
const program = ts.createProgram({
rootNames: parsedCommandLine.fileNames,
options: options.fixCompilerOptions(parsedCommandLine.options),
projectReferences: parsedCommandLine.projectReferences,
});
const sourceFile = program.getSourceFile(packageEntryPoint);
if (sourceFile === undefined) {
Expand Down

0 comments on commit 04da924

Please sign in to comment.