-
>Which package do you use for the linear algebra calculation?
He doesn't. https://github.com/codemix/deprank/blob/main/src/index.ts#L1...
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
dependency-cruiser
Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
Great project!
One feature request: Running the npx command searched only for the js files, not for the ts files. When I built deprank locally with yarn, it also showed the ts files. After looking at dependency-cruiser figure it has to do with what typescript compilers are available where.
It would be great if the npx command you provide in your readme would work regardless of my local setup - dependency-cruiser has documentation and one example of a suitable npx command here: https://github.com/sverweij/dependency-cruiser/blob/develop/...
My suggestion would be to check if any ts file is part of the extension option (i.e. --ext=".js,.jsx, .ts, .tsx") and only then do the magic needed to also show ts files.
Related posts
-
Taking Frontend Architecture Serious with dependency-cruiser
-
[AskJS] What ESLint rules do you use to achieve better isolation of components?
-
how to automatically run a script / yarn command before each dev hot-reload build
-
Developing your own Chrome Extension - Fixing Errors with ts-morph and using Buns API (Part 4)
-
TypeStat: Converts JavaScript to TypeScript and TypeScript to Better TypeScript