Skip to content

Commit

Permalink
Add ^19.0.0-rc to @y-sweet/react peer dependencies (#338)
Browse files Browse the repository at this point in the history
Follow-up to #336 — `^19.0.0`
actually doesn't match pre-releases, which is what Next.js is including
(`[email protected]`). `^19.0.0-rc` matches all
pre-releases, as confirmed by https://semver.npmjs.com.

Also, `^19` desugars to `^19.0.0` so I just removed the extraneous
`.0.0`s.
  • Loading branch information
jakelazaroff authored Nov 25, 2024
1 parent ac886a3 commit fd3688f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js-pkg/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"url": "https://github.com/drifting-in-space/y-sweet/issues"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"yjs": "^13.0.0"
"react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",
"yjs": "^13"
},
"dependencies": {
"@y-sweet/client": "0.6.1",
Expand Down

0 comments on commit fd3688f

Please sign in to comment.