warning
Documentation is currently for moon v2. If you are using v1, some of the examples and settings may differ in syntax and functionality.
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