Repository navigation
fix(pre-commit): run bundled CLI directly - #747
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage Report
File CoverageNo changed files found. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
## [2.1.1](v2.1.0...v2.1.1) (2026-10-13) ### Bug Fixes * **pre-commit:** run bundled CLI directly ([#747](#747)) ([8050260](8050260))
|
🎉 This PR is included in version 2.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Why
The v2.1.0 hook wrapper executes the matching npm release through
npx. The release smoke exposed a registry-availability window: npm accepted 2.1.0 but reported it was still being processed, and the hook received a 404 before the tarball became available.Released repository revisions already contain the self-contained executable
dist/bin/index.js, so the hook does not need the npm registry at runtime.Changes
dist/bin/index.jsdirectly;args:unchanged;Verification
The existing published-hook smoke test exercises this branch through real pre-commit configuration, including custom
--readmearguments, first-run modification detection, and a clean idempotent second run. The repository's bundled-binary test independently verifies thatdist/bin/index.jsworks withoutnode_modules.