mirror of
https://github.com/ruvnet/RuView
synced 2026-07-27 18:11:43 +00:00
11 lines
230 B
Bash
Executable File
11 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
# Git pre-commit hook to automatically sync package-lock.json
|
|
# Install: ln -sf ../../.githooks/pre-commit .git/hooks/pre-commit
|
|
|
|
export GIT_HOOK="pre-commit"
|
|
|
|
# Run the sync script
|
|
./scripts/sync-lockfile.sh
|
|
|
|
exit $?
|