b2c94bef1a
- Created new @oh-my-pi/pi-utils workspace package with shared utilities for logging, process management, stream handling, and temporary directory management. - Migrated all packages to use centralized logger from @oh-my-pi/pi-utils instead of local winston implementations. - Replaced custom process spawning and stream reading implementations with standardized cspawn and readLines utilities across all modules. - Converted synchronous file operations and process spawning to async patterns using Bun shell syntax and fs/promises. - Added streaming edit abort functionality with configurable setting to abort on patch preview failures. - Updated test framework from vitest to bun:test across all test suites.
26 lines
633 B
JSON
26 lines
633 B
JSON
{
|
|
"name": "@oh-my-pi/react-edit-benchmark",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Edit benchmark suite using React source code mutations",
|
|
"type": "module",
|
|
"main": "./index.ts",
|
|
"bin": {
|
|
"react-edit-benchmark": "index.ts"
|
|
},
|
|
"scripts": {
|
|
"start": "bun run index.ts",
|
|
"generate": "bun run generate.ts --react-dir /tmp/react-source --count-per-type 4"
|
|
},
|
|
"dependencies": {
|
|
"@oh-my-pi/pi-agent-core": "workspace:*",
|
|
"@oh-my-pi/pi-coding-agent": "workspace:*",
|
|
"@oh-my-pi/pi-utils": "workspace:*",
|
|
"diff": "^8.0.2",
|
|
"prettier": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "^7.0.2"
|
|
}
|
|
}
|