mirror of
https://github.com/goauthentik/authentik
synced 2026-04-26 01:25:02 +02:00
* Bump related TS packages. * Fix type. * Fix styles. * web: bump typescript from 5.9.3 to 6.0.2 in /web Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.2) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Partial upgrade. * Add dep. * Re-add preinstall. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
79 lines
2.1 KiB
JSON
79 lines
2.1 KiB
JSON
// @file TSConfig used by the web package during development.
|
|
{
|
|
"extends": "@goauthentik/tsconfig",
|
|
"compilerOptions": {
|
|
"ignoreDeprecations": "6.0",
|
|
"types": ["node"],
|
|
"checkJs": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"emitDeclarationOnly": true,
|
|
"experimentalDecorators": true,
|
|
// See https://lit.dev/docs/components/properties/
|
|
"useDefineForClassFields": false,
|
|
"target": "esnext",
|
|
"module": "preserve",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
|
|
// TODO: We should enable this when when we're ready to enforce it.
|
|
"noUncheckedIndexedAccess": false,
|
|
"plugins": [
|
|
// #region Lit
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-incompatible-type-binding": "off"
|
|
},
|
|
|
|
"globalAttributes": [
|
|
//#region Testing
|
|
|
|
"name",
|
|
|
|
//#endregion
|
|
|
|
//#region ARIA
|
|
|
|
"aria-description",
|
|
"inert",
|
|
|
|
//#endregion
|
|
|
|
//#region Popover
|
|
|
|
"popover",
|
|
"popovertarget",
|
|
"popovertargetaction"
|
|
|
|
//#endregion
|
|
]
|
|
},
|
|
{
|
|
"name": "@genesiscommunitysuccess/custom-elements-lsp",
|
|
"designSystemPrefix": "ak-",
|
|
"parser": {
|
|
"timeout": 2000
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"exclude": [
|
|
// ---
|
|
"**/out/**/*",
|
|
"**/dist/**/*",
|
|
"storybook-static",
|
|
"src/**/*.test.ts",
|
|
"./tests",
|
|
// TODO: @lit/localize-tools v0.8.0 has a nullish coalescing typing error.
|
|
// Remove when we upgrade past that.
|
|
"scripts/pseudolocalize.mjs",
|
|
"scripts/build-locales.mjs",
|
|
|
|
// TODO: Remove after monorepo cleanup.
|
|
"src/**/*.comp.ts"
|
|
]
|
|
}
|