Commit graph

3 commits

Author SHA1 Message Date
Andrew Walsh e8bec41895
build(deps): install ts-apt 1.1.1 from the npm registry (#244)
ts-apt is now published to npm, so depend on the exact release instead
of a git commit SHA. check_deps_pin accepts an exact registry version
whose lockfile entry resolves from registry.npmjs.org with a sha512
integrity hash, and still accepts a full SHA pin for unreleased ts-apt
changes. Ranges, tags and branch refs are still rejected.

1.1.1 keeps the 1.1.0 public API; the dpkg-query listInstalled output
format change does not affect the action, which doesn't call it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:44:59 -08:00
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