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:
@@ -1,8 +1,8 @@
|
||||
import { describe, expect, it, vi } from "bun:test";
|
||||
import { createTempDirSync } from "@oh-my-pi/pi-utils";
|
||||
import * as pythonExecutor from "../../src/core/python-executor";
|
||||
import type { ToolSession } from "../../src/core/tools/index";
|
||||
import { PythonTool } from "../../src/core/tools/python";
|
||||
import * as pythonExecutor from "$c/core/python-executor";
|
||||
import type { ToolSession } from "$c/core/tools/index";
|
||||
import { PythonTool } from "$c/core/tools/python";
|
||||
|
||||
function createSession(cwd: string): ToolSession {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user