Best practise setup for TurboRepo

Hey everyone,

There has been a bit of hype lately around TurboRepo as a monorepo. I am specifically interested in its caching abilities. Anything that might help the build process to go a bit faster.

Has anyone successfully setup TurboRepo with a Meteor project?

At the moment we run in order:

  1. we run gulp
  2. then we run the meteor build command

I am not sure about the config under the build stage according to TurboRepo. These pipelines are set in the package.json.

{
  "turbo": {
    "baseBranch": "origin/main",
    "pipeline": {
      "build": {
        "dependsOn": ["^build"],
        "outputs": [".next/**"]
      },
      "test": {
        "dependsOn": ["^build"],
        "outputs": []
      },
      "lint": {
        "outputs": []
      },
      "dev": {
        "cache": false
      }
    }
  }
}

Any help would be appreciated! Take care and happy 2022

1 Like

Thank you so much for sharing. I would like to know more about it. Thank you so much!

Are you still using it @codeswop ? Looking at this now for my team

It would be awesome to have an example with it! If one of you could contribute to our examples repo GitHub - meteor/examples: Project examples with Meteor