remove the map and ui shim packages

Both failed the deletion test in the telling direction:

- @trails-cool/ui: Button/Input/Card had zero consumers — both apps
  roll their own elements inline. The only live part was a 6-line
  styles.css (the Tailwind entry + one keyframe), which now lives in
  each app as app/styles.css.
- @trails-cool/map: MapView and RouteLayer had zero consumers; the
  package was otherwise a re-export of two map-core constants, and the
  two import sites now use @trails-cool/map-core directly. The
  "map components go in @trails-cool/map" convention had drifted long
  ago — the real map components live in apps/planner/app/components.

CLAUDE.md's repository structure and conventions updated to match
reality (including pointing shared-type guidance at the post-#515
sources: db row types, api contracts, Waypoint in types). Dockerfiles
no longer COPY the deleted package manifests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-06-10 07:47:59 +02:00
parent 1a65b40d18
commit 765c9f49a8
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
28 changed files with 13 additions and 357 deletions

34
pnpm-lock.yaml generated
View file

@ -241,18 +241,12 @@ importers:
'@trails-cool/jobs':
specifier: workspace:*
version: link:../../packages/jobs
'@trails-cool/map':
specifier: workspace:*
version: link:../../packages/map
'@trails-cool/sentry-config':
specifier: workspace:*
version: link:../../packages/sentry-config
'@trails-cool/types':
specifier: workspace:*
version: link:../../packages/types
'@trails-cool/ui':
specifier: workspace:*
version: link:../../packages/ui
drizzle-orm:
specifier: 'catalog:'
version: 0.45.2(@opentelemetry/api@1.9.1)(@types/pg@8.15.6)(expo-sqlite@56.0.4(expo@56.0.4)(react-native@0.85.3(@babel/core@7.29.7)(@react-native/jest-preset@0.85.3(@babel/core@7.29.7)(react@19.2.7))(@react-native/metro-config@0.85.3(@babel/core@7.29.7))(@types/react@19.2.17)(react@19.2.7))(react@19.2.7))(pg@8.20.0)(postgres@3.4.9)
@ -495,9 +489,6 @@ importers:
'@trails-cool/jobs':
specifier: workspace:*
version: link:../../packages/jobs
'@trails-cool/map':
specifier: workspace:*
version: link:../../packages/map
'@trails-cool/map-core':
specifier: workspace:*
version: link:../../packages/map-core
@ -507,9 +498,6 @@ importers:
'@trails-cool/types':
specifier: workspace:*
version: link:../../packages/types
'@trails-cool/ui':
specifier: workspace:*
version: link:../../packages/ui
codemirror:
specifier: ^6.0.2
version: 6.0.2
@ -663,24 +651,6 @@ importers:
specifier: 'catalog:'
version: 22.19.20
packages/map:
dependencies:
'@trails-cool/map-core':
specifier: workspace:*
version: link:../map-core
leaflet:
specifier: '>=1.9'
version: 1.9.4
react:
specifier: ^19.2.5
version: 19.2.7
react-dom:
specifier: ^19.2.7
version: 19.2.7(react@19.2.7)
react-leaflet:
specifier: '>=5'
version: 5.0.0(leaflet@1.9.4)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
packages/map-core: {}
packages/sentry-config:
@ -691,8 +661,6 @@ importers:
packages/types: {}
packages/ui: {}
scripts:
devDependencies:
'@types/node':
@ -10453,9 +10421,7 @@ snapshots:
metro-runtime: 0.84.4
transitivePeerDependencies:
- '@babel/core'
- bufferutil
- supports-color
- utf-8-validate
'@react-native/normalize-colors@0.85.3': {}