latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
626 stars 21 forks source link

feature: update root dependencies on latitude update #341

Closed geclos closed 3 weeks ago

geclos commented 3 weeks ago

Well, this is embarrasing... There's a dependency between latitude server and connectors (obviously), and there's really no mechanism to ensure compatibility between both. So, a user could install version X of latitude server and install version Y of a connector, and they wouldn't work together because there's no mechanism to ensure compatibilty at install time.

For now, this commit implements an npm update of root packages on latitude update. We are optimistically assuming most users will update to the latest version so it's fair to assume an npm update will be the wanted action most of the times. Far from a perfect solution.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 4ca82032f98092fc7c33f3114d223d2bdddf0186

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | @latitude-data/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR