Skip to content

Commit 0b98ace

Browse files
bpamiriclaude
andauthored
feat(web): packages.wheels.dev static site (wheels-dev#2271) (wheels-dev#2278)
* docs(docs): add packages.wheels.dev site design spec (wheels-dev#2271) Brainstorm output for the deferred wheels.dev half of wheels-dev#2271. Proposes a fifth Astro static site alongside blog/api/guides under web/sites/, deployed to Cloudflare Pages as wheels-packages, rebuilt via repository_dispatch fired from the wheels-packages registry repo on manifest merges. Card-grid listing, detail pages with rendered README through the unified/remark/rehype pipeline. No runtime, build-time fetch, fail-loud on registry errors. * docs(docs): add implementation plan for packages.wheels.dev site * feat(docs): scaffold packages.wheels.dev Astro site * feat(docs): add vitest to web workspace for unit tests * chore(docs): add uniform test script across all web sites * feat(docs): add registry.ts build-time fetcher for packages site * fix(docs): include URL in malformed-manifest error; document cwd gotcha * feat(docs): add markdown.ts for sanitized README rendering * test(docs): pin sanitizer behavior and empty-input handling * feat(docs): add listing page + PackageCard for packages site * fix(docs): use correct @wheels-dev/ui tokens; cache copy-button label * feat(docs): add [name].astro detail page with version history and README * fix(docs): add table caption; promote .visually-hidden to BaseLayout * feat(docs): wire packages site into web-deploy matrix with registry dispatch * test(docs): add visual-regression baselines for packages site Adds two SITES entries (packages-index + packages-wheels-sentry) to the visual-regression harness and captures their baseline PNGs. Without these baselines the visual-regression CI job fails for the new packages.wheels.dev site. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(docs): guard against manifest.name vs directory-name drift * test(docs): update packages visual baselines from CI (Linux rendering) * feat(web): add packages.wheels.dev to shared header + footer nav * test(web): refresh visual baselines after shared nav update --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f924f2e commit 0b98ace

33 files changed

Lines changed: 3626 additions & 6 deletions

.github/workflows/web-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
paths:
1212
- 'web/**'
1313
- '.github/workflows/web-deploy.yml'
14+
repository_dispatch:
15+
types: [registry-updated]
1416

1517
jobs:
1618
deploy:
@@ -26,7 +28,7 @@ jobs:
2628
strategy:
2729
fail-fast: false
2830
matrix:
29-
site: [landing, blog, guides, api]
31+
site: ${{ github.event_name == 'repository_dispatch' && fromJSON('["packages"]') || fromJSON('["landing", "blog", "guides", "api", "packages"]') }}
3032

3133
steps:
3234
- name: Checkout

0 commit comments

Comments
 (0)