refactor: migrate docs to docs-kit and replace concurrently with mprocs#106
Conversation
- Update LICENSE copyright to 2024-2026 - Update trunk plugins and linter versions - Add worker-configuration.d.ts and convex to trunk ignore - Clear .ncuskip files - Add social cards and mprocs.log to .gitignore Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add mprocs.yaml with procs for urls, pkg, docs, sitemap, social - Add scripts/dev-urls.mjs for dev server port discovery - Add cf-typegen script for Cloudflare worker types - Update dependency versions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace local Sidebar, Breadcrumb, SEO, Header, Footer with docs-kit - Add docsConfig and docsNav for centralized configuration - Switch from lucide-svelte barrel imports to deep imports - Add social card generation and GitHub stats fetching - Add OG component and layout server data loading - Update all page SEO to use docs-kit getSeoContext - Update dev server port to 8288 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Configure Content Security Policy headers for docs site - Set tsconfigRootDir in root and docs ESLint configs to resolve monorepo parsing errors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIntegrates Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Fixes CI failure where pnpm refuses to build the git-hosted @humanspeak/docs-kit dependency without explicit allowlisting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
⏭️ NPM publishing was skipped due to the |
Summary
Migrates the docs site to the shared
@humanspeak/docs-kitlibrary, replacesconcurrentlywithmprocsfor the dev workflow, and adds Content Security Policy headers.Changes
🔧 Refactoring
@humanspeak/docs-kit— replaces local Sidebar, Breadcrumb, SEO, Header, and Footer componentsdocsConfiganddocsNavconfigurationdocsConfig.descriptionas single source of truth for social card generation✨ New features
generate-social-cards.ts) and GitHub stats fetching (fetch-github-stats.ts)cf-typegenroot script for Cloudflare worker types📦 Build & tooling
concurrentlywithmprocsfordev:allworkflowmprocs.yamlwith procs for urls, pkg, docs, sitemap, and socialscripts/dev-urls.mjsfor dev server port discoverytsconfigRootDirin root and docs ESLint configs to fix monorepo parsing errors🔒 Other
Commits
b5bfe56feat(docs): add CSP directives and fix eslint tsconfigRootDir42ea4c6refactor(docs): migrate to @humanspeak/docs-kit shared librarya823021build: replace concurrently with mprocs for dev workflow9260a47chore: update tooling config and license year