Skip to content

Add npm repository metadata - #30

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

Add npm repository metadata#30
wowsofine wants to merge 1 commit into
cloudflare: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 workers-mcp@0.0.13 package currently exposes homepage and bugs metadata, but npm view workers-mcp@0.0.13 repository --json returns no source repository metadata. Adding repository gives npm users and package tooling a direct source link.

Verification

npm view workers-mcp@0.0.13 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