chore: update package-lock.json and remove stale requirements file#3
Conversation
- Add url parameter to htmlToMarkdown callback signature - Add extractHtmlTitle helper to pull page title from HTML - Emit title/url/description/page-title metadata per page in llms-full.txt - Fix htmlToMarkdown call sites to forward the page URL
…converter Add resolveHref() helper that converts relative hrefs to absolute URLs using the page URL as base. Update builtinHtmlToMarkdown to accept and forward pageUrl so links in Markdown output are always fully qualified.
…lhost fallback - Replace NextResponse with native Response in route handlers to avoid importing next/server unnecessarily - Add localhost:3000 fallback in resolveBaseUrlFromEnv when NODE_ENV=development
…ages - Add prepare script (npm run build) to core, middleware, and next packages - Add documentation, next-middleware, content-signal, route-handler keywords - Add @types/node devDependency to @llmstxt/next
- Document url parameter in htmlToMarkdown callback - Add Content-Signal header documentation to middleware README - Update code examples to match new API signatures - Add YAML front matter response example to middleware README
Includes a working Next.js application that demonstrates: - llms.txt and llms-full.txt route handlers via @llmstxt/next - Markdown content-negotiation via @llmstxt/middleware - Multiple page types: docs, blog, features, pricing, about, api-reference
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (37)
📝 WalkthroughWalkthroughThis PR adds a complete Next.js example application demonstrating the ChangesCore Package Enhancements
Middleware Package Enhancements
Next.js Package Enhancements
Example Next.js Application
Monorepo Documentation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Description of change
Pull-Request Checklist
mainbranchnpm run lintpasses with this changenpm run testpasses with this changeFixes #0000Summary by CodeRabbit
New Features
Documentation
Improvements