Fix: Publish workspace packages with pnpm (backport to staging)#281
Merged
Conversation
…protocol The release workflows used `npm publish`, which ships package.json verbatim and cannot rewrite the `workspace:` protocol. As a result oc-memwal was published with `"@mysten-incubation/memwal": "workspace:*"`, which fails to install outside the monorepo (`Unsupported URL Type 'workspace:'`). Switch release-oc-memwal, release-mcp, and release-sdk to `pnpm publish` (--no-git-checks), which rewrites `workspace:*` to the concrete dependency version at pack time. Bump oc-memwal to 0.0.5 so a working version is published; 0.0.4 on npm remains broken and should be deprecated.
daniellam258
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #280 to
staging.Switches the release workflows from
npm publishtopnpm publish, which resolves theworkspace:*protocol at pack time (fixes #279). Also brings the oc-memwal base version to0.0.5so staging prereleases track0.0.5-rc.N.Already merged to
mainand published as0.0.5(latest). Cherry-pick of 2365ed8.On merge, staging will publish a corrected
0.0.5-rc.0prerelease.