Repository navigation
docs(chore): clean up repository docs and structure - #592
Conversation
- README: fold the orphaned trailing section into Usage, split the long getting-started flow into Usage subsections, give the component inventory its own section, condense the demo-seed paragraph, and point the duplicated checks table at CONTRIBUTING. - Refresh stale facts: AGENTS.md (routes under src/app/[locale], repo map, Newsletter Callout as file-only), ROADMAP (#134 shipped, #523 closed, unused link refs), DESIGN.md (English-only site), CONTRIBUTING (source:build, versioned-source rule), and payload-components/README (update, init --scaffold, pr-gate classification, --cwd smoke test, shadcn directory listing moved here from AGENTS.md). - Regroup the docs sidebar into Get Started, Components, Guides, Reference, and Project. URLs are unchanged. - Move payload-components/templates/component-template to payload-components/component-template so the contributor scaffold no longer ships in the npm package, and tests/e2e/consent.ts into tests/e2e/support/. Regenerate the blog figure that quotes the scaffold README path. - Add docs/README.md describing the maintainer-records folder. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (2)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (36)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR updates repository, contributor, and install documentation. It records locale and component details, relocates component-template tooling, and updates consent-helper references in end-to-end tests. ChangesRepository and tooling guidance
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~12 minutes Change: Other Merge Risk: ⚪ Minimal · up to The documented smoke-test commands target the intended consumer project. No actionable issue is established before merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolve the move of tests/e2e/consent.ts to tests/e2e/support/consent.ts from #592: carry this branch's expectConsentBannerReady helper and its expect/Page imports onto the moved file, and point the a11y, templates-a11y, and consent specs at the new path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
A repository cleanup: docs say true things, each topic has one home, and two misplaced files move to where their siblings live. No published-CLI behavior, component source, or URL changes.
Root and workspace docs
src/lib/site.tsno longer holds component entries; add blog, messages, templates, rfcs/docs). The inventory block and pinned strings are byte-identical.pnpm source:buildsetup step, thenewgenerator, and the versioned-source rule that only lived in the README's orphaned section; fix a module path.src/app/[locale]/; add templates, blog, i18n, othertools/,rfcs//docs/), fix the doc-page route path, list Newsletter Callout as file-only, add blog/template/translation rows to "Where to change things", expand "Deeper docs", and move the shadcn directory-listing runbook intopayload-components/README.md(agents keep a pointer).init --scaffoldand the full lifecycle,updatein the source-ownership section, accuratepr-gatedescription (consumer jobs are classified), the manual smoke test now uses--cwd(it previously targeted this repo), complete Files list.docs/is (dated maintainer records, not guidance) versuscontent/docs/(the site) andrfcs/; marksdocs/superpowers/as historical.Public docs site
registry.mdx/architecture.mdx/contributing.mdx: mentionupdatein the source-ownership note, list Newsletter Callout as file-only, point contributors at thenewgenerator. Same fix for the catalog's Post components description.File moves
payload-components/templates/component-template/→payload-components/component-template/.templates/now holds only the generated template contracts, and the contributor scaffold stops shipping in the npm tarball (filesincludespayload-components/templates/). Updatednew.ts, two int specs, tsconfig/eslint excludes, the blog catalog path, and regenerated the one blog figure that quotes it (provenance line only).tests/e2e/consent.ts→tests/e2e/support/consent.ts, next to the other e2e helpers.Verification
pnpm lint,pnpm format:check,pnpm source:build,pnpm exec tsc --noEmit,pnpm test:registrypnpm run test:int— 803 passed, 1 skipped (opt-in pack case)pnpm test:pack— passed;npm pack --dry-runships 0 scaffold files and all 15 template contractspnpm blog:visuals:figures— onlycontribute-payload-component/figure-01changed (provenance path)pnpm build:e2e+ production e2e (all specs, one batch) — 416 passed, 240 skipped (macOS skips screenshot comparisons; Linux CI runs them), 0 failedNotes
docs/superpowers/(8 shipped July plans/specs). It is marked historical indocs/README.mdinstead.blob/mainlinks to the moved scaffold README resolve once this merges.🤖 Generated with Claude Code
Summary by CodeRabbit