ruvector/scripts
rUv ff87ffc086 fix: Export new NAPI functions in native wrapper
- Added CollectionManager, getMetrics, getHealth exports to index.cjs
- Fixed VectorDB/VectorDb naming inconsistency in TypeScript
- Added docker test script

All exports now working:
- VectorDB (vector operations)
- CollectionManager (multi-collection support)
- getHealth() (health status)
- getMetrics() (Prometheus metrics)
- version(), hello() (utils)

Tested in Docker container: PASSED

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 19:05:00 +00:00
..
build feat: Update NAPI-RS bindings with new capabilities (v0.1.15) 2025-11-26 18:47:48 +00:00
check-and-publish-router-wasm.sh feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00
ci-sync-lockfile.sh feat: Add automated package-lock.json sync tooling 2025-11-25 21:24:14 +00:00
install-hooks.sh feat: Add automated package-lock.json sync tooling 2025-11-25 21:24:14 +00:00
publish-crates.sh feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00
publish-router-wasm.sh feat: Phase 3 - WASM architecture with in-memory storage 2025-11-21 13:40:34 +00:00
README.md feat: Add automated package-lock.json sync tooling 2025-11-25 21:24:14 +00:00
sync-lockfile.sh fix: Resolve pre-existing test failures and fix sync script 2025-11-26 17:54:38 +00:00
test-all-graph-commands.sh feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
test-docker-package.sh fix: Export new NAPI functions in native wrapper 2025-11-26 19:05:00 +00:00
test-graph-cli.sh feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
validate-packages-simple.sh feat: Prepare packages for npm publishing with comprehensive validation 2025-11-23 04:44:45 +00:00
validate-packages.sh feat: Prepare packages for npm publishing with comprehensive validation 2025-11-23 04:44:45 +00:00

RuVector Automation Scripts

This directory contains automation scripts to streamline development and prevent common issues.

📜 Available Scripts

🔄 sync-lockfile.sh

Automatically syncs package-lock.json with package.json changes.

Usage: ./scripts/sync-lockfile.sh

🪝 install-hooks.sh

Installs git hooks for automatic lock file management.

Usage: ./scripts/install-hooks.sh

🤖 ci-sync-lockfile.sh

CI/CD script for automatic lock file fixing.

Usage: ./scripts/ci-sync-lockfile.sh

🚀 Quick Start

  1. Install git hooks (recommended):

    ./scripts/install-hooks.sh
    
  2. Test the hook:

    cd npm/packages/ruvector
    npm install chalk
    git add package.json
    git commit -m "test: Add chalk dependency"
    # Hook automatically updates lock file
    

See CONTRIBUTING.md for full documentation.