web: Update test types, config.

This commit is contained in:
Teffen Ellis
2025-05-21 23:58:05 +02:00
parent 89a24dc508
commit ab315504a4
8 changed files with 1992 additions and 57630 deletions

2361
package-lock.json generated

File diff suppressed because it is too large Load Diff

29212
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -168,9 +168,9 @@
"@types/react-dom": "^19.1.5",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@wdio/browser-runner": "9.4",
"@wdio/cli": "9.4",
"@wdio/spec-reporter": "^9.1.2",
"@wdio/browser-runner": "^9.14.0",
"@wdio/cli": "^9.14.0",
"@wdio/spec-reporter": "^9.14.0",
"@web/test-runner": "^0.20.2",
"chromedriver": "^136.0.3",
"esbuild": "^0.25.4",
@ -185,7 +185,7 @@
"knip": "^5.30.6",
"lit-analyzer": "^2.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"prettier": "^3.5.3",
"pseudolocale": "^2.1.0",
"rollup-plugin-postcss-lit": "^2.2.0",
"storybook": "^8.6.14",

View File

@ -48,8 +48,8 @@
"@goauthentik/prettier-config": "^1.0.4",
"@goauthentik/tsconfig": "^1.0.4",
"@types/node": "^22.15.21",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
"prettier": "^3.5.3",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=20.11"

View File

@ -1,6 +1,5 @@
{
"compilerOptions": {
"strict": true,
"baseUrl": ".",
"moduleResolution": "node",
"module": "ESNext",

View File

@ -3,34 +3,7 @@
"compilerOptions": {
"baseUrl": ".",
"types": ["node", "webdriverio/async", "@wdio/cucumber-framework", "expect-webdriverio"],
"target": "esnext",
"module": "esnext",
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"lib": [
"ES5",
"ES2015",
"ES2016",
"ES2017",
"ES2018",
"ES2019",
"ES2020",
"ESNext",
"DOM",
"DOM.Iterable",
"WebWorker"
],
"paths": {
"@goauthentik/admin/*": ["./src/admin/*"],
"@goauthentik/common/*": ["./src/common/*"],
"@goauthentik/components/*": ["./src/components/*"],
"@goauthentik/docs/*": ["../website/docs/*"],
"@goauthentik/elements/*": ["./src/elements/*"],
"@goauthentik/flow/*": ["./src/flow/*"],
"@goauthentik/locales/*": ["./src/locales/*"],
"@goauthentik/polyfill/*": ["./src/polyfill/*"],
"@goauthentik/standalone/*": ["./src/standalone/*"],
"@goauthentik/user/*": ["./src/user/*"]
}
"extends": "./tsconfig.json",
"include": ["src", "./tests"]
}
}

View File

@ -5,7 +5,7 @@
* @import * as OpenApiPlugin from "docusaurus-plugin-openapi-docs";
* @import { BuildUrlValues } from "remark-github";
*/
import { MonoRepoRoot } from "@goauthentik/core";
import { MonoRepoRoot } from "@goauthentik/core/paths/node";
import { createDocusaurusConfig } from "@goauthentik/docusaurus-config";
import { cp } from "node:fs/promises";
import { createRequire } from "node:module";

28003
website/package-lock.json generated

File diff suppressed because it is too large Load Diff