Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Upgrade mapbox #34

Merged
merged 1 commit into from
Nov 26, 2018
Merged

Upgrade mapbox #34

merged 1 commit into from
Nov 26, 2018

Conversation

fc
Copy link

@fc fc commented Nov 19, 2018

@ryanhamley
Now that mapbox-gl-js 0.51.0 is out...can someone review / merge this?

This closes out the journey that began with the localStorage issue, ref: mapbox/mapbox-gl-js#7455

Also, addresses #33

@fc fc mentioned this pull request Nov 19, 2018
@fc
Copy link
Author

fc commented Nov 19, 2018

Also -- in addition to this, would it be possible to both issue a new release too and publish that version to npm? This would also close out #25 since the current version on npm is out of date.

@fc
Copy link
Author

fc commented Nov 26, 2018

If anyone wants to use this, you can do this:

yarn add fc/mapbox-gl-js-mock#upgrade-mapbox

@ryanhamley
Copy link
Contributor

Hi @fc thanks for your patience. Would you mind sharing what your use case is for mapbox-gl-js-mock? We are not actively maintaining it and would caution developers who use it as a test suite for GL JS that it’s outdated, so what can be done with it is limited. That said, I think updating it to solve the fix from mapbox/mapbox-gl-js#7455 makes sense so we’ll go ahead and create a new release for this and publish it to npm. Thanks!

@ryanhamley ryanhamley merged commit a90bdff into mapbox:master Nov 26, 2018
@fc
Copy link
Author

fc commented Nov 26, 2018

Thanks, @ryanhamley !

In a nutshell, we have a lightweight wrapper around mapbox-gl-js.

@ryanhamley
Copy link
Contributor

Hey, I'm actually noticing now that I merged that our CircleCI is failing (there's no CI on dev branches in this repo) and the npm test command no longer works. Are you not experiencing issues in your test set up with this change? I'm starting to think that the code has diverged too significantly for this update to be very useful because GL JS is heavily reliant on ES6 modules.

@fc
Copy link
Author

fc commented Nov 26, 2018

Ahhh.... you are correct, sorry.
I am using this to run my tests (a jest parameter):

--transformIgnorePatterns 'node_modules/(?!(mapbox-gl))'

I understand if you need to revert.

@ryanhamley
Copy link
Contributor

I think reverting is best here, unfortunately. This repo isn’t really equipped to work with the fully ES6 code of newer versions of GL JS and is fairly out of date and limited. If it’s working for you, that’s great but I think our team is going to have to consider deprecating it because we don’t have the resources to update and maintain this repo at this time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants