fix(scripts): disable npm provenance for private repo - #141
Conversation
npm publish --provenance requires the source repository to be public. clerk/cli is currently private, so sigstore rejects publishes with E422. Remove the flag for now. It will be re-enabled once the repo is public and OIDC trusted publishing replaces NODE_AUTH_TOKEN.
|
Stack: npm-publishing-fixes Part of a stacked PR chain. Do not merge manually. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Summary
--provenancefromnpm publishinscripts/releaser/index.tsWhy
npm publish --provenancerequires the source repository to be public.clerk/cliis currently private, so sigstore rejects publishes withE422 Unprocessable Entity. The flag is removed with a comment pointing to when it should be re-enabled: once the repo is public and OIDC trusted publishing replacesNODE_AUTH_TOKEN(see the follow-up PR in this stack).