Skip to content

Commit

Permalink
fix(mobx-react-lite): Add missing dependency (#3667)
Browse files Browse the repository at this point in the history
* fix(mobx-react-lite): Add missing dependency

Without this, the package won't be included downstream.

Fixes #3666

* build: Add changeset
  • Loading branch information
tony committed Mar 26, 2023
1 parent f137204 commit f86df86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-candles-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mobx-react-lite": patch
---

Fix package dependency for use-sync-external-store.
7 changes: 4 additions & 3 deletions packages/mobx-react-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"url": "https://github.com/mobxjs/mobx/issues"
},
"homepage": "https://mobx.js.org",
"dependencies": {},
"dependencies": {
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {
"mobx": "^6.9.0",
"react": "^16.8.0 || ^17 || ^18"
Expand All @@ -51,8 +53,7 @@
},
"devDependencies": {
"mobx": "^6.9.0",
"expose-gc": "^1.0.0",
"use-sync-external-store": "^1.2.0"
"expose-gc": "^1.0.0"
},
"keywords": [
"mobx",
Expand Down

0 comments on commit f86df86

Please sign in to comment.