Skip to content

Fix: Publish workspace packages with pnpm (backport to staging)#281

Merged
hungtranphamminh merged 1 commit into
stagingfrom
fix/oc-publish-staging
Jun 15, 2026
Merged

Fix: Publish workspace packages with pnpm (backport to staging)#281
hungtranphamminh merged 1 commit into
stagingfrom
fix/oc-publish-staging

Conversation

@hungtranphamminh

Copy link
Copy Markdown
Collaborator

Backport of #280 to staging.

Switches the release workflows from npm publish to pnpm publish, which resolves the workspace:* protocol at pack time (fixes #279). Also brings the oc-memwal base version to 0.0.5 so staging prereleases track 0.0.5-rc.N.

Already merged to main and published as 0.0.5 (latest). Cherry-pick of 2365ed8.

On merge, staging will publish a corrected 0.0.5-rc.0 prerelease.

…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.
@hungtranphamminh
hungtranphamminh merged commit 97ce734 into staging Jun 15, 2026
8 checks passed
@hungtranphamminh
hungtranphamminh deleted the fix/oc-publish-staging branch June 15, 2026 14:15
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.

2 participants