Skip to content

Library Catalog ​

Create a dedicated page when a dependency defines a system boundary, data lifecycle, public contract or recurring Kartuli-specific convention. A dependency used as a small implementation helper stays in this catalog or the capability page. Do not create empty pages for every package.

LibraryCurrent role / Kartuli constraintCanonical context or source
Base UIAccessible interaction primitives composed into Game Client UI; does not replace app accessibility validationapps/game-client/src/ui; Accessibility
TanStack DB / Query DB Collection / React DB / React QueryReactive activity-state collections, query-backed loading and root query provider; not a remote backendsrc/student/item-activity-device-states-collection, src/root-layout/root-query-client-provider.tsx in Game Client
IndexedDB / idbBrowser activity-state persistence; database open failure returns a nonpersistent fallbackData & Privacy
i18next / react-i18nextApp translation resources and React bindings; locale comes from app routingGame Client src/i18n; Game Client
Serwist / @serwist/turbopackNext config wrapper exists; complete offline behavior remains unverifiedOffline scope
ZodRuntime schemas in Game Client domain/ingestion codeGame Client src/learning-content, src/student
MotionUI animation dependency and app usage; no complete shared motion specification yetGame Client src/ui; Design System
clsx / tailwind-mergeWrapped by shared cn; prefer that helperpackages/ui/src/utils/cn.tsx
js-cookieSettings writes locale preferenceData & Privacy
react-iconsApp icon componentsGame Client src/ui
Vitest / V8 coverageColocated tests and aggregate coverageTesting
Testing Library / Happy DOMDOM assertions, interactions and lightweight test environmentApp/UI test configs and setup
Playwright / axeBrowser execution and accessibility scansE2E Runner
Storybook addon-vitest / addon-a11yStory interactions and accessibility failuresStorybook
Biome / Lefthook / Lighthouse CIStatic checks, Git hooks and web quality auditsQuality
dependency-cruiserSource dependency inspection; local Graphviz renders outputDiagram Generator
Mermaid / @aether-labs/vitepress-mermaidBrowser-rendered Mermaid fences in Web Docs, with VitePress light/dark theme reactivity and no external rendererWeb Docs Client

Paths beginning src/ in the table are relative to apps/game-client. Exact versions and direct consumers are in workspace manifests and pnpm-workspace.yaml; upstream API documentation should be consulted for implementation details.

Integration guides ​

Testing-library usage is documented with Unit and integration testing; browser/axe integrations with Component testing and E2E. The dependency inventory and catalog audit explains how to inspect current declarations and check coverage, including catalog-only entries, lifecycle-script permissions and undeclared script dependencies.