Skip to main content

sync projects

v1.8.0

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 run will sync affected projects automatically! However, when migrating or refactoring, manual syncing may be necessary.