Add migration plan and script for future Astro upgrades

This commit is contained in:
SpaghetGaming committed 2025-08-14 13:22:25 -04:00
1 parent 773e8ebaeb
commit 663c5f894e
2 files changed
+84

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
echo "Starting Astro migration process..."
# Step 1: Update dependencies
echo "Updating Astro and related packages..."
npm install astro@latest
npm install @astrojs/mdx@latest
npm install @astrojs/tailwind@latest
npm install @astrojs/solid-js@latest
npm install @astrojs/sitemap@latest
# Step 2: Check for any build issues
echo "Checking if project builds correctly..."
npm run build
# Step 3: Run tests to ensure everything works
echo "Running tests..."
npm test
echo "Migration process completed. Please review any warnings or errors above."