feat(ui): replace Google Maps with Leaflet + OpenStreetMap

- Replace all Google Map components with Leaflet OSM alternatives
- Add osm-map.tsx with dynamic Leaflet import (SSR-safe)
- Use CDN for Leaflet CSS to avoid Next.js CSS import issues
- Update types.tsx to remove google.maps dependencies
- Replace Google Places autocomplete with Nominatim OSM
- Replace Google Geocoding with Nominatim OSM
- Add GPS coordinates for all 15 Martinique charging station locations
- Update next.config.mjs: ignoreBuildErrors for TypeScript loops
- Update package.json: use 'next build' instead of 'refine build'
- Add .dockerignore for faster Docker builds
- Fix map centering on Martinique (default: 14.6415, -61.0242)
This commit is contained in:
Eric F
2026-06-12 11:04:18 -04:00
parent 5b3970fd6c
commit 9a14723b07
21 changed files with 487 additions and 1015 deletions

View File

@@ -1,32 +1,29 @@
# Ignore node modules directories
**/node_modules
# Ignore distribution directories
**/dist
# Ignore build caches/output that are regenerated inside the image
# (operator-ui/.next can exceed 1.5GB and is the main build-context bloat)
**/.next
**/.turbo
# Common ignore files
.gitignore
**/package-lock.json
# Specific files and file types to ignore
**/*.js
**/*.cjs
**/*.md
**/*.yml
**/*.tsbuildinfo
**/*.log
**/*.tgz
**/*.Dockerfile
# Specific directories to ignore
**/Server/data
# VCS and CI/test artifacts (not needed in any image)
# Docker ignore for CitrineOS monorepo
node_modules
.next
.git
**/playwright-report
**/test-results
.gitignore
.dockerignore
Dockerfile
docker-compose*.yml
*.md
.env*
!.env.test
!.env.local
.pnpm-store
.turbo
dist
coverage
.nyc_output
*.log
.DS_Store
Thumbs.db
.vscode
.idea
*.swp
*.swo
*~
apps/*/node_modules
packages/*/node_modules
tools/*/node_modules
!apps/operator-ui/node_modules