This commit introduces a new `/core:sync` command that syncs changes across dependent modules. The command reads a `repos.yaml` file to determine the dependency graph. When a base module is changed, the command will: - Update the `composer.json` file of each dependent module to the latest version of the base module. - Run `composer update` to install the new dependency version. - Run tests in each dependent module to ensure that the changes have not introduced any regressions. The command also includes a `--dry-run` option that allows users to see what changes would be made without actually modifying any files.
20 lines
352 B
YAML
20 lines
352 B
YAML
core-php:
|
|
dependents:
|
|
- core-tenant
|
|
- core-admin
|
|
- core-api
|
|
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]
|