feat: migrate from npm to bun and fix analytics map height

Switch package manager and runtime from Node.js/npm to Bun across
Docker, CI, and scripts. The SQLite driver remains better-sqlite3
due to Next.js Turbopack being unable to resolve bun:sqlite during
build-time page pre-rendering.

Also fix the world map not rendering in the analytics page — the
overflowX wrapper added for mobile broke the flex height chain,
collapsing the map to 0px.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-03-21 01:48:21 +01:00
parent 4b5323a7bf
commit b5625e5a96
10 changed files with 1115 additions and 7946 deletions

View File

@@ -509,10 +509,8 @@ export default function AnalyticsClient() {
<Typography variant="subtitle1" fontWeight={600} sx={{ mb: 1 }}>
Traffic by Country
</Typography>
<Box sx={{ flex: 1, minHeight: 0 }}>
<Box sx={{ overflowX: "auto", width: "100%" }}>
<WorldMap data={countries} selectedCountry={selectedCountry} />
</Box>
<Box sx={{ flex: 1, minHeight: 280 }}>
<WorldMap data={countries} selectedCountry={selectedCountry} />
</Box>
</CardContent>
</Card>