a07f38b16e
- Added grep CLI subcommand with support for pattern matching, file globbing, context lines, and multiple output modes (content, files-with-matches, count). - Added diff syntax highlighting support with distinct colors for inserted and deleted lines in code output. - Implemented FileReader abstraction for cross-platform file reading with mmap support and 4MB size limit. - Refactored worker pool initialization to support both compiled and development build environments using resolveWorkerSpecifier utility. - Enhanced markdown rendering with improved inline style context handling and blockquote formatting with text wrapping. - Replaced external strip-ansi dependency with Bun's built-in stripANSI method across all packages.
40 lines
735 B
JSON
40 lines
735 B
JSON
{
|
|
"name": "@oh-my-pi/pi-utils",
|
|
"version": "9.1.1",
|
|
"description": "Shared utilities for pi packages",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"check": "tsgo -p tsconfig.json",
|
|
"test": "bun test"
|
|
},
|
|
"author": "Can Bölük",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/can1357/oh-my-pi.git",
|
|
"directory": "packages/utils"
|
|
},
|
|
"dependencies": {
|
|
"winston": "^3.19.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.10"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.7"
|
|
}
|
|
}
|