{
  "key": "feature-flags",
  "label": "Feature flags (Vercel Flags SDK)",
  "description": "Declarative flag definitions via the `flags` SDK. Provider-agnostic with official adapters for LaunchDarkly, GrowthBook, Statsig, Hypertune, PostHog, Edge Config, Flagsmith, OpenFeature.",
  "deps": {
    "flags": "4.0.6"
  },
  "knip": {
    "why": "Flag definitions from the feature-flags module; nothing imports them until you use a flag.",
    "entry": ["app/lib/flags.ts"]
  },
  "vendors": [
    {
      "key": "launchdarkly",
      "label": "LaunchDarkly",
      "deps": {
        "@flags-sdk/launchdarkly": "0.3.4"
      },
      "knip": {
        "why": "Flags adapter picked with --vendors; drop this line once app/lib/flags.ts imports it.",
        "ignoreDependencies": ["@flags-sdk/launchdarkly"]
      },
      "env": [
        "LAUNCHDARKLY_CLIENT_SIDE_ID",
        "LAUNCHDARKLY_PROJECT_SLUG",
        "EDGE_CONFIG"
      ]
    },
    {
      "key": "statsig",
      "label": "Statsig",
      "deps": {
        "@flags-sdk/statsig": "0.2.5"
      },
      "knip": {
        "why": "Flags adapter picked with --vendors; drop this line once app/lib/flags.ts imports it.",
        "ignoreDependencies": ["@flags-sdk/statsig"]
      },
      "env": [
        "STATSIG_SERVER_API_KEY"
      ]
    },
    {
      "key": "growthbook",
      "label": "GrowthBook",
      "deps": {
        "@flags-sdk/growthbook": "0.2.0"
      },
      "knip": {
        "why": "Flags adapter picked with --vendors; drop this line once app/lib/flags.ts imports it.",
        "ignoreDependencies": ["@flags-sdk/growthbook"]
      },
      "env": [
        "GROWTHBOOK_CLIENT_KEY"
      ]
    },
    {
      "key": "hypertune",
      "label": "Hypertune",
      "deps": {
        "@flags-sdk/hypertune": "0.3.2"
      },
      "knip": {
        "why": "Flags adapter picked with --vendors; drop this line once app/lib/flags.ts imports it.",
        "ignoreDependencies": ["@flags-sdk/hypertune"]
      },
      "env": [
        "NEXT_PUBLIC_HYPERTUNE_TOKEN",
        "HYPERTUNE_FRAMEWORK",
        "HYPERTUNE_OUTPUT_DIRECTORY_PATH"
      ]
    },
    {
      "key": "posthog",
      "label": "PostHog",
      "deps": {
        "@flags-sdk/posthog": "0.2.2"
      },
      "knip": {
        "why": "Flags adapter picked with --vendors; drop this line once app/lib/flags.ts imports it.",
        "ignoreDependencies": ["@flags-sdk/posthog"]
      },
      "env": [
        "NEXT_PUBLIC_POSTHOG_KEY",
        "NEXT_PUBLIC_POSTHOG_HOST"
      ]
    }
  ],
  "templates": ["full-stack", "client"]
}
