52719d1a7c
- Migrated all package tsconfig files to extend tsconfig.workspace.json for unified TypeScript configuration across monorepo. - Consolidated build and check scripts across 10+ packages to use biome for linting/formatting with separate type checking via tsgo. - Renamed build scripts from build:native and build:binary to build for simplified command naming across packages/natives and packages/coding-agent. - Refactored CI workflow to invoke bun tasks instead of inline shell scripts, reducing workflow complexity by 40+ lines. - Removed sync-exports.ts and repro-stuck.ts scripts; deleted path aliases from tsconfig.base.json in favor of workspace-based configuration. - Updated turbo.json with new task definitions (check:types, lint, fmt, fix) and removed build:native/embed:native tasks.
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"type": "module",
|
|
"name": "@oh-my-pi/pi-natives",
|
|
"version": "14.0.1",
|
|
"description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
"homepage": "https://github.com/can1357/oh-my-pi",
|
|
"author": "Can Boluk",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/can1357/oh-my-pi.git",
|
|
"directory": "packages/natives"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/can1357/oh-my-pi/issues"
|
|
},
|
|
"keywords": [
|
|
"napi",
|
|
"rust",
|
|
"native",
|
|
"grep",
|
|
"text-processing",
|
|
"clipboard",
|
|
"image",
|
|
"pty",
|
|
"shell",
|
|
"syntax-highlighting"
|
|
],
|
|
"main": "./native/index.js",
|
|
"types": "./native/index.d.ts",
|
|
"scripts": {
|
|
"build": "bun scripts/build-native.ts",
|
|
"check": "biome check . && bun run check:types",
|
|
"check:types": "tsgo -p tsconfig.json --noEmit",
|
|
"lint": "biome lint .",
|
|
"test": "bun run build && bun test",
|
|
"fix": "biome check --write --unsafe .",
|
|
"fmt": "biome format --write .",
|
|
"embed:native": "bun scripts/embed-native.ts",
|
|
"bench": "bun bench/grep.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "3.6.0",
|
|
"@types/bun": "^1.3"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.3.7"
|
|
},
|
|
"napi": {
|
|
"binaryName": "pi_natives",
|
|
"triples": {}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"native",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./native/index.d.ts",
|
|
"import": "./native/index.js"
|
|
}
|
|
}
|
|
}
|