Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Dec 10, 2023
1 parent ecf96bd commit 099d310
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/empty-glasses-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'jotai-x': patch
---

Fix: add React as peer dependency.
12 changes: 11 additions & 1 deletion packages/jotai-x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,17 @@
"typecheck": "yarn p:typecheck"
},
"peerDependencies": {
"jotai": ">=2.0.0"
"@types/react": ">=17.0.0",
"jotai": ">=2.0.0",
"react": ">=17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react": {
"optional": true
}
},
"keywords": [
"jotai"
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6731,7 +6731,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "jotai-x@workspace:packages/jotai-x"
peerDependencies:
"@types/react": ">=17.0.0"
jotai: ">=2.0.0"
react: ">=17.0.0"
peerDependenciesMeta:
"@types/react":
optional: true
react:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 099d310

Please sign in to comment.