A file dependency resolver for Dart project based on their imports declaration. Output a mermaid graph.
The metacello command to run in a playground, to install your packages.
Metacello new
githubUser: 'Evref-BL' project: 'dart-dep-resolver' commitish: 'main' path: 'src';
baseline: 'BaselineOfDependenciesDartResolver';
load
Paste this smalltalk code into a playground to test it.
myRootFolder := ('<path-to-folder-root-of-your-dart-project>') asFileReference .
DartDependenciesResolver new rootFolder: myRootFolder ; resolve.
Note that this API is a work in progress and will evolve over time.
TODO