Skip to content

chore: drop dependencies that deck.gl-geotiff, deck.gl-zarr and geozarr don't import - #859

Merged
kylebarron merged 1 commit into
mainfrom
kyle/drop-unused-deps
Nov 6, 2026
Merged

kylebarron merged 1 commit into
mainfrom
kyle/drop-unused-deps

Conversation

@kylebarron

Copy link
Copy Markdown
Member

Note

This PR was written by Claude (Claude Code), not by @kylebarron.

Removes dependencies that three packages declare but never import, so installing them pulls in less.

Package Removed from dependencies Moved to devDependencies
@developmentseed/deck.gl-geotiff @developmentseed/morecantile, @developmentseed/raster-reproject proj4 (two tests import it)
@developmentseed/deck.gl-zarr @developmentseed/raster-reproject, wkt-parser proj4 (one test imports it)
@developmentseed/geozarr zarrita

None of them is imported in the package's src, and none appears in its built dist, typings included. Each is still a dependency of the packages that use it: deck.gl-raster and geotiff for morecantile, deck.gl-raster for raster-reproject, proj for proj4 and wkt-parser, and deck.gl-zarr for zarrita.

The TypeScript project references to morecantile and raster-reproject in deck.gl-geotiff's and deck.gl-zarr's tsconfig.json and tsconfig.build.json go too.

pnpm-lock.yaml changes only these three importers. A local pnpm install (pnpm 10.25.0) also dropped 48 libc fields elsewhere in the lockfile; I left those out of the diff.

Checked

  • pnpm install --frozen-lockfile accepts the lockfile.
  • Every package builds, and pnpm -r --filter='!docs' typecheck passes for the whole workspace, examples included.
  • The geozarr (22), deck.gl-zarr (81) and deck.gl-geotiff (222) tests pass, and Biome is clean.

🤖 Written by Claude Code

…rr don't import

deck.gl-geotiff drops morecantile and raster-reproject, deck.gl-zarr drops
raster-reproject and wkt-parser, and geozarr drops zarrita. proj4 moves to
devDependencies in deck.gl-geotiff and deck.gl-zarr, where only tests use it.
The matching tsconfig project references go too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kylebarron kylebarron added this to the 0.10 milestone Nov 6, 2026
@github-actions github-actions Bot added the chore label Nov 6, 2026

@kylebarron kylebarron left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅

@kylebarron
kylebarron merged commit 79bcc97 into main Nov 6, 2026
3 checks passed
@kylebarron
kylebarron deleted the kyle/drop-unused-deps branch November 6, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant