Turborepo

SEO checks across your Turborepo monorepo.

Indxel integrates with Turborepo as a pipeline task. Add it to your turbo.json to run SEO checks across all apps in your monorepo, with Turbo's caching and parallelization.

1.Add to turbo.json

json
{
  "tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": [".next/**", "dist/**"]
    },
    "seo-check": {
      "dependsOn": ["build"],
      "cache": false
    }
  }
}

2.Add the script to package.json

json
{
  "scripts": {
    "build": "next build",
    "seo-check": "npx indxel check --ci"
  }
}

3.Run across all apps

bash
npx turbo run seo-check

Why use Indxel with Turborepo

  • Run SEO validation across all apps in your monorepo with a single turbo command
  • Leverage Turborepo's caching to skip SEO checks on unchanged apps for faster CI runs
  • Validate each app independently with its own SEO configuration and threshold
  • Integrate with any CI system — the turbo pipeline handles orchestration and dependencies

Frequently asked questions

Does Indxel work with Turborepo caching?

SEO checks should run with cache: false in your turbo.json since they validate the latest build output. The build step itself can be cached normally — only the SEO check runs fresh.

Can I set different thresholds per app?

Yes. Each app in your monorepo can have its own seo.config.ts with a custom score threshold. The seo-check task runs independently per app.