warning
Documentation is currently for moon v2 and latest proto. Documentation for moon v1 has been frozen and can be found here.
sync projects
The moon sync projects command will force sync all projects in the workspace to help achieve a
healthy repository state. This applies
the following:
- Ensures cross-project dependencies are linked based on
dependsOn. - Ensures language specific configuration files are present and accurate (
package.json,tsconfig.json, etc). - Ensures root configuration and project configuration are in sync.
- Any additional language specific semantics that may be required.
$ moon sync projects
This command should rarely be ran, as
moon runwill sync affected projects automatically! However, when migrating or refactoring, manual syncing may be necessary.
Configuration
projectsin.moon/workspace.yml