Fix map typecheck in CI: add peer deps as devDependencies

leaflet, react-leaflet, and @types/leaflet are peer dependencies of
the map package. In CI, pnpm's strict isolation means they aren't
accessible from the package directory during standalone tsc. Adding
them as devDependencies ensures they're installed for typechecking
while consumers still provide them at runtime via peer deps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-13 00:06:49 +02:00
parent 6edb972e91
commit 9f583e6777
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
3 changed files with 14 additions and 6 deletions

View file

@ -20,5 +20,10 @@
"react-dom": ">=18",
"leaflet": ">=1.9",
"react-leaflet": ">=5"
},
"devDependencies": {
"@types/leaflet": "^1.9.21",
"leaflet": "^1.9.4",
"react-leaflet": "^5.0.0"
}
}