Fix CI typecheck: disable noUncheckedSideEffectImports

TS 5.9 enables noUncheckedSideEffectImports under strict mode, which
errors on CSS side-effect imports (e.g. leaflet/dist/leaflet.css).
These imports are resolved by bundlers (Vite/Metro), not tsc. Set
noUncheckedSideEffectImports: false in the shared tsconfig base.

Reverts the unnecessary leaflet devDependencies on the map package
since this base config fix handles it properly.

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

12
pnpm-lock.yaml generated
View file

@ -517,21 +517,17 @@ importers:
'@trails-cool/map-core':
specifier: workspace:*
version: link:../map-core
leaflet:
specifier: '>=1.9'
version: 1.9.4
react:
specifier: '>=18'
version: 19.2.5
react-dom:
specifier: '>=18'
version: 19.2.5(react@19.2.5)
devDependencies:
'@types/leaflet':
specifier: ^1.9.21
version: 1.9.21
leaflet:
specifier: ^1.9.4
version: 1.9.4
react-leaflet:
specifier: ^5.0.0
specifier: '>=5'
version: 5.0.0(leaflet@1.9.4)(react-dom@19.2.5(react@19.2.5))(react@19.2.5)
packages/map-core: {}