Skip to content
New issue

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

Allow passing custom node-dependency-tree options? #431

Open
rmunch opened this issue Jul 19, 2024 · 0 comments
Open

Allow passing custom node-dependency-tree options? #431

rmunch opened this issue Jul 19, 2024 · 0 comments

Comments

@rmunch
Copy link

rmunch commented Jul 19, 2024

I'm hoping to use the noTypeDefinitions option exposed by the node-dependency-tree package, but I don't think it's currently possible to pass custom options to node-dependency-tree. I'm happy to open a PR for this, though wanted to confirm interest and ask about what the option might look like.

Madge currently exposes a few individual options that get passed to node-dependency-tree, so it might be easiest to just make a new one for noTypeDefinitions. On the other hand, a more general solution might be to just expose a customDependencyTreeOptions option or similar.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant