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

Display "Dependents"? #52

Open
DroopyTersen opened this issue Apr 12, 2019 · 3 comments
Open

Display "Dependents"? #52

DroopyTersen opened this issue Apr 12, 2019 · 3 comments

Comments

@DroopyTersen
Copy link

Thank you for creating such a cool tool! Is there currently a way to click on a file and find all of the other files that import/reference it?

@Bogdan-Lyashenko
Copy link
Owner

Hi, thanks for the feedback.
Just to clarify, there is "Dependencies"
image
but you are asking about inversive behaviour to that, right? E.g. moduleA and moduleB imports utils and when you select utils you want to see moduleAand moduleB.
If so, then - no, it's not supported now. But it's not hard to implement (~2h), I think I have it in backlog, I can move it to the top, that means I will add in ~2 weeks.
Thanks.
P.S. or I can explain you how to do it if it's urgent and you would like to contribute ;)

@neutraali
Copy link

neutraali commented Jun 24, 2019

Are Dependencies supposed to work for multi-project views? I'm not seeing any "dependency paths" being drawn between projects.

Example: Project A has a component (ProjectA/components/example/Example.js) that has dependencies in Project B (ProjectB/components/test/Test.js).

Caveat: We're using Webpack aliases for certain import paths; e.g. import Example from my-project/components/example/Example

@Bogdan-Lyashenko
Copy link
Owner

Hey @neutraali no, there is no support for dependencies between projects, but I have it in backlog as well, might add it one day.
Same goes for webpack aliases, but it's more to the lib I use to resolve dependencies; can you try to pass the path to your webpack.config.js and see if it helps. To do so use -w param for CLI.

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

3 participants