formspree / formspree-js

The fastest way to hook up a React form
https://formspree.io/javascript
MIT License
63 stars 12 forks source link

chore: @formspree/react use latest (local) @formspree/core #35

Closed bhongy closed 1 year ago

bhongy commented 1 year ago

Use * version to use the local version of @formspree/core in @formspree/react.

See why: https://turbo.build/repo/docs/handbook/workspaces#workspaces-which-depend-on-each-other

The * allows us to reference the latest version of the dependency. It saves us from needing to bump the versions of our dependency if the versions of our packages change.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: fcbdc86a6b341e331c38f02e480b87cb17b3f823

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
formspree-react-demo ✅ Ready (Inspect) Visit Preview Jun 13, 2023 8:02am
bhongy commented 1 year ago

This would cause incompatible version of @formspree/core to be installed with @formspree/react. We need to pin a min version to ensure compatibility.