chore(deps): consolidate Dependabot updates (astro 7 / vite 8 migration)#117
Merged
Conversation
…gration Combines the two open Dependabot PRs into a single change: - astro 6.4.8 -> 7.0.3 (#116) - minor-and-patch group: framer-motion, preact, tailwindcss, @playwright/test, @tailwindcss/postcss->vite, @types/node, baseline-browser-mapping (#115) Astro 7 upgrades to Vite 8, which broke the build: - Bump the vite override from ^7 to ^8 (the ^7 pin from #114 forced a Vite/Astro mismatch -> 'rollupOptions.input should not be an html file' SSR error). - Migrate Tailwind v4 from the PostCSS plugin to the official @tailwindcss/vite plugin. Vite 8's CSS pipeline could not resolve '@import "tailwindcss"' via postcss-import. Add @tailwindcss/vite, wire it into astro.config, drop @tailwindcss/postcss and postcss.config.mjs. Ignore Playwright output dirs (test-results/, playwright-report/). Verified with Node: astro build, astro check (0 errors), and the Playwright suite all pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates multiple Dependabot updates and completes the Astro 7 / Vite 8 migration by switching Tailwind v4 to the @tailwindcss/vite plugin and removing the old PostCSS-based setup, unblocking astro build under Vite 8.
Changes:
- Upgraded core dependencies (notably Astro 7) and updated the
viteoverride to^8to resolve the Astro/Vite mismatch. - Migrated Tailwind v4 from
@tailwindcss/postcss+postcss.config.mjsto the@tailwindcss/viteplugin wired throughastro.config.mjs. - Added Playwright output directories to
.gitignore.
Show a summary per file
| File | Description |
|---|---|
| postcss.config.mjs | Removes the PostCSS config previously used for Tailwind. |
| package.json | Updates dependencies (Astro 7, Vite override 8) and swaps Tailwind tooling dep to @tailwindcss/vite. |
| package-lock.json | Regenerates lockfile to reflect the upgraded dependency graph (Astro 7 / Vite 8). |
| astro.config.mjs | Registers the @tailwindcss/vite plugin in Astro’s Vite config. |
| .gitignore | Ignores Playwright output directories (test-results/, playwright-report/). |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/5 changed files
- Comments generated: 1
- Review effort level: Low
Comment on lines
13
to
+17
| "dependencies": { | ||
| "@astrojs/preact": "^6.0.0", | ||
| "@primer/react-brand": "^0.69.0", | ||
| "astro": "^6.4.8", | ||
| "framer-motion": "^12.40.0", | ||
| "astro": "^7.0.3", | ||
| "framer-motion": "^12.42.0", |
This was referenced Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates the two open Dependabot PRs into a single PR, and fixes the Astro 7 / Vite 8 migration that was blocking the
astromajor bump.Replaces:
astro6.4.8 → 7.0.3Dependency changes
Why the migration was needed
Astro 7 upgrades to Vite 8, which broke
astro buildon the standalone #116:rollupOptions.input should not be an html file ...SSR error — thevite: "^7"override added in fix(security): force esbuild >=0.28.1 (GHSA-g7r4-m6w7-qqqr / alert #35) #114 (as a stopgap to avoid the Astro 7 jump while patching esbuild) forced a Vite/Astro version mismatch. Bumped the override to^8.[postcss] ENOENT ... 'tailwindcss'— Vite 8's CSS pipeline can no longer resolve@import "tailwindcss"throughpostcss-import. Migrated Tailwind v4 to the official@tailwindcss/viteplugin: added the dep, wired it intoastro.config.mjs, and removed@tailwindcss/postcss+postcss.config.mjs.Also gitignored Playwright output dirs (
test-results/,playwright-report/).Validation
Run locally with Node:
npm run build— completes, Tailwind CSS present in outputnpm run check(astro check) — 0 errors, 0 warningsnpm run test(Playwright) — 1 passedOnce this merges, #115 and #116 can be closed as superseded.
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com