Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example dependencies #7641

Merged
merged 2 commits into from Feb 15, 2023
Merged

Update example dependencies #7641

merged 2 commits into from Feb 15, 2023

Conversation

Pessimistress
Copy link
Collaborator

For #7635

For all examples and test apps where it applies:

Change List

  • Removed tsc from build script. The examples do not currently contain their own tsconfig.json and tsc just fails.
  • Updated react-map-gl to v7 and use maplibre-gl as map provider in all except the following examples:
    • get-started/react/mapbox - depends on NavigationControl which is no longer supported in v7
    • layer-browser - depends on NavigationControl which is no longer supported in v7
    • safegraph (the mapbox integration example on the website) - for testing against the latest version of mapbox-gl
  • Updated react and react-dom to v18

@coveralls
Copy link

coveralls commented Feb 15, 2023

Coverage Status

Coverage: 90.264% (-0.0002%) from 90.264% when pulling 5813635 on x/update-mapbox into 6b27bc2 on master.

@wipfli
Copy link

wipfli commented Feb 15, 2023

Happy to see they you are switch to MapLibre GL JS in the examples. Cool to have you in the community!

"react": "^16.3.0",
"react-dom": "^16.3.0",
"react-map-gl": "^5.0.0"
"mapbox-gl": "^2.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we also have a maplibre example? The packages are diverging overtime and it's a lot of effort to switch this example back and forth between them at the moment in testing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes I agree. I will open another PR to consolidate test apps.

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.

None yet

4 participants