Skip to content

Default to the package.json source field #1991

@jlarmstrongiv

Description

@jlarmstrongiv

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions