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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user