0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/heavy-buttons-compare.md
Chris Swithinbank 03958d9392
Improve Zod error messages and user config error messages (#12634)
* Upstream Zod error map improvements from Starlight

* Update tests

* Use Zod error map when validating user config

* Update user config error formatting for error map

* Tweak colours

* Separate colour and indentation steps for clarity

* Fix broken link to experimental flag documentation

* Add changeset

* Update tests

* Fix one more test

* Use existing utility for bold and other Markdown formatting

* Extract codeRegex to top level

* Don’t dim text and tweak indentation
2024-12-05 13:48:00 +01:00

109 B

astro
patch

Improves error message formatting for user config and content collection frontmatter