Skip to main content

migrate from-turborepo

Use the moon migrate from-turborepo command to migrate a Turborepo powered repository to moon. This process will convert the root turbo.json file to moon applicable configuration files:

$ moon migrate from-turborepo
caution

moon must be initialized and node must be configured in the toolchain before this command is ran!

Furthermore, this process does not change existing package.json scripts, so if you're looking to migrate them as well, use the moon migrate from-package-json command.

Caveats

  • This process will not migrate root-level Turborepo tasks (those starting with //#). You'll need to manually create a moon root-level project and migrate tasks.