Skip to content

fix: export MapLibre integration and update peer ranges - #10645

Merged
chrisgervang merged 2 commits into
masterfrom
fix-maplibre-exports-peer-dependencies
Sep 3, 2026
Merged

chrisgervang merged 2 commits into
masterfrom
fix-maplibre-exports-peer-dependencies

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Goal

Correct the npm package inconsistencies exposed by the 9.4.0-beta.3 release.

Changes

  • Re-export MapLibreOverlay and MapLibreOverlayProps from the deck.gl package entrypoint, matching the existing standalone bundle export.
  • Update all internal @deck.gl peer dependency ranges from the stale 9.3 beta or 9.4 alpha ranges to ~9.4.0-beta.3.
  • Add package-entrypoint regression coverage for the MapLibre runtime and type exports.
  • Document that applications using the deck.gl umbrella package do not need to install @deck.gl/maplibre separately.

Validation

  • yarn vitest run test/modules/imports.node.spec.ts
  • yarn lint
  • yarn build
  • yarn test-website
  • pre-commit checks: 3 files and 19 tests passed
  • verified every internal @deck.gl peer range accepts 9.4.0-beta.3

The website build passes with the existing source-map, HTML minifier, and broken-anchor warnings.


Note

Low Risk
Packaging, documentation, and peer-version alignment with no runtime logic changes.

Overview
Fixes 9.4.0-beta.3 packaging gaps by re-exporting MapLibreOverlay and MapLibreOverlayProps from the deck.gl entrypoint (same surface as the standalone bundle) and aligning internal @deck.gl/* peer dependency ranges to ~9.4.0-beta.3 across satellite packages (replacing stale 9.3 beta and 9.4 alpha pins).

Regression tests assert deck.MapLibreOverlay is importable and that deck.gl re-exports the full @deck.gl/maplibre public API. MapLibre docs drop the note that MapLibreOverlay is exposed only via the standalone deck.gl bundle.

Reviewed by Cursor Bugbot for commit 0dda357. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps

greptile-apps Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Greptile Summary

The PR exposes the MapLibre integration through the deck.gl package and aligns internal peer ranges with the 9.4 beta release.

  • Re-exports MapLibreOverlay and MapLibreOverlayProps from the umbrella entrypoint.
  • Updates internal @deck.gl/* peer dependencies to ~9.4.0-beta.3.
  • Adds runtime import and re-export regression coverage.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains within the eligible follow-up review scope.

No blocking failure remains.

Important Files Changed

Filename Overview
modules/main/src/index.ts Adds the MapLibre runtime and type exports to the umbrella package entrypoint.
test/modules/imports.node.spec.ts Verifies the top-level MapLibre runtime export and parity with the dedicated integration package.
modules/maplibre/package.json Aligns the integration package’s core peer range with the current deck.gl beta release.
docs/api-reference/maplibre/overview.md Removes the prior standalone-bundle availability note without changing integration behavior.

Reviews (2): Last reviewed commit: "chore: address review feedback" | Re-trigger Greptile

Comment thread docs/api-reference/maplibre/overview.md Resolved
Comment thread test/modules/imports.node.spec.ts Resolved

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fb5c2a1. Configure here.

Comment thread modules/main/src/index.ts Resolved
@coveralls

coveralls commented Sep 3, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 82.495% (+0.01%) from 82.481% — fix-maplibre-exports-peer-dependencies into master

@chrisgervang
chrisgervang merged commit 00e37c8 into master Sep 3, 2026
8 checks passed
@chrisgervang
chrisgervang deleted the fix-maplibre-exports-peer-dependencies branch September 3, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants