Kunthawat Greethong
|
20d1e24389
|
feat: Add smart website migration with tech stack detection
NEW MIGRATION WORKFLOW:
1. DETECT - Analyzes tech stack (Astro, Tailwind, CSS, etc.)
2. PLAN - Creates detailed migration plan with risks
3. PRESERVE - Keeps ALL content exactly (inline CSS, text, routes)
4. CONVERT - Carefully converts CSS (Tailwind v3→v4)
5. REBUILD - Fresh Astro install with preserved content
6. ENHANCE - Adds new features (cookie consent, PDPA)
7. TEST - Comprehensive testing before deployment
Files:
- migrate_existing_website.py (new smart migration script)
- MIGRATION_WORKFLOW.md (documentation)
Benefits:
- No more broken CSS
- No more failed deployments
- All inline styles preserved
- All routes preserved
- Plan before migrating (--plan-only mode)
|
2026-03-12 09:19:26 +07:00 |
|