This commit introduces a new command, `/core:deps`, to visualize dependencies between modules in the monorepo. The command parses a `repos.yaml` file to build a dependency graph and supports the following functionalities: - Displaying a full dependency tree for all modules. - Displaying a dependency tree for a single module. - Displaying reverse dependencies for a single module using the `--reverse` flag. - Detecting and reporting circular dependencies. The implementation consists of a Python script that handles the core logic and a command definition file that connects the command to the script. A comprehensive test suite is included to ensure the correctness of the implementation. Co-authored-by: Claude <noreply@anthropic.com>
15 lines
278 B
YAML
15 lines
278 B
YAML
repos:
|
|
core-tenant:
|
|
depends: [core-php]
|
|
core-admin:
|
|
depends: [core-php, core-tenant]
|
|
core-php:
|
|
depends: []
|
|
core-api:
|
|
depends: [core-php]
|
|
core-bio:
|
|
depends: [core-php]
|
|
core-social:
|
|
depends: [core-php]
|
|
core-analytics:
|
|
depends: [core-php]
|