Add migration plan and script for future Astro upgrades
This commit is contained in:
1 parent
773e8ebaeb
commit
663c5f894e
2 files changed
+84
No files matched your search
Executable
+21
@@ -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."
|
||||
Reference in new issue
Block a user