Skip to content

🐛 Knip fails to detect binaries used within concurrently commands #1183

@amerryma

Description

@amerryma

Prerequisites

Reproduction url

https://github.com/amerryma/knip-concurrently-binary-issue

Reproduction access

  • I've made sure the reproduction is publicly accessible

Description of the issue

Knip incorrectly reports tsx as unused when it's used as a binary within concurrently command arguments.

Unused devDependencies (1)
tsx  package.json:10:6

There is a workaround where all calls to tsx are moved to other custom scripts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions