P1: path routing, prerender shells, E2E, and HelmetProvider donate fix.

Replace hash URLs with path-based routing, post-build prerender for money pages, Playwright smoke tests, and wrap the app in HelmetProvider so /donate mounts correctly.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
defiQUG
2026-06-16 11:11:20 -07:00
co-authored by Cursor
parent 6c0de165d3
commit 4e4df13ab1
33 changed files with 2545 additions and 2324 deletions
+4
View File
@@ -10,9 +10,12 @@
"photos:optimize": "bash scripts/optimize-community-photos.sh",
"prebuild": "npm run brand:export && npm run photos:optimize",
"build": "tsc && vite build",
"postbuild": "node scripts/prerender-money-pages.mjs",
"test": "vitest run",
"test:ci": "vitest run --reporter=verbose && npm run test:api",
"test:api": "npm --prefix mim-api test",
"test:e2e": "playwright test",
"test:e2e:lan": "MIM_E2E_BASE_URL=http://192.168.11.37 playwright test",
"test:watch": "vitest",
"type-check": "tsc --noEmit",
"validate:ci": "npm run type-check && npm run test:ci && npm run a11y:header-audit",
@@ -82,6 +85,7 @@
"zustand": "^5.0.8"
},
"devDependencies": {
"@playwright/test": "^1.61.0",
"@resvg/resvg-js": "^2.6.2",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.9.1",