From 504d56313f57e6adff6ed6aefe9b80d492a83bb1 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 15 May 2026 00:23:53 -0500 Subject: [PATCH] =?UTF-8?q?fix(registry):=20correct=20cf=20entry=20?= =?UTF-8?q?=E2=80=94=20drop=20wrong=20workers-sdk=20repo,=20use=20npm=20UR?= =?UTF-8?q?L?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cf entry in registry.yaml had `repo: cloudflare/workers-sdk`, but cf is not actually in that monorepo. I enumerated all 29 packages in cloudflare/workers-sdk — none has `bin: cf`. The npm `cf` package itself (currently v0.0.5) ships pre-bundled and declares no `repository`, `homepage`, `bugs`, or `author` fields — Cloudflare's Technical Preview is published to npm without disclosing the source repo. Side effects of the original wrong entry: - The build's registry-index emitted a deterministic "duplicate owner/repo" mapping: cloudflare/workers-sdk → cf (overwriting wrangler in YAML order). A user pasting github.com/cloudflare/workers-sdk into the future live-scoring form would land on /score/cf instead of the more-canonical /score/wrangler. - /score/cf linked to the wrong upstream repo. Replace `repo:` with `url: https://www.npmjs.com/package/cf` (the canonical distribution surface for cf today) and add an inline comment explaining why there's no GitHub repo. The schema treats url as a fallback when repo is absent, so the scorecard page renders correctly (verified: dist/score/cf.html + cf.md still emit). After this change: - Build warning 'duplicate owner/repo cloudflare/workers-sdk' is gone. - cf falls into the same 'no parseable owner/repo — skipped' bucket as make and nvidia-smi (legitimate; these tools have no canonical source repo). - The discovery-chain reverse-lookup map for cloudflare/workers-sdk now correctly resolves to wrangler. Surfaced during the post-deploy log review for release PR #85. --- registry.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/registry.yaml b/registry.yaml index c78d4c6..0229c56 100644 --- a/registry.yaml +++ b/registry.yaml @@ -552,7 +552,11 @@ tools: description: CLI for Cloudflare Workers - name: cf - repo: cloudflare/workers-sdk + # The Tech Preview npm package ships pre-bundled and declares no + # `repository` field. `cf` is NOT in cloudflare/workers-sdk despite + # being from the same team. Until Cloudflare discloses the source + # repo, the project link points at the npm distribution page. + url: https://www.npmjs.com/package/cf binary: cf language: TypeScript tier: workhorse