fix: run npm install in pre-commit hook before build

Ensures node_modules are up to date before rebuilding dist/, preventing
unintended dist changes from stale dependencies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jdx 2026-03-22 15:41:00 +00:00
parent 89c67a39ab
commit 508514947d
No known key found for this signature in database
GPG key ID: 584DADE86724B407

View file

@ -1,4 +1,5 @@
# shellcheck disable=SC1091
npm install
npm run all
git add dist