singularity-forge/packages/native/package.json
TÂCHES f8b16beddb fix: add missing package.json subpath exports and oauth stubs (#1014)
Add 7 missing subpath exports to @gsd/native (diff, gsd-parser,
highlight, json-parse, stream-process, truncate, ttsr) and create
root-level oauth.js/oauth.d.ts stub files for @gsd/pi-ai to match
the bedrock-provider pattern.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:01:56 -06:00

92 lines
2.6 KiB
JSON

{
"name": "@gsd/native",
"version": "0.1.0",
"description": "Native Rust bindings for GSD \u2014 high-performance native modules via N-API",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"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 src/__tests__/html.test.mjs src/__tests__/text.test.mjs src/__tests__/fd.test.mjs src/__tests__/image.test.mjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./grep": {
"types": "./dist/grep/index.d.ts",
"import": "./dist/grep/index.js"
},
"./ps": {
"types": "./dist/ps/index.d.ts",
"import": "./dist/ps/index.js"
},
"./glob": {
"types": "./dist/glob/index.d.ts",
"import": "./dist/glob/index.js"
},
"./clipboard": {
"types": "./dist/clipboard/index.d.ts",
"import": "./dist/clipboard/index.js"
},
"./ast": {
"types": "./dist/ast/index.d.ts",
"import": "./dist/ast/index.js"
},
"./html": {
"types": "./dist/html/index.d.ts",
"import": "./dist/html/index.js"
},
"./text": {
"types": "./dist/text/index.d.ts",
"import": "./dist/text/index.js"
},
"./fd": {
"types": "./dist/fd/index.d.ts",
"import": "./dist/fd/index.js"
},
"./image": {
"types": "./dist/image/index.d.ts",
"import": "./dist/image/index.js"
},
"./xxhash": {
"types": "./dist/xxhash/index.d.ts",
"import": "./dist/xxhash/index.js"
},
"./diff": {
"types": "./dist/diff/index.d.ts",
"import": "./dist/diff/index.js"
},
"./gsd-parser": {
"types": "./dist/gsd-parser/index.d.ts",
"import": "./dist/gsd-parser/index.js"
},
"./highlight": {
"types": "./dist/highlight/index.d.ts",
"import": "./dist/highlight/index.js"
},
"./json-parse": {
"types": "./dist/json-parse/index.d.ts",
"import": "./dist/json-parse/index.js"
},
"./stream-process": {
"types": "./dist/stream-process/index.d.ts",
"import": "./dist/stream-process/index.js"
},
"./truncate": {
"types": "./dist/truncate/index.d.ts",
"import": "./dist/truncate/index.js"
},
"./ttsr": {
"types": "./dist/ttsr/index.d.ts",
"import": "./dist/ttsr/index.js"
}
},
"files": [
"dist"
],
"license": "MIT"
}