Retire the Next.js storefront - #227
Merged
Merged
Conversation
apps/storefront keeps only the catalog: registry/, build-catalog, build-previews and their test. The Worker + React storefront carry every feature (ratings, reports, moderation, per-app page, publish, legal pages). storefront-cmp's wasm distribution goes to its default build directory. Docs, READMEs and comments updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QwYWVPse8spRrfMMcuTJPv
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Reviewer's GuideRetires the Next.js storefront and removes its application, deployment, and feature code, leaving apps/storefront as the git-backed catalog builder while documenting storefront-react plus storefront-worker as the production path and the pending Cloudflare domain cutover. Flow diagram for building and serving the git-backed catalogflowchart LR
Registry["registry/\nsources.json + local packages"] --> BuildCatalog["build-catalog"]
BuildCatalog --> Verify["Verify pinned sources and integrity"]
Verify --> BuildPreviews["build-previews"]
BuildPreviews --> Artifacts["Committed catalog artifacts\npackages + catalog.json + previews"]
Artifacts --> Export["storefront-react\nexport-catalog.mjs"]
Export --> Worker["storefront-worker\nserves catalog and APIs"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Sorry @HereLiesAz, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 day and 19 hours by commenting @sourcery-ai review. Upgrade to get a review now.
This was referenced Sep 27, 2026
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apps/storefrontbecomes the catalog only:registry/,build-catalog,build-previewsand their test. Every feature it served now lives inapps/storefront-react+apps/storefront-worker(ratings, reports, moderation, per-app page, publish, privacy/terms).app/,components/,lib/,middleware.ts,next.config.mjs,vercel.json,scripts/{bundle,embed-docs,seed},public/, and the Next-only tests. Next deps dropped from the lockfile.storefront-cmp: the wasm distribution goes to its default build directory, not../storefront/public. The matching.gitignoreblock is gone.cleanUrlsis always on, since theAZPHALT_DOCS_EMBEDpath is gone. README, ARCHITECTURE, OPERATIONS (cutover status), the Worker README § Domains, the marketplace and registry readmes, the deploy-docs comment, and the legal-page header comments are updated.@azphalt/storefrontmajor (private).Effect on Vercel: builds of
mainwill fail from here on, and Vercel keeps serving its last good deployment until the domains move to the Worker.Overlap with #226:
apps/storefront/package.jsonalready haslicense: Apache-2.0here too, so that line merges cleanly either way.Validated with
pnpm -r build,pnpm testand the docs build. All green: Worker 25, storefront 5, repository-server 54, and the rest.🤖 Generated with Claude Code
https://claude.ai/code/session_01QwYWVPse8spRrfMMcuTJPv
Generated by Claude Code
Summary by Sourcery
Retire the Next.js storefront and make
apps/storefrontthe canonical catalog source while directing production serving to the React storefront and Cloudflare Worker.Enhancements:
apps/storefrontto the git-backed catalog and its catalog and preview build tooling, with the production storefront provided by the React UI and Cloudflare Worker.Build:
Deployment:
Tests:
Chores:
@azphalt/storefrontfor a major private-package release reflecting its transition to catalog-only responsibilities.