fix(astro): add Astro v7 compatibility (#4491)

Astro 7 is released and @lucide/astro works with it unchanged. Widen the peerDependencies range to include ^7.

Dev dependencies are intentionally kept on Astro 6: bumping them pulls Vite 8 into the workspace, which destabilizes pnpm's shared peer resolution and breaks the vitest snapshot tests in other packages (icons, svelte).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Konrad Szajna
2026-06-26 17:32:55 +02:00
committed by GitHub
parent 7e938845f0
commit 7c8fbb4813

View File

@@ -61,6 +61,6 @@
"astro": "^6.1.10"
},
"peerDependencies": {
"astro": "^4 || ^5 || ^6"
"astro": "^4 || ^5 || ^6 || ^7"
}
}