-
-
Notifications
You must be signed in to change notification settings - Fork 743
Closed
Description
Search Terms
Legacy typedoc entry point config (using "typedocMain" field) found for "". Please update to use "typedoc": { "entryPoint": "..." } instead. In future upgrade, "typedocMain" field will be ignored.
package.json source field
Problem
Typedoc understandably needs to know where my source typescript files are.
Suggested Solution
Use the defacto standard of the package.json.source field by default. However, allow overriding the source field by using "typedoc": { "entryPoint": "..." }
The source field in the package.json points to the entry ts file and is used as a defacto standard.
Examples of the source field in the wild are:
- parcel
- docs https://parceljs.org/features/targets/#entries
-
They can be specified on the CLI, or using the source field in package.json
- microbundle
- readme https://github.com/developit/microbundle
-
"source": "src/foo.js", // your source code
- Resolving multiple package.json "main" fields microsoft/TypeScript#21423
Metadata
Metadata
Assignees
Labels
No labels