build: commit the lockfile and allow build: commits

The scaffold shipped with installs pinned to --package-lock=false, on a
misreading of AGENTS.md that has since been corrected. npm ci needs this file,
and npm ci is how every task worktree spins up.

Also adds 'build' to the commit-msg type list; it is a standard conventional
type and its absence rejected this very commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Marcos Paulo
2026-09-05 02:12:24 +00:00
parent 971b5ec7bc
commit db2e969fc3
2 changed files with 8078 additions and 2 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ case "$first_line" in
"Merge "*|"Revert "*) exit 0 ;; "Merge "*|"Revert "*) exit 0 ;;
esac esac
if ! printf '%s' "$first_line" | grep -qE '^(feat|fix|docs|refactor|chore|test|style|ci|perf)(\([a-z0-9 -]+\))?: .{1,}$'; then if ! printf '%s' "$first_line" | grep -qE '^(feat|fix|docs|refactor|chore|test|style|ci|perf|build)(\([a-z0-9 -]+\))?: .{1,}$'; then
echo "commit-msg: subject must be '<type>: <subject>' (lowercase type)." >&2 echo "commit-msg: subject must be '<type>: <subject>' (lowercase type)." >&2
echo " types: feat fix docs refactor chore test style ci perf" >&2 echo " types: feat fix docs refactor chore test style ci perf build" >&2
echo " got: $first_line" >&2 echo " got: $first_line" >&2
exit 1 exit 1
fi fi
+8076
View File
File diff suppressed because it is too large Load Diff