Skip to content

fix(seo): list pub.dev packages on the pub registry page - #33

Merged
fleizean merged 1 commit into
developfrom
gsd/quick-261102-seo-pub-hub
Nov 2, 2026
Merged

fleizean merged 1 commit into
developfrom
gsd/quick-261102-seo-pub-hub

Conversation

@fleizean

@fleizean fleizean commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Makes the pub.dev registry page list its packages, and keeps any registry page with no packages out of search results.

Why

Closes #32

The filter added in #29 used pub.dev, while the packages and the registries API use pub. The page showed none of the 57 packages, answered 200 and could be indexed, and the sitemap and llms.txt linked to it.

Changes

  • /packages treats pub as the registry value and accepts pub.dev as an alias, so the chip now shows as selected.
  • The sitemap and llms.txt link to /packages?registry=pub.
  • A registry page with no packages is noindex.

Notes for reviewers

No config or data change is needed. The sitemap is cached in memory for an hour, so the new URL can take up to an hour to appear after deploy. No build or test was run locally.

Checklist

  • This pull request is linked to an issue (Closes #NNN above)
  • The pull request targets develop and is about one thing
  • Commit messages follow Conventional Commits (feat(scope): ..., fix(scope): ...)
  • CI is green (backend tests, frontend build and tests, dependency gate)
  • Schema changes are EF Core migrations generated by the tool, not hand-edited
  • A changed backend DTO has its TypeScript twin updated in src/frontend/src/app/core/models
  • New dependencies are justified and their lock files are updated in the same commit
  • No secrets, tokens or personal data in code, logs or this description
  • Code comments are kept to a minimum; the reasoning lives in this description

Packages and the registries API use "pub", so filtering by "pub.dev" matched nothing and
left an empty page that could be indexed. A registry page with no packages is now noindex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fleizean
fleizean merged commit 312b33e into develop Nov 2, 2026
5 checks passed
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.

fix(seo): the pub.dev registry page lists no packages

1 participant