We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an executable Node.js script (www) with a shebang (#!) which includes foo.js which in turn includes bar.js: www:
www
#!
foo.js
bar.js
#!/usr/bin/env node const foo = require("./foo");
foo.js:
const bar = require("./bar");
// empty
If I run the dependency-tree CLI on www, I get no dependencies:
dependency-tree
$ npx dependency-tree -d . www | jq { "/Users/hiroshi/www": {} }
If I rename www to www.js, I get the expected result
www.js
$ npx dependency-tree -d . www.js | jq { "/Users/hiroshi/www.js": { "/Users/hiroshi/foo.js": { "/Users/hiroshi/bar.js": {} } } }
Environment:
$ npx dependency-tree --version 11.0.1 $ node --version v18.20.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have an executable Node.js script (
www
) with a shebang (#!
) which includesfoo.js
which in turn includesbar.js
:www
:foo.js
:bar.js
If I run the
dependency-tree
CLI onwww
, I get no dependencies:If I rename
www
towww.js
, I get the expected resultEnvironment:
The text was updated successfully, but these errors were encountered: