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:
can1357
2026-01-23 11:45:11 +01:00
parent 06efb8bd72
commit 7b5af2dd9f
371 changed files with 1370 additions and 1162 deletions
@@ -1,9 +1,9 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "bun:test";
import { createTempDirSync } from "@oh-my-pi/pi-utils";
import { PythonKernel } from "../../src/core/python-kernel";
import { PYTHON_PRELUDE } from "../../src/core/python-prelude";
import * as shell from "../../src/utils/shell";
import * as shellSnapshot from "../../src/utils/shell-snapshot";
import { PythonKernel } from "$c/core/python-kernel";
import { PYTHON_PRELUDE } from "$c/core/python-prelude";
import * as shell from "$c/utils/shell";
import * as shellSnapshot from "$c/utils/shell-snapshot";
class FakeWebSocket {
static OPEN = 1;