Skip to content

[bug?] Times Used/Depended On #113

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

Closed
1000i100 opened this issue Dec 3, 2022 · 4 comments
Closed

[bug?] Times Used/Depended On #113

1000i100 opened this issue Dec 3, 2022 · 4 comments

Comments

@1000i100
Copy link
Contributor

1000i100 commented Dec 3, 2022

Times Used/Depended On Always display 1 in my project, but some of my files are import more than one time. Do you only look for require ?

@sgb-io
Copy link
Owner

sgb-io commented Dec 12, 2022

@1000i100 codehawk-cli doesn't detect dependencies directly (this is carried out by typhonjs-escomplex), but it does do some file/patch matching to add the numbers up.

If you have an example, I'd be happy to look at this. Also, please include what OS you are using.

@1000i100
Copy link
Contributor Author

Here is the project i've tried it again :
https://git.duniter.org/libs/g1lib.js
I'm on Linux, TuxedoOS based on Ubuntu 20.04 I will do the 22.04 update soon).
I'm using node v16.4.1 or node v19.2.0 if i need v18+ features.

@sgb-io
Copy link
Owner

sgb-io commented Dec 12, 2022

Verification is needed, but at a glance, I don't think codehawk-cli currently supports .mjs, which would explain the problem. Shouldn't be too hard to fix.

@sgb-io
Copy link
Owner

sgb-io commented May 13, 2023

Closing due to #122

FTA doesn't currently support "times depended on" currently, but if this is something you are interested in, please file an issue in the FTA repo. Thanks!

@sgb-io sgb-io closed this as completed May 13, 2023
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

2 participants