* web: Fix issues surrounding availability of controllers during init. web: Fix edgecase where flow does not have brand. * web: Fix import path. * web: Clean up mixin/controller paths. * web: Prepare for consistent import styling. - Prep for Storybook fixes. * web: Update MDX types. * web: Fix issues surrounding async imports, MDX typing, relative paths. * web: Format. Clarify. * web: Group module types.
63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
// @file TSConfig used by the web package during development.
|
|
{
|
|
"extends": "@goauthentik/tsconfig",
|
|
"compilerOptions": {
|
|
"checkJs": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"emitDeclarationOnly": true,
|
|
"experimentalDecorators": true,
|
|
// See https://lit.dev/docs/components/properties/
|
|
"useDefineForClassFields": false,
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"baseUrl": ".",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
// TODO: We should enable this when when we're ready to enforce it.
|
|
"noUncheckedIndexedAccess": false,
|
|
"paths": {
|
|
"@goauthentik/admin/*": ["./src/admin/*"],
|
|
"@goauthentik/common/*": ["./src/common/*"],
|
|
"@goauthentik/components/*": ["./src/components/*"],
|
|
"@goauthentik/elements/*": ["./src/elements/*"],
|
|
"@goauthentik/flow/*": ["./src/flow/*"],
|
|
"@goauthentik/locales/*": ["./src/locales/*"],
|
|
"@goauthentik/polyfill/*": ["./src/polyfill/*"],
|
|
"@goauthentik/standalone/*": ["./src/standalone/*"],
|
|
"@goauthentik/user/*": ["./src/user/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-unknown-tag-name": "off",
|
|
"no-missing-import": "off",
|
|
"no-incompatible-type-binding": "off",
|
|
"no-unknown-property": "off",
|
|
"no-unknown-attribute": "off"
|
|
}
|
|
},
|
|
{
|
|
"name": "@genesiscommunitysuccess/custom-elements-lsp",
|
|
"designSystemPrefix": "ak-",
|
|
"parser": {
|
|
"timeout": 2000
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"exclude": [
|
|
// ---
|
|
"**/out/**/*",
|
|
"**/dist/**/*",
|
|
"src/**/*.test.ts",
|
|
"./tests",
|
|
|
|
// TODO: Remove after monorepo cleanup.
|
|
"src/**/*.comp.ts"
|
|
]
|
|
}
|