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:
@@ -1,21 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@oh-my-pi/pi-ai": ["./src/index.ts"],
|
||||
"@oh-my-pi/pi-ai/*": ["./src/*"],
|
||||
"@oh-my-pi/pi-agent-core": ["../agent/src/index.ts"],
|
||||
"@oh-my-pi/pi-agent-core/*": ["../agent/src/*"],
|
||||
"@oh-my-pi/pi-utils": ["../pi-utils/src/index.ts"],
|
||||
"@oh-my-pi/pi-utils/*": ["../pi-utils/src/*"],
|
||||
"@oh-my-pi/pi-coding-agent": ["../coding-agent/src/index.ts"],
|
||||
"@oh-my-pi/pi-coding-agent/*": ["../coding-agent/src/*"],
|
||||
"@oh-my-pi/pi-tui": ["../tui/src/index.ts"],
|
||||
"@oh-my-pi/pi-tui/*": ["../tui/src/*"]
|
||||
}
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"include": ["src/**/*.ts", "test/**/*.ts"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user