fix(docs-site): pin @astrojs/sitemap to ~3.2.1 for Astro 4 compat
Validate Flux manifests / kustomize-build (pull_request) Successful in 21s

sitemap 3.7.3 reads opts.routes from astro:build:done, which only exists in
Astro 5; on Astro 4.16 it is undefined and crashes the build with
'Cannot read properties of undefined (reading reduce)'. Pin to the 3.2.x line
and lock it so the docs-site build completes.
This commit is contained in:
2026-06-20 17:35:59 -04:00
parent d3f7222db1
commit a374419400
2 changed files with 31 additions and 15 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
"preview": "astro preview"
},
"dependencies": {
"astro": "^4.8.0",
"@astrojs/mdx": "^3.0.0",
"@astrojs/sitemap": "^3.1.0",
"@astrojs/sitemap": "~3.2.1",
"astro": "^4.8.0",
"redoc": "^2.1.5"
},
"devDependencies": {