- Tailwind v4 @theme block encoding all spec §2 tokens; full §3 keyframe inventory with prefers-reduced-motion handling; Geist vendored (air-gap) - SlidePanel width-animation primitive (component-tested: exit-transition unmount, fixed-width inner content, a11y region semantics) - session-key.ts mirroring the Rust codec + URL-param encoding; nuqs panel-params with spec ?sessions=1 flag shape and routines->scheduled alias - Zod-typed API client; httpOnly cookie session bridge (/auth/session); login page; (workspace) layout with LeftRail roster/nav/user; Team and Credits pages on real endpoints (+ GET /api/team/members in tc-api) - Vitest + Testing Library harness (26 tests); ESLint max-lines 1250 + no-warning-comments mirroring the CI gates Co-Authored-By: Claude Fable 5 <[email protected]>
16 lines
373 B
TypeScript
16 lines
373 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: "happy-dom",
|
|
globals: true,
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
include: ["src/**/*.test.{ts,tsx}"],
|
|
},
|
|
resolve: {
|
|
alias: { "@": new URL("./src", import.meta.url).pathname },
|
|
},
|
|
});
|