Commit e7ea677
committed
chore(deps): upgrade astro from 6.4.8 to 7.0.2
Astro 7 brings Vite 8 and the new Rust-based compiler as default.
The Rust compiler is stricter about invalid HTML, so a pre-flight
audit was done on the codebase: 0 occurrences of <div> inside <p>,
0 <a> inside <a>, 0 <button> inside <button>. Result: Rust compiler
accepts all 10 pages (3 locales + 7 sections) without errors.
compressHTML: true is set explicitly in astro.config.mjs to keep
the v6 whitespace behavior (the v7 default of 'jsx' strips spaces
between inline elements, which would be a visual change for any
adjacent inline markup added in the future).
Peer warning from @lucide/astro 1.21.0 (peer: ^4 || ^5 || ^6) is
expected and non-blocking: the package works at runtime, the maintainer
just hasn't bumped the peer range to include ^7 yet. Will resolve
itself when @lucide/astro publishes a new version.
Verified: astro check 0/0/0, all 10 pages return 200, social icons
with currentColor render correctly, ClientRouter + hreflang + i18n
all working.1 parent 3f41424 commit e7ea677
3 files changed
Lines changed: 692 additions & 168 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments