Commit Graph
11 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 d9de858439 Add sitemap generation and bunext sitemap command
- Add generateSitemap util (exported as bunext.bunextGenerateSitemap)
  that builds sitemap.xml from static pages, with exclude patterns,
  additional paths (array or sync/async function), lastmod from file
  mtime, trailing slash, and default changefreq/priority options
- Let page .server.ts files export a `sitemap` function to list URLs
  for dynamic routes, or override a static page's entry
- Add `bunext sitemap` command reading `sitemap` from bunext.config.ts,
  writing public/sitemap.xml by default, with --output/--origin flags
- Fix handle-routes test leaking a grab-router module mock into
  bunext-req-handler tests; set global.BUNEXT_ROUTER instead
- Ignore /.tmp
- Document sitemap usage in README and CLAUDE.md

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 17:41:21 +01:00
tben 3b26292124 Security fixes pass #1 2026-04-19 14:59:20 +01:00
tben 68d88bce4a Try local react imports 2026-03-31 06:22:26 +01:00
tben 3d044ee79e Bugfix. Update Tsx server stripping function to have absolute paths. Run the rewrite function on dev and build commands. 2026-03-22 10:53:27 +01:00
tben a9af20a8b2 Major Bugfix. Fix server component client compatibility 2026-03-22 10:34:30 +01:00
tben d3336b48c7 Bugfixes: update types, update imports, update init function. 2026-03-21 13:47:40 +01:00
tben d2ddaef0d4 Update tests 2026-03-21 10:14:38 +01:00
tben 5fbcd0b8d6 Update Package.json. 2026-03-20 14:45:38 +01:00
tben 9be3ceb642 Publish npm package via github 2026-03-18 17:48:21 +01:00
tben eec0df83cd Add dist 2026-03-18 17:37:24 +01:00
tben 8177df7dd3 First Commit 2025-11-05 07:12:15 +01:00