Skip to content

fix(cli): move @open-code-review/platform to devDependencies#25

Merged
spencermarx merged 1 commit intomainfrom
hotfix/npm-cli-dep
Apr 3, 2026
Merged

fix(cli): move @open-code-review/platform to devDependencies#25
spencermarx merged 1 commit intomainfrom
hotfix/npm-cli-dep

Conversation

@spencermarx
Copy link
Copy Markdown
Owner

@spencermarx spencermarx commented Apr 3, 2026

Summary

Fixes ERR_PNPM_FETCH_404 when installing @open-code-review/cli@1.10.2 globally — the private @open-code-review/platform package was listed in dependencies instead of devDependencies, causing npm/pnpm to try fetching it from the registry.

The platform lib is bundled by esbuild at build time and should never be a runtime dependency.

Test plan

  • nx build cli — builds successfully with platform in devDeps
  • pnpm add -g @open-code-review/cli@latest — installs without 404 after publish

Closes: N/A (post-release hotfix)

🤖 Generated with claude-flow

The platform lib is private and bundled by esbuild at build time —
it should never be a runtime dependency. Having it in dependencies
caused npm/pnpm to try fetching it from the registry on install,
resulting in a 404 error for end users.

Co-Authored-By: claude-flow <ruv@ruv.net>
@spencermarx spencermarx merged commit e47f4b5 into main Apr 3, 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