Repository navigation
chore: drop dependencies that deck.gl-geotiff, deck.gl-zarr and geozarr don't import - #859
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
dependenciesdevDependencies@developmentseed/deck.gl-geotiff@developmentseed/morecantile,@developmentseed/raster-reprojectproj4(two tests import it)@developmentseed/deck.gl-zarr@developmentseed/raster-reproject,wkt-parserproj4(one test imports it)@developmentseed/geozarrzarritaNone of them is imported in the package's
src, and none appears in its builtdist, 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
morecantileandraster-reprojectin deck.gl-geotiff's and deck.gl-zarr'stsconfig.jsonandtsconfig.build.jsongo too.pnpm-lock.yamlchanges only these three importers. A localpnpm install(pnpm 10.25.0) also dropped 48libcfields elsewhere in the lockfile; I left those out of the diff.Checked
pnpm install --frozen-lockfileaccepts the lockfile.pnpm -r --filter='!docs' typecheckpasses for the whole workspace, examples included.🤖 Written by Claude Code