ts-node icon indicating copy to clipboard operation
ts-node copied to clipboard

Intuitive ignore behavior for `npx` utilities

Open cspotcode opened this issue 4 years ago • 0 comments

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?

cspotcode avatar May 23 '21 22:05 cspotcode