VictorCazanave / react-svg-map

A set of React.js components to display an interactive SVG map
https://victorcazanave.github.io/react-svg-map/
MIT License
225 stars 47 forks source link

update react peerDepedencies and enzyme adapter #62

Open christophervoigt opened 1 year ago

christophervoigt commented 1 year ago

update react peerDependencies to allow version 16 or 17 update jest setup to use react 17

https://github.com/VictorCazanave/react-svg-map/issues/53 + https://github.com/VictorCazanave/react-svg-map/pull/54

christophervoigt commented 1 year ago

After some package updates and adjustments to the testing and build pipelines. I managed to fix a lot of problems, that occurred while setting it up on newer Node environments.

Unfortunately, some of the updated packages did no longer work for Node 10 and Node 12. Which is why I had to drop support for them, to make it work again.

It works for Node 14 and 16 now: