Commit graph

2 commits

Author SHA1 Message Date
Andrew Walsh 803f615529
build: manage git hooks with husky (#242)
Replace the hand-rolled .githooks/ directory and core.hooksPath prepare
script with husky, matching ts-apt. The pre-push hook moves to
.husky/pre-push and still runs npm run check:deps-pin.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:24:46 -08:00
Andrew Walsh 07b3b62213
ci: generalize ts-apt pin check into check_deps_pin.mts (#238)
Replace scripts/ops/check_tsapt_pin.sh with scripts/ops/check_deps_pin.mts,
which takes dependency names as arguments and checks each one for a
local symlink, a full commit SHA pin in package.json, and a matching,
non-link package-lock.json entry.

Rename the npm script to check:deps-pin (run with ts-apt) and use it from
the pre-push hook, the CI action-deps-pinned job and AGENTS.md.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:26:37 -08:00