refactor(build): migrated imports to path aliases with per-package tsconfig support
- converted relative imports to path aliases ($c/*, $ai/*, $tui/*, etc.) across all packages - added per-package tsconfig.json with complete path mappings for runtime resolution - set importModuleSpecifier to non-relative for IDE auto-import preferences - updated dev script to run from monorepo root for consistent path resolution
This commit is contained in:
@@ -9,8 +9,8 @@ import { join } from "node:path";
|
||||
import type { AssistantMessage } from "@oh-my-pi/pi-ai";
|
||||
import { ProcessTerminal, TUI } from "@oh-my-pi/pi-tui";
|
||||
import { sleep } from "bun";
|
||||
import { AssistantMessageComponent } from "../src/modes/interactive/components/assistant-message";
|
||||
import { initTheme } from "../src/modes/interactive/theme/theme";
|
||||
import { AssistantMessageComponent } from "$c/modes/interactive/components/assistant-message";
|
||||
import { initTheme } from "$c/modes/interactive/theme/theme";
|
||||
|
||||
// Initialize dark theme with full color support
|
||||
process.env.COLORTERM = "truecolor";
|
||||
|
||||
Reference in New Issue
Block a user