fix(release): verify npm latest across npm 12 output changes - #44
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe npm publish verification now queries the package’s ChangesNpm latest verification
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Fix the public registry verifier after the successful 0.1.4 publication.
npm 12 returns
npm view <package> dist-tags --jsonas a singleton array, while npm 11 returns an object. The old jq expression therefore waited for all 30 retries even though 0.1.4 and the latest tag were public.This checks
<package>@latest versionas a scalar instead. It proves the same invariant without depending on npm JSON response shape.Verification:
Summary by CodeRabbit
Bug Fixes
Tests