Skip to content

Commit 5b30d7c

Browse files
authored
update yarn corepack instructions + add an example for how to cut a new version
1 parent bcb7f6f commit 5b30d7c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ If you are looking for the source code of the [React Native Archive website](htt
3131
3232
1. Run `yarn` to install the website's workspace dependencies.
3333

34+
> If you want to retain the globally instaled `yarn` v1, you can use `corepack yarn` instead.
35+
3436
### Running locally
3537

3638
1. Run `yarn start` to start the development server _(powered by [Docusaurus](https://docusaurus.io))_.
@@ -126,7 +128,7 @@ This can be done by updating the `package.json` and configuration files in `scri
126128

127129
1. `cd react-native-website` to go into the project root.
128130
1. `cd website` to go into the website portion of the project.
129-
1. Run `yarn version:cut <newVersion>` where `<newVersion>` is the new version being released.
131+
1. Run `yarn version:cut <newVersion>` where `<newVersion>` is the new version being released (e.g. `0.81`).
130132

131133
## 🔧 Website configuration
132134

0 commit comments

Comments
 (0)