Commit f2ca496
fix(docs): pin zod to v3 to fix docs build (#1223)
<!-- acp:session_id=session-227bb086-4be4-456d-9d48-9d0d9cbabe9c
source=#1190 last_action=2026-04-06T19:30:00Z retry_count=0 -->
## Summary
- Pin `@astrojs/sitemap` to `~3.6.1` (last version using zod v3) and pin
`zod` to `3.25.76` via npm overrides
- `@astrojs/sitemap@3.7.x` introduced a zod v4 dependency that conflicts
with `astro@5.x` (which requires zod v3), causing the build to crash
with `Cannot read properties of undefined (reading '_zod')`
## Test plan
- [x] `npm run build` in `docs/` completes successfully
- [ ] CI docs workflow passes
Closes #1190
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 33be9af commit f2ca496
2 files changed
Lines changed: 90 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
0 commit comments