Conversation
… hooks Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shared site hooks hardcoded
bun run --if-present, which blocks the pnpm sites (rvnflt, voidsite) from adopting them. A top-level lefthooktemplates:entrypmresolves topnpmwhen the repo has apnpm-lock.yaml, elsebun, and every command uses{pm} run --if-present. The install hints use{pm} installtoo.Also fixes the header comment (
refis a tag or branch, not a SHA).Tested as a
file://remote in throwaway repos: the bun repo runsbun runfor each step, the pnpm repo (with a stubpnpmon PATH) runspnpm run --if-presentfor each step.lefthook validatepasses and the unit test now asserts the lockfile detection and that nobun runremains.Note:
bun run --if-present auditfalls through to macOS's/usr/sbin/auditwhen a site defines noauditscript. Pre-existing and harmless for sites that define one.🤖 Generated with Claude Code