Skip to content

Strip the workspace protocol before npm reads the manifest - #11

Merged
jwaldrip merged 1 commit into
mainfrom
ci-publish-order
Aug 7, 2026
Merged

Strip the workspace protocol before npm reads the manifest#11
jwaldrip merged 1 commit into
mainfrom
ci-publish-order

Conversation

@jwaldrip

@jwaldrip jwaldrip commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The second dry run got past Node and died on:

npm error EUNSUPPORTEDPROTOCOL Unsupported URL Type "workspace:": workspace:*

npm version resolves the dependency tree, and workspace:* is bun's protocol, meaningless to npm. The strip step already existed but ran after versioning, so npm hit the manifest while it still carried it.

Ordering here is correctness rather than tidiness, and the comment now says so, because the natural reading is that stripping a dev-only field is cosmetic cleanup that belongs late.

🤖 Generated with Claude Code

Second dry run got past Node and died on:

  npm error EUNSUPPORTEDPROTOCOL Unsupported URL Type "workspace:"

`npm version` resolves the dependency tree, and `workspace:*` means
nothing to npm. The strip step existed but ran after it, so npm hit the
manifest while it still carried bun's protocol.

Ordering here is correctness rather than tidiness, and the comment now
says so, because the natural reading is that stripping is cosmetic
tidying that belongs late.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jwaldrip
jwaldrip merged commit a20887e into main Aug 7, 2026
1 check passed
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