Adds the `gsd-ast` crate providing AST-aware code search (`astGrep`) and rewrite (`astEdit`) via ast-grep with tree-sitter grammars for 38+ languages. Replaces Oh My Pi's fs_cache/task dependencies with the `ignore` crate for .gitignore-respecting file walking. Includes TypeScript type declarations and wrappers in packages/native. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "@gsd/native",
|
|
"version": "0.1.0",
|
|
"description": "Native Rust bindings for GSD — high-performance native modules via N-API",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"scripts": {
|
|
"build:native": "node ../../native/scripts/build.js",
|
|
"build:native:dev": "node ../../native/scripts/build.js --dev",
|
|
"test": "node --test src/__tests__/grep.test.mjs src/__tests__/ps.test.mjs src/__tests__/glob.test.mjs src/__tests__/clipboard.test.mjs src/__tests__/highlight.test.mjs"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./grep": {
|
|
"types": "./src/grep/index.ts",
|
|
"import": "./src/grep/index.ts"
|
|
},
|
|
"./ps": {
|
|
"types": "./src/ps/index.ts",
|
|
"import": "./src/ps/index.ts"
|
|
},
|
|
"./glob": {
|
|
"types": "./src/glob/index.ts",
|
|
"import": "./src/glob/index.ts"
|
|
},
|
|
"./clipboard": {
|
|
"types": "./src/clipboard/index.ts",
|
|
"import": "./src/clipboard/index.ts"
|
|
},
|
|
"./ast": {
|
|
"types": "./src/ast/index.ts",
|
|
"import": "./src/ast/index.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"src"
|
|
],
|
|
"license": "MIT"
|
|
}
|