Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/solid/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@astrojs/vercel": "^8.1.3",
"@tanstack/solid-query": "^5.100.1",
"@tanstack/solid-query-devtools": "^5.100.1",
"astro": "^5.5.6",
"astro": "^6.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Read current versions declared in the reviewed package.json
cat examples/solid/astro/package.json | jq '.dependencies | {
  astro,
  "@astrojs/check",
  "@astrojs/node",
  "@astrojs/solid-js",
  "@astrojs/tailwind",
  "@astrojs/vercel"
}'

echo
echo "Checking npm peerDependencies for Astro compatibility..."
for pkg in `@astrojs/check` `@astrojs/node` `@astrojs/solid-js` `@astrojs/tailwind` `@astrojs/vercel`; do
  echo "---- $pkg ----"
  npm view "$pkg" version peerDependencies --json
  echo
done

echo "Expected result:"
echo "- Each `@astrojs/`* package version used by this example should list a peerDependency range that includes astro@^6."

Repository: TanStack/query

Length of output: 1035


@astrojs/tailwind incompatibility with Astro 6 must be resolved.

Astro 6 is incompatible with @astrojs/tailwind@^6.0.2—its peerDependency declares support only for astro: ^3.0.0 || ^4.0.0 || ^5.0.0. Either upgrade @astrojs/tailwind to a version supporting Astro 6, or revert Astro to a compatible major version before merge.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/solid/astro/package.json` at line 20, The project currently pins
"astro": "^6.0.0" in package.json but still depends on "@astrojs/tailwind" which
only supports Astro ^3/4/5; either upgrade the "@astrojs/tailwind" dependency to
a release that declares support for Astro 6 or revert "astro" to a compatible
major (e.g., "^5.0.0") in package.json; update the dependency string for
"@astrojs/tailwind" or "astro" accordingly, run your package install
(npm/yarn/pnpm) and verify the build/tests to ensure compatibility.

"solid-js": "^1.9.7",
"tailwindcss": "^3.4.7",
"typescript": "5.8.3"
Expand Down
Loading
Loading