- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
26 lines
705 B
TypeScript
26 lines
705 B
TypeScript
import { HookHandler } from 'vite';
|
|
import { V as Vitest, T as TestProject, b as TestProjectConfiguration, I as InlineConfig } from './reporters.d.BFLkQcL6.js';
|
|
|
|
interface VitestPluginContext {
|
|
vitest: Vitest;
|
|
project: TestProject;
|
|
injectTestProjects: (config: TestProjectConfiguration | TestProjectConfiguration[]) => Promise<TestProject[]>;
|
|
}
|
|
|
|
/* eslint-disable unused-imports/no-unused-vars */
|
|
|
|
type VitestInlineConfig = InlineConfig;
|
|
declare module "vite" {
|
|
interface UserConfig {
|
|
/**
|
|
* Options for Vitest
|
|
*/
|
|
test?: VitestInlineConfig;
|
|
}
|
|
interface Plugin<A = any> {
|
|
configureVitest?: HookHandler<(context: VitestPluginContext) => void>;
|
|
}
|
|
}
|
|
|
|
export type { VitestPluginContext as V };
|