Upgrade Astro from v1.9 to v5 and fix breaking changes#24
Merged
Toasterson merged 6 commits intomainfrom Dec 10, 2025
Merged
Conversation
- Updated BlogPost.astro layout to use 'frontmatter' prop instead of deprecated 'content' prop - Added required <meta charset="utf-8"> tag to BlogPost layout - Migrated from @astrojs/deno to @deno/astro-adapter (new official adapter) - Updated all Astro integrations to latest versions compatible with Astro v5: - @astrojs/tailwind: 2.1.3 -> 5.2.1 - @astrojs/mdx: 0.12.2 -> 4.1.2 - @astrojs/sitemap: 1.0.0 -> 4.2.0 - @astrojs/svelte: 7.2.3 -> 6.1.2 - Added CLAUDE.md documentation file for future development reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Astro v5 requires Node.js >= 18.20.8, but the CI was using Node 16. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Deno Deploy requires npm imports to be prefixed with 'npm:'. Added import map to resolve 'piccolore' and other npm dependencies properly during deployment. - Created deno.json with import map for npm:piccolore - Updated deploy workflow to copy deno.json to dist and reference it 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added all npm packages used by Astro to the import map to fix Deno Deploy bare import errors: - clsx - cookie - devalue - html-escaper - mrmime - unstorage - zod - @astrojs/internal-helpers/path - @astrojs/internal-helpers/remote - @astrojs/rss - @oslojs/encoding 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Completed the import map with all npm dependencies found in the build: - cssesc: CSS identifier escaping - es-module-lexer: ES module lexer - sharp: Image processing library - svelte: Svelte framework runtime 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Astro's SVG imports create component objects with a .src property containing the actual URL. Updated all icon references to use icon.src instead of passing the object directly. Fixed icons: - Service icons (diagnosis, training, teambuilding) - Social media icons (Twitter, LinkedIn, GitHub) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.
🤖 Generated with Claude Code