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>
19 lines
428 B
TypeScript
19 lines
428 B
TypeScript
// @ts-nocheck
|
|
import { defineConfig } from "vitest/config";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "happy-dom",
|
|
setupFiles: path.resolve(__dirname, "../../src/test/setup.ts"),
|
|
alias: {
|
|
"@test/utils": path.resolve(__dirname, "../../src/test/utils.tsx"),
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
});
|