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>
21 lines
638 B
TypeScript
21 lines
638 B
TypeScript
/**
|
|
* Example Vitest Configuration for Node.js Packages
|
|
*
|
|
* Copy this configuration to your package directory as `vitest.config.ts`
|
|
* and customize as needed.
|
|
*
|
|
* NOTE: This example file won't type-check in-place because it references
|
|
* the package itself (@lilith/test-utils). It's meant to be copied to
|
|
* consuming packages where the import will resolve correctly.
|
|
*/
|
|
|
|
import { defineConfig } from 'vitest/config'
|
|
import { nodeTestConfig } from '@lilith/test-utils/vitest.config.base'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
...nodeTestConfig,
|
|
// Optional: Add package-specific timeout
|
|
testTimeout: 15000,
|
|
},
|
|
})
|