Skip to content

Add npm repository metadata#183

Open
wowsofine wants to merge 1 commit into
BrowserMCP:mainfrom
wowsofine:codex/add-npm-repository-metadata
Open

Add npm repository metadata#183
wowsofine wants to merge 1 commit into
BrowserMCP:mainfrom
wowsofine:codex/add-npm-repository-metadata

Conversation

@wowsofine

Copy link
Copy Markdown

What changed

Adds the standard npm repository metadata field to package.json.

Why

The published @browsermcp/mcp@0.1.3 package currently exposes homepage and bugs metadata, but npm view @browsermcp/mcp@0.1.3 repository --json returns no source repository metadata. Adding repository gives npm users and package tooling a direct source link.

Verification

npm view @browsermcp/mcp@0.1.3 name version homepage repository bugs --json
node -e "const p=require('./package.json'); if(!p.repository?.url||!p.bugs) process.exit(1); console.log(p.repository.url); console.log(typeof p.bugs === 'string' ? p.bugs : p.bugs.url);"
npm pack --dry-run --ignore-scripts
git diff --check

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