bjorkstromm / depends

Tool for generating dependency trees for .NET projects
MIT License
556 stars 43 forks source link

json for the dependencies? #14

Open ignatandrei opened 4 years ago

ignatandrei commented 4 years ago

Could you have export the json for dependencies?

bjorkstromm commented 4 years ago

Isn't that basically same as package.lock.json or project.assets.json? This project currently parses project.assets.json to get the data to display.

bjorkstromm commented 4 years ago

Or are you looking for another structure?

infogulch commented 3 years ago

I think it would be helpful if depends added an option to export the relevant data from all parsed project.assets.json files as a single output file.

Collecting all of this data from the correct project(s) and projecting only the relevant properties into a new file would itself be very helpful if one wanted to: analyze it with a tool they are familiar with, or create a visualization. The TUI is nice, but it would be great if we could get at the raw data too; you've already done the big work of dealing with the various schemas and projecting the data relevant to analyze dependencies, I think it would be great if we could build on top of that.