mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
* core, web: Vendored client follow-ups - Updated packages for use with TypeScript 6 - Fix search results including symlinks. * Bump docker package. * web: bump vite from 8.0.2 to 8.0.3 in /web Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.2 to 8.0.3. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/create-vite@8.0.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 8.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix import declaration order. * Fix live reload imports, package declarations. * Tidy admin entrypoint. * Rename. * Fix import. * Fix import. * Update paths. Update Knip. * Bump knip. * Update esbuild.d.ts Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com> * Bump. * Re-enable deprecation warning. --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com> Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48 lines
1.5 KiB
TypeScript
48 lines
1.5 KiB
TypeScript
import { type KnipConfig } from "knip";
|
|
|
|
const config: KnipConfig = {
|
|
entry: [
|
|
"./src/admin/index.entrypoint.ts",
|
|
"./src/user/index.entrypoint.ts",
|
|
"./src/flow/index.entrypoint.ts",
|
|
"./src/standalone/api-browser/index.entrypoint.ts",
|
|
"./src/rac/index.entrypoint.ts",
|
|
"./src/standalone/loading/index.entrypoint.ts",
|
|
"./src/polyfill/index.entrypoint.ts",
|
|
],
|
|
ignore: ["packages/client-ts/**", "out/**/*"],
|
|
|
|
project: ["src/**/*.ts", "src/**/*.js", "./scripts/*.mjs", ".storybook/*.ts"],
|
|
// "ignore": ["src/**/*.test.ts", "src/**/*.stories.ts"],
|
|
// Prevent Knip from complaining about web components, which export their classes but also
|
|
// export their registration, and we don't always use both.
|
|
ignoreExportsUsedInFile: true,
|
|
typescript: {
|
|
config: ["tsconfig.json"],
|
|
},
|
|
wireit: {
|
|
config: ["package.json"],
|
|
},
|
|
storybook: {
|
|
config: [".storybook/{main,test-runner}.{js,ts}"],
|
|
entry: [
|
|
".storybook/{manager,preview}.{js,jsx,ts,tsx}",
|
|
"**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))",
|
|
],
|
|
project: [".storybook/**/*.{js,jsx,ts,tsx}"],
|
|
},
|
|
eslint: {
|
|
entry: [
|
|
"eslint.config.mjs",
|
|
"scripts/eslint.precommit.mjs",
|
|
"scripts/eslint.nightmare.mjs",
|
|
"scripts/eslint-precommit.mjs",
|
|
"scripts/eslint-nightmare.mjs",
|
|
"scripts/eslint.mjs",
|
|
],
|
|
config: ["package.json"],
|
|
},
|
|
};
|
|
|
|
export default config;
|