From 056e56ba2da03636eafba384322e386259817d41 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 22 Oct 2024 21:16:54 -0400 Subject: Verify node deps during pre-commit --- git-hooks/pre-commit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit index cd2f9ee..4485005 100755 --- a/git-hooks/pre-commit +++ b/git-hooks/pre-commit @@ -4,6 +4,8 @@ # run. It gets old fast. That's why this uses `cargo check` and not `cargo # test`, for example. +# Make sure package-lock.json is up to date with package.json +npm ci --dry-run # Make sure Cargo.lock is up to date with Cargo.toml. cargo update --locked --workspace # Make sure there are no screamers in the code. -- cgit v1.2.3