--- 'astro': patch --- Refactors how `sync` works and when it's called. Fixes an issue with `astro:env` types in dev not being generated