diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-22 21:16:54 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-22 21:16:54 -0400 |
| commit | 056e56ba2da03636eafba384322e386259817d41 (patch) | |
| tree | 8bd0cc7da3911c88a87dee87bb651ffdf67fa0aa /git-hooks/pre-commit | |
| parent | e7d4b6d7ddbcd0128e47476e6cd1d824a1929f3c (diff) | |
Verify node deps during pre-commit
Diffstat (limited to 'git-hooks/pre-commit')
| -rwxr-xr-x | git-hooks/pre-commit | 2 |
1 files changed, 2 insertions, 0 deletions
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. |
