Skip to content

Commit b5e27d4

Browse files
committed
Add missing @emotion/react peer dependency to native and primitives packages
Fixes #3351
1 parent b882bcb commit b5e27d4

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@emotion/native': patch
3+
'@emotion/primitives': patch
4+
---
5+
6+
Add missing `@emotion/react` peer dependency
7+
8+
Both `@emotion/native` and `@emotion/primitives` depend on `@emotion/primitives-core`, which requires `@emotion/react` as a peer dependency. This change adds the missing peer dependency declarations to ensure proper dependency resolution.

packages/native/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
"@emotion/primitives-core": "^11.11.0"
4545
},
4646
"peerDependencies": {
47+
"@emotion/react": "^11.0.0-rc.0",
48+
"react": ">=16.8.0",
4749
"react-native": ">=0.14.0 <1"
4850
},
4951
"homepage": "https://emotion.sh",

packages/primitives/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@emotion/primitives-core": "^11.13.0"
1515
},
1616
"peerDependencies": {
17+
"@emotion/react": "^11.0.0-rc.0",
1718
"react": ">=16.8.0",
1819
"react-primitives": "^0.8.1"
1920
},

0 commit comments

Comments
 (0)