layerlens 1.0.1 copy "layerlens: ^1.0.1" to clipboard
layerlens: ^1.0.1 copied to clipboard

Generate a dependency diagram in every folder of your source code.

LayerLens #

Generate a dependency diagram in every folder of your source code.

flowchart TD;
generator.dart-->model.dart;
analyzer.dart-->layering.dart;
analyzer.dart-->model.dart;
analyzer.dart-->primitives.dart;
code_parser.dart-->model.dart;
code_parser.dart-->surveyor;
layering.dart-->model.dart;
model.dart-->primitives.dart;

Disclaimer #

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

Prerequisites #

Install Markdown Preview Mermaid Support extension to VSCode, to see the diagrams in VSCode preview.

Generate diagrams for your project #

  1. Add dependency to https://pub.dev/packages/layerlens
  2. Run dart run layerlens in the root of your project
  3. Find the file DEPENDENCIES.md in each source folder
  4. In VSCode right click the file and select 'Open Preview'

Refresh on every GitHub push #

To make GitHub auto-generating the diagrams after every push, copy refresh-dependencies.yaml to .github/workflows.

Contributing #

See CONTRIBUTING.md for details.

License #

Apache 2.0; see LICENSE for details.

20
likes
0
pub points
41%
popularity

Publisher

verified publisherflutter-chat.dev

Generate a dependency diagram in every folder of your source code.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, cli_util, http, path, yaml

More

Packages that depend on layerlens