Skip to content

chore(meta): record the #208 description fix under Unreleased and pin both listing caps with a test - #210

Open
m1ngshum wants to merge 1 commit into
mainfrom
chore/npm-description-cap-changelog
Open

chore(meta): record the #208 description fix under Unreleased and pin both listing caps with a test#210
m1ngshum wants to merge 1 commit into
mainfrom
chore/npm-description-cap-changelog

Conversation

@m1ngshum

@m1ngshum m1ngshum commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up to #208, which fit package.json's description into npm's 255-character registry cap (the v0.39.1 listing rendered "... VS Code, Win") and docs/registry-entry.json's into the MCP Registry schema's maxLength: 100, but merged with no CHANGELOG entry.

Verification

  • Live registry re-measured: npm view @getmcpm/cli description is exactly 255 chars, tail "VS Code, Win"; published version 0.39.1.
  • main's description measured at 232 chars; registry entry at 100; schema maxLength: 100 confirmed in the 2025-12-11 server.schema.json.
  • Each assertion mutation-verified: cap 255→200 fails only the npm test (expected 232 to be less than or equal to 200); cap 100→90 fails only the registry test (expected 100 to be less than or equal to 90).
  • pnpm run typecheck clean; pnpm test 2933/2933 green.

Takes effect on npm at the next publish.

… both listing caps with a test

#208 fit package.json's description into npm's 255-char registry cap and
docs/registry-entry.json's into the MCP Registry schema's maxLength 100,
but merged without a CHANGELOG entry, so the next release's notes would
not say the truncated listing #207 delivered in v0.39.1 was fixed. Adds
that entry under [Unreleased] so it rides the next release rather than
justifying one.

Neither cap is enforced by npm pack, tsc or CI — a future SEO edit would
repeat #208 unseen until the next publish — so a two-assertion test now
pins them. Each assertion mutation-verified: lowering its cap fails that
test alone, and the failure message reports the measured length (232 and
100).
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