Establishes citation-work as the standalone home of the review workspace, migrated out of the citation-evidence umbrella app. - Package/tooling scaffold: package.json, tsconfig, vite/vitest/eslint configs with eslint-plugin-boundaries enforcing engine/anchor/source-only imports - Providers/hooks: EngineProvider, SessionProvider + use* hooks (T02) - Panes: CollectionList, ViewerShell, EvidenceSidebar (T03/T04/T05) - Capture/edit: InlineCaptureForm, EvidenceFormBody; UploadDropzone owned here - ReviewShell: repo-owned three-pane layout with an upload slot seam - Tests: CollectionList, InlineCaptureForm capture flow, EvidenceSidebar export/edit/activation (11 tests, all green) - Anchor consumed as @citation-evidence/evidence-anchor package; @source kept on the umbrella facade for its local viewer-url policy - Docs (README/SCOPE) refreshed; deferred gaps recorded Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
243 B
TypeScript
10 lines
243 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import viteConfig from "./vite.config";
|
|
|
|
export default defineConfig({
|
|
...viteConfig,
|
|
test: {
|
|
environmentMatchGlobs: [["**/*.dom.test.{ts,tsx}", "happy-dom"]],
|
|
globals: false,
|
|
},
|
|
});
|