mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-26 07:44:05 +00:00
- Build NAPI native addon (linux-x64-gnu, 1.3MB) and WASM binary (42KB) - Fix NodeBackend to use RvfDatabase class instance methods instead of module-level functions - Fix WasmBackend to use C-ABI store functions with integer handles - Add platform loader (index.js) and TypeScript declarations (index.d.ts) - Create JS glue and type declarations for WASM package - Set up platform-specific npm packages for all 5 targets - Bump rvf-node/rvf-wasm to 0.1.4, SDK to 0.1.6 - Fix version pins from 0.1.0 to ^0.1.4 Resolves: rvf-node and rvf-wasm published as empty stubs with no binaries Verified: E2E test passes (create -> ingest -> query -> status -> close) Co-Authored-By: claude-flow <ruv@ruv.net>
25 lines
586 B
JSON
25 lines
586 B
JSON
{
|
|
"name": "@ruvector/rvf-node",
|
|
"version": "0.1.4",
|
|
"description": "RuVector Format Node.js native bindings",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"napi": {
|
|
"binaryName": "rvf-node",
|
|
"targets": [
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"aarch64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "napi build --platform --release",
|
|
"prepublishOnly": "napi prepublish -t npm"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^2.18.0"
|
|
}
|
|
}
|