[ef-35] fix: skip npm similarity-blocked aliases gracefully#34
Conversation
…f crashing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughVersion bump to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Problem
The publish pipeline was crashing on
failproof-aiwith:npm blocks unscoped names that normalize to the same string as an existing package after stripping punctuation (
failproof-ai→failproofai). This caused the entire alias publish step to abort, leaving subsequent aliases unpublished.Fix
Blocked aliases (require npm support approval):
failproof-ai,fail-proof-ai,failproof_ai,fail_proof_ai,fail-proofaiUnaffected aliases (different enough to pass npm's check):
failproof,failprof,failprof-ai,failprofai,fail-prof-ai,failprof_ai,faliproof,faliproof-ai,faliproofaidocs/package-aliases.mdto mark blocked names as "pending npm support approval" with an explanationAction needed (outside this PR)
Contact npm support at https://www.npmjs.com/support to request reservation of the 5 blocked names, citing anti-typosquatting / brand protection for the existing
failproofaipackage.Test plan
node scripts/publish-aliases.mjs --dry-runlocally shows all 14 entries🤖 Generated with Claude Code