// @file TSConfig used by the docs package during development.
//
// @remarks
// While this configuration will influence the IDE experience,
// Docusaurus will instead use an internal configuration to build the site.
//
// @see https://docusaurus.io/docs/typescript-support
{
    "extends": "@goauthentik/tsconfig",
    "compilerOptions": {
        "emitDeclarationOnly": true,
        "checkJs": true,
        "allowJs": true,
        "composite": true,
        "types": ["node"],
        "target": "esnext",
        "module": "esnext",
        "moduleResolution": "bundler",
        "allowImportingTsExtensions": true,
        "jsx": "preserve",
        "lib": ["DOM", "DOM.Iterable", "ESNext"],
        "rootDir": "${configDir}"
    },
    "exclude": [
        // ---
        "**/out",
        "**/build",
        "**.docusaurus",
        "**.netlify",
        "**.cache",
        "**/reference/**/*.mdx"
    ]
}
