build(config): refactored build and TypeScript configuration with Bun loaders
- Removed WASM generation script; use Bun `wasm?raw` loader for imports. - Added bunfig.toml with loaders for `.md`, `.py`, and `.wasm?raw` text imports. - Added types/assets/index.d.ts for global TypeScript module declarations. - Unified TypeScript configuration with tsgo-based checking across monorepo. - Removed build and WASM steps from install and publish pipelines.
This commit is contained in:
@@ -10,9 +10,9 @@ import { createWriteStream, existsSync, renameSync, unlinkSync } from "node:fs";
|
||||
import { dirname } from "node:path";
|
||||
import { Readable } from "node:stream";
|
||||
import { pipeline } from "node:stream/promises";
|
||||
import { APP_NAME, VERSION } from "@oh-my-pi/pi-coding-agent/config";
|
||||
import { theme } from "@oh-my-pi/pi-coding-agent/modes/theme/theme";
|
||||
import chalk from "chalk";
|
||||
import { APP_NAME, VERSION } from "../config";
|
||||
import { theme } from "../modes/theme/theme";
|
||||
|
||||
/**
|
||||
* Detect if we're running as a Bun compiled binary.
|
||||
|
||||
Reference in New Issue
Block a user