{
  "$schema": "https://create-turbo-stack.dev/schema/preset.json",
  "schemaVersion": "1.0",
  "name": "saas-starter",
  "version": "1.0.0",
  "description": "Full-stack SaaS with Supabase, tRPC, shadcn/ui, and more",
  "basics": {
    "projectName": "my-saas",
    "packageManager": "bun",
    "scope": "@my-saas",
    "typescript": "strict",
    "linter": "biome",
    "gitInit": true
  },
  "database": { "strategy": "supabase" },
  "api": { "strategy": "trpc", "version": "v11" },
  "auth": { "provider": "supabase-auth", "rbac": true, "entitlements": false },
  "css": {
    "framework": "tailwind4",
    "ui": "shadcn",
    "styling": "css-variables"
  },
  "integrations": {
    "analytics": "posthog",
    "errorTracking": "sentry",
    "email": "react-email-resend",
    "rateLimit": "none",
    "ai": "none",
    "envValidation": "t3-env"
  },
  "apps": [
    {
      "name": "web",
      "type": "nextjs",
      "port": 3000,
      "i18n": true,
      "consumes": ["ui", "api", "auth"]
    },
    {
      "name": "api",
      "type": "nextjs-api-only",
      "port": 3001,
      "i18n": false,
      "consumes": ["api", "auth"]
    }
  ],
  "packages": [
    {
      "name": "ui",
      "type": "react-library",
      "producesCSS": true,
      "exports": ["."]
    },
    { "name": "utils", "type": "utils", "producesCSS": false, "exports": ["."] }
  ]
}
