Skip to content

Handle --options in the TypeDoc plugin - #2392

Merged
webpro merged 1 commit into
webpro-nl:mainfrom
everton-dgn:fix/typedoc-options-arg
Nov 16, 2026
Merged

webpro merged 1 commit into
webpro-nl:mainfrom
everton-dgn:fix/typedoc-options-arg

Conversation

@everton-dgn

Copy link
Copy Markdown
Contributor

JSSM builds its docs with typedoc ... --options typedoc-options.cjs (package.json), and Knip reports that file as unused, along with typedoc-plugin-missing-exports, which only that file names, as an unused devDependency.

TypeDoc reads the file given with --options instead of looking for its default names (source), and the plugin now reads it as a config.

@pkg-pr-new

pkg-pr-new Bot commented Nov 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/knip@2392
npm i https://pkg.pr.new/@knip/language-server@2392
npm i https://pkg.pr.new/@knip/mcp@2392

commit: ef94fbf

@webpro webpro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Éverton! This follows the selected TypeDoc options file through the existing config resolver, including its plugin references.

@webpro
webpro merged commit faf3239 into webpro-nl:main Nov 16, 2026
33 checks passed
@webpro

webpro commented Nov 18, 2026

Copy link
Copy Markdown
Member

🚀 This pull request is included in v6.46.0. See Release 6.46.0 for release notes.

Using Knip in a commercial project? Please consider becoming a sponsor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants