Files
2026-05-27 23:29:53 +01:00

44 lines
1.1 KiB
Markdown

# Tasks: enterprise-sitemap
## 1. Scaffold
- [x] 1.1 `universal/platform/sitemap/`; 100/100/100/100; guard tests; CLAUDE/README/FOLDERS.
## 2. Errors + schemas
- [x] 2.1 `src/error-codes.ts`, `src/errors/sitemap-errors.ts` + helper factories.
- [x] 2.2 Zod schemas for `SitemapUrl`, `SitemapImage`, `SitemapVideo`, `SitemapNews`, `SitemapOptions`, `SitemapIndex`.
## 3. Generator
- [x] 3.1 `src/generator/sitemap-generator.ts` — `SitemapGenerator`.
- [x] 3.2 50 k-URL size limit enforcement.
## 4. Index generator
- [x] 4.1 `src/index-generator/sitemap-index.ts`.
## 5. Extensions
- [x] 5.1 `src/extensions/image-sitemap.ts`.
- [x] 5.2 `src/extensions/video-sitemap.ts`.
- [x] 5.3 News extension.
## 6. Incremental builder
- [x] 6.1 `src/incremental/incremental-builder.ts` — `computeUrlHash`, `IncrementalBuilder`.
## 7. Compression
- [x] 7.1 `src/compression/sitemap-compressor.ts` — gzip via `fflate`.
## 8. Docs / barrel / subpath exports / README
## 9. Benchmarks
- [x] 9.1 Generate 50 k URLs + gzip round-trip.
## 10. Ship gate
- [x] 10.1 Verification sequence; fold + archive.