Skip to content

Commit f2ca496

Browse files
ambient-code[bot]Ambient Code Botclaude
authored
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

File tree

docs/package-lock.json

Lines changed: 87 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"rehype-mermaid": "^3.0.0"
2121
},
2222
"overrides": {
23-
"lodash-es": ">=4.18.0"
23+
"lodash-es": ">=4.18.0",
24+
"@astrojs/sitemap": "~3.6.1",
25+
"zod": "3.25.76"
2426
}
2527
}

0 commit comments

Comments
 (0)