File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/lib/utils/options/readers Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ ### Features
4
+
5
+ - Improved error reporting when failing to find entry points, #2080 , #2082 .
6
+
3
7
### Bug Fixes
4
8
5
9
- Constructor parameter-properties will now use the ` @param ` comment for the parameter if available, #1261 .
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
tsdocModifierTags ,
23
23
} from "../tsdoc-defaults" ;
24
24
import { unique } from "../../array" ;
25
+ import { EntryPointStrategy } from "../../entry-point" ;
25
26
26
27
function isFile ( file : string ) {
27
28
return existsSync ( file ) && statSync ( file ) . isFile ( ) ;
@@ -104,6 +105,13 @@ export class TSConfigReader implements OptionsReader {
104
105
logger . error (
105
106
`The tsconfig file ${ nicePath ( file ) } does not exist`
106
107
) ;
108
+ } else if (
109
+ container . getValue ( "entryPointStrategy" ) !==
110
+ EntryPointStrategy . Packages
111
+ ) {
112
+ logger . warn (
113
+ "No tsconfig file found, this will prevent TypeDoc from finding your entry points."
114
+ ) ;
107
115
}
108
116
return ;
109
117
}
You can’t perform that action at this time.
0 commit comments