Support Astro 7#1552
Conversation
🦋 Changeset detectedLatest commit: 9d74c5c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Adds support for Astro 7. The
@keystatic/astrointegration code is unchanged — only itspeerDependenciesrange is widened — and the example/template projects are upgraded to Astro 7 with Vite 8-compatible integrations.Changes
@keystatic/astropeerDependenciesto2 || 3 || 4 || 5 || 6 || 7(+ bump its devastroto^7.0.4)astroto^7.0.4indev-projects/astro,dev-projects/astro-content,templates/astro@astrojs/react@^6,@astrojs/node@^11,@astrojs/markdoc@^2,@astrojs/sitemap@^3.7.3,@tailwindcss/vite/tailwindcss@^4.3.2@keystatic/astrominor)Check plan
pnpm check:typespassespnpm check:lintandpnpm check:formatpasspnpm build:packagesproducespackages/astro/dist/*pnpm --filter @example/astro buildsucceeds (server + Node adapter)pnpm --filter @example/astro-content buildsucceeds (Tailwind 4 CSS-first, Content Layer)pnpm --filter @keystatic/templates-astro buildsucceeds with prerendered public pagespnpm --filter @example/astro dev—GET /keystatic/200 (admin UI bundle),/keystatic/collection/posts200,GET /api/keystatic/github/login307