Skip to content

SourcePlugin fails to get command line arguments when using entryPointStrategy packages #2477

@doitian

Description

@doitian

Search terms

entryPointStrategy, packages, workspace

Expected Behavior

Typedoc should report error when only --disableGit is provided and entryPointStrategy is set to packages.

Actual Behavior

The command succeeds as --disableGit has not been set.

The problem does not occur when removing typedoc.json or using entryPointStrategy other than packages.

Steps to reproduce the bug

The repo for reproducing the bug: https://github.com/doitian/typedoc-source-plugin-issue

pnpm install
pnpm typedoc --disableGit

Environment

  • Typedoc version: 0.25.6
  • TypeScript version: 5.2.2
  • Node.js version: 21.5.0
  • OS: macOS 14.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    no bugThis is expected behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions