Skip to content

Rename package to @evalops/mcp-openapi; add npm publish to release workflow - #41

Merged
haasonsaas merged 1 commit into
mainfrom
feat/scoped-package-npm-publish
Aug 4, 2026
Merged

Rename package to @evalops/mcp-openapi; add npm publish to release workflow#41
haasonsaas merged 1 commit into
mainfrom
feat/scoped-package-npm-publish

Conversation

@haasonsaas

Copy link
Copy Markdown
Collaborator

The unscoped mcp-openapi npm name is owned by an unrelated third party (docat0209, v0.3.0), so this project can never publish under its current name. This PR:

  • Renames the package to @evalops/mcp-openapi; the mcp-openapi bin name is unchanged. Version bumped to 0.5.0 (rename is breaking for library consumers).
  • Adds license, repository, homepage, bugs, keywords, publishConfig.access=public to package.json.
  • Release workflow (v* tags) now runs npm publish --provenance when the NPM_TOKEN repo secret is set; skipped otherwise, GitHub release unaffected. id-token: write added for provenance.
  • init/generate scaffolds emit the dependency under the key @evalops/mcp-openapi so it matches the package's real name.
  • README documents the scoped name.

Action needed to actually publish (cannot be done from this session — no npm credentials on this machine): create an npm automation token for the @evalops scope, add it as the NPM_TOKEN repo secret, then push a v0.5.0 tag.

Gates: check/test/pack pass locally; npm pack produces evalops-mcp-openapi-0.5.0.tgz with the expected metadata.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LqBsGC7xLvihtBxhCdWKz5

…rkflow

The unscoped "mcp-openapi" name on npm is owned by an unrelated third
party, so this package can never publish under it. Rename to
@evalops/mcp-openapi (bin name stays "mcp-openapi"), add license,
repository, keywords, and publishConfig fields, and bump to 0.5.0 since
the rename is breaking for library consumers.

The release workflow now publishes to npm with provenance on tag pushes
when the NPM_TOKEN repository secret is configured; without the secret
the publish step is skipped and the GitHub release still happens.

Scaffolds emit "@evalops/mcp-openapi": "github:evalops/mcp-openapi" so
the dependency key matches the package's real name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LqBsGC7xLvihtBxhCdWKz5
@haasonsaas
haasonsaas merged commit 7b33b1a into main Aug 4, 2026
4 checks passed
@haasonsaas
haasonsaas deleted the feat/scoped-package-npm-publish branch August 4, 2026 09:02
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