Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 689948f

Browse files
authored
Installation instructions yarn-v4 (#23)
* update readme * update readme * update readme
1 parent cb901d0 commit 689948f

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# react-native-improved
22

33

4-
- **Supports only react-native 0.73**.
4+
- **Supports ONLY react-native 0.73**.
55
- Support for other versions will be added in the future ([#18](https://github.com/fabOnReact/react-native-improved/issues/18)).
66

77
Provides different react-native iOS, Android and JS API fixes/PRs.
@@ -16,7 +16,7 @@ In package.json
1616

1717
```diff
1818
"scripts": {
19-
+ "postinstall": "yarn patch"
19+
+ "postinstall": "yarn run react-native-patch"
2020
}
2121
```
2222

@@ -25,13 +25,25 @@ Then
2525
## npm
2626

2727
```sh
28-
npm install react-native-improved
28+
npm install react-native-improved --save-dev
2929
```
3030

31-
## yarn
31+
## yarn v1
3232

3333
```sh
34-
yarn add react-native-improved
34+
yarn add react-native-improved --dev
35+
```
36+
37+
## yarn v2, v3, v4
38+
39+
```sh
40+
yarn add react-native-improved --dev
41+
```
42+
43+
create a file `.yarnrc.yml` with:
44+
45+
```
46+
nodeLinker: node-modules
3547
```
3648

3749
## Feature Requests

0 commit comments

Comments
 (0)