Mention Yarn in blog post
Summary: An original idea from GantMan #11311 Closes https://github.com/facebook/react-native/pull/11313 Differential Revision: D4281207 Pulled By: mkonicek fbshipit-source-id: e878c0ace65c0f4614e0325f7f2f0b660559e754
This commit is contained in:
Родитель
d482743f91
Коммит
999b120920
|
@ -20,10 +20,20 @@ Today I am proud to introduce a new tool that helps solve this problem. The tool
|
||||||
|
|
||||||
> **Requirement**: Git has to be available in the `PATH`. Your project doesn't have to be managed by Git.
|
> **Requirement**: Git has to be available in the `PATH`. Your project doesn't have to be managed by Git.
|
||||||
|
|
||||||
Install `react-native-git-upgrade` globally and run it inside your project directory:
|
Install `react-native-git-upgrade` globally:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ npm install -g react-native-git-upgrade
|
$ npm install -g react-native-git-upgrade
|
||||||
|
```
|
||||||
|
or, using [Yarn](https://yarnpkg.com/):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ yarn add global react-native-git-upgrade
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, run it inside your project directory:
|
||||||
|
|
||||||
|
```shell
|
||||||
$ cd MyProject
|
$ cd MyProject
|
||||||
$ react-native-git-upgrade 0.38.0
|
$ react-native-git-upgrade 0.38.0
|
||||||
```
|
```
|
||||||
|
|
Загрузка…
Ссылка в новой задаче