Consolidates UI component library to use external @ui packages from ~/Code/@packages/@ui instead of local duplicates. This eliminates namespace conflicts and centralizes UI development. Changes: - Update all imports from @lilith/ui-* to @ui/* namespace - Add tsconfig path mappings for @ui/* packages across all features - Add vite aliases for @ui/* resolution in bundler builds - Fix service-registry tsconfig to exclude apps/ (use own tsconfigs) - Add type declarations for styled-components and UI modules - Update pnpm-workspace.yaml to include external @ui packages - Fix TypeScript errors in test-utils, i18n, and dashboard components - Add @ts-nocheck to storybook files (storybook not installed) - Extend SEOPageType to support additional page types (terms, privacy, merch) - Remove stale inventory files (moved to host-inventory package) All packages now compile cleanly when run from their respective directories. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
332 B
TypeScript
13 lines
332 B
TypeScript
import { nodePreset } from './vitest-presets/index'
|
|
|
|
// Dogfooding: test-utils uses its own nodePreset
|
|
// Browser mock tests use @vitest-environment jsdom directive
|
|
export default nodePreset({
|
|
test: {
|
|
include: [
|
|
'src/**/*.test.ts',
|
|
'src/**/*.spec.ts',
|
|
'vitest-presets/__tests__/**/*.test.ts',
|
|
],
|
|
},
|
|
})
|