Skip to content

Intuitive ignore behavior for npx utilities #1341

@cspotcode

Description

@cspotcode

Use case: write a .ts script on github; run it without precompilation using npx / npm x

$ npm x -- mygithubusername/my-cool-cli-tool --help

In cases like these, the entrypoint is inside of a node_modules directory. Is there some way we can detect this and tweak the default ignore option to allow it to compile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    researchNeeds design work, investigation, or prototyping. Implementation uncertain.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions