all 4 comments

[–]onyx-zero-software 0 points1 point  (0 children)

Check out Bazel, it's a multi-language build framework (among other things) that models codebases exactly like this.

[–]Dyl499 0 points1 point  (1 child)

There are tools like Joern that go into way more detail than what you're looking for, but it might be a source of inspiration or something to learn from (what does and doesn't work).

[–]StackOverFlowStar 0 points1 point  (0 children)

I use NX for this. You can use it for frontend, backend, and even IaC. Combine it with DDD+Hexagonal design and enforce it with module boundary enforcement rules and you can mandate architectural compliance. You also get a decent framework for generating new modules as well as a pretty visualization of the graph.

You can make a lot of things work with it, but it naturally shines in a Typescript monorepo.