benjaminhoffman / gatsby-plugin-segment-js

Gatsby plugin for segment.com's analytic.js snippet
https://www.npmjs.com/package/gatsby-plugin-segment-js
MIT License
40 stars 28 forks source link

Address Gatsby v4 peerDependency warnings #43

Closed mariusbutuc closed 2 years ago

mariusbutuc commented 2 years ago

The latest v3.7.0 currently displays:

warn Plugin gatsby-plugin-segment-js is not compatible with your gatsby version 4.1.0 - It requires gatsby@^3.0.0 || ^2.0.0

Inspired by https://github.com/mongkuen/gatsby-plugin-eslint/commit/67aad8e13415799404afa6048554deb66b0f48d3 Resolves #42.

jazanne commented 2 years ago

would love to see this merged

benjaminhoffman commented 2 years ago

@newhouse mind taking a look? :).

newhouse commented 2 years ago

@newhouse mind taking a look? :).

Sure thing. Will look this morning.

newhouse commented 2 years ago

Looks good, thanks @mariusbutuc !

newhouse commented 2 years ago

Published on npm in version 3.7.1

cc: @jazanne

jazanne commented 2 years ago

thank you!

benjaminhoffman commented 2 years ago

@newhouse dude you're awesome! thank you 🙏

also thx for the nudge @jazanne