This directory contains automation scripts to streamline development and prevent common issues.
Automatically syncs package-lock.json with package.json changes.
Usage: ./scripts/sync-lockfile.sh
Installs git hooks for automatic lock file management.
Usage: ./scripts/install-hooks.sh
CI/CD script for automatic lock file fixing.
Usage: ./scripts/ci-sync-lockfile.sh
-
Install git hooks (recommended):
./scripts/install-hooks.sh
-
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.
