build(deps): refactored TypeScript and package configuration across monorepo

- Added tsconfig.publish.json files to all packages with optimized publish-time configuration.
- Updated all package.json scripts with prepublishOnly hooks for correct type checking during publish.
- Added @oh-my-pi/omp-stats path mappings to root tsconfig.json for consistent imports.
- Added WASM generation script for photon module and integrated into install:dev script.
This commit is contained in:
can1357
2026-01-23 13:46:01 +01:00
parent d672458138
commit 0fe761dc4b
409 changed files with 1894 additions and 1551 deletions
@@ -7,10 +7,10 @@
import { readFileSync } from "node:fs";
import { join } from "node:path";
import type { AssistantMessage } from "@oh-my-pi/pi-ai";
import { AssistantMessageComponent } from "@oh-my-pi/pi-coding-agent/modes/components/assistant-message";
import { initTheme } from "@oh-my-pi/pi-coding-agent/modes/theme/theme";
import { ProcessTerminal, TUI } from "@oh-my-pi/pi-tui";
import { sleep } from "bun";
import { AssistantMessageComponent } from "$c/modes/components/assistant-message";
import { initTheme } from "$c/modes/theme/theme";
// Initialize dark theme with full color support
process.env.COLORTERM = "truecolor";