Skip to content

fix: treat npm view E404 stderr as unpublished - #245

Merged
tonyketcham merged 1 commit into
mainfrom
stack/tonyketcham/toeknee/fix-publish-e404-preflight/treat-npm-view-e404-stderr-unpublished--83d229a0
Aug 12, 2026
Merged

fix: treat npm view E404 stderr as unpublished#245
tonyketcham merged 1 commit into
mainfrom
stack/tonyketcham/toeknee/fix-publish-e404-preflight/treat-npm-view-e404-stderr-unpublished--83d229a0

Conversation

@tonyketcham

Copy link
Copy Markdown
Collaborator

execFileSync('npm view …') throws with exit status 1 and E404 in
stderr; error.code is not 'E404'. Classify that shape as "not yet
published" so pnpm publish:ci proceeds instead of aborting preflight.

Co-authored-by: Cursor cursoragent@cursor.com

`execFileSync('npm view …')` throws with exit status 1 and E404 in
stderr; `error.code` is not `'E404'`. Classify that shape as "not yet
published" so `pnpm publish:ci` proceeds instead of aborting preflight.

Co-authored-by: Cursor <cursoragent@cursor.com>
Change-Id: I83d229a0f97bc4c9eb27d68001fcd80220a471a2
@tonyketcham
tonyketcham merged commit 824e8a1 into main Aug 12, 2026
17 of 19 checks passed
@tonyketcham
tonyketcham deleted the stack/tonyketcham/toeknee/fix-publish-e404-preflight/treat-npm-view-e404-stderr-unpublished--83d229a0 branch August 12, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant