- previously, any render error would unmount the whole SPA to a blank white screen (no boundary) - add a React error boundary around the routed app (all sub-apps: tavern, docs, pm) with an on-brand fallback — gem, 'Something went off-script', Reload + System status links — instead of a void - verified the catch path locally (a temporary ?boom trigger rendered the fallback), confirmed the boundary is transparent in normal use, then removed the trigger; verified live renders normally
20 lines
419 B
JSON
20 lines
419 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.64.0-resilience",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"lucide-react": "^0.468.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|