Skip to content

Commit a1351ac

Browse files
authored
Move uilib-native to peerDependencies (#3819)
1 parent 15f7add commit a1351ac

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

docs/getting-started/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install react-native-ui-lib
1313

1414
2. Install mandatory peer dependencies
1515
```bash
16-
npm install react-native-reanimated react-native-gesture-handler
16+
npm install react-native-reanimated react-native-gesture-handler uilib-native
1717
```
1818

1919
3. For iOS, install pods

docs/getting-started/v8.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ title: "Migrating v7 -> v8"
66
---
77
## `react-native-ui-lib@8.x.x`
88

9+
## General
10+
uilib-native (our native library) has been moved from dependencies to peerDependencies. We do plan on making this optional in the future.
11+
912
## Components
1013

1114
### ActionSheet

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"react-native-redash": "^12.0.3",
5757
"semver": "^5.5.0",
5858
"tinycolor2": "^1.4.2",
59-
"uilib-native": "5.0.0-snapshot.7358",
6059
"url-parse": "^1.2.0",
6160
"wix-react-native-text-size": "1.0.9"
6261
},
@@ -129,14 +128,16 @@
129128
"reassure": "^0.4.1",
130129
"setimmediate": "^1.0.5",
131130
"shell-utils": "^1.0.10",
132-
"typescript": "5.0.4"
131+
"typescript": "5.0.4",
132+
"uilib-native": "5.0.0-snapshot.7358"
133133
},
134134
"peerDependencies": {
135135
"react": ">=18.3.1",
136136
"react-native": ">=0.77.3",
137137
"react-native-gesture-handler": ">=2.24.0",
138138
"react-native-reanimated": ">=3.17.5",
139-
"react-native-ui-lib": "*"
139+
"react-native-ui-lib": "*",
140+
"uilib-native": "5.0.0-snapshot.7358"
140141
},
141142
"jest": {
142143
"preset": "react-native",

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9786,6 +9786,7 @@ __metadata:
97869786
react-native-gesture-handler: ">=2.24.0"
97879787
react-native-reanimated: ">=3.17.5"
97889788
react-native-ui-lib: "*"
9789+
uilib-native: 5.0.0-snapshot.7358
97899790
languageName: unknown
97909791
linkType: soft
97919792

0 commit comments

Comments
 (0)