Skip to content

Commit 08dc607

Browse files
committed
Update ReadMe
- remove stale yarn v4 canary docs - update install docs for yarn v4 stable - remove stale links - update headings
1 parent a81d795 commit 08dc607

File tree

1 file changed

+11
-37
lines changed

1 file changed

+11
-37
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 11 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,56 +24,38 @@ Android | iOS
2424
--- | ---
2525
![Android](https://user-images.githubusercontent.com/1881059/206861792-710af106-3070-40eb-9717-e32941d43327.png) | ![iOS](https://user-images.githubusercontent.com/1881059/206861794-17250417-623e-4f78-92a8-bcfc0cf344e6.png)
2626

27-
## Setup
27+
## Set Up Your Environment
2828

29-
[Fresh Apple Silicon](https://github.com/leotm/react-native-template-new-architecture/wiki/Apple-Silicon-setup)
30-
31-
## Yarn v4
32-
33-
_Upgrading from v1 `classic` or v3 `latest` / `berry` / `stable`_
34-
35-
```sh
36-
cd ~
37-
yarn set version canary
38-
```
39-
40-
_Clear generated files_
29+
[**Fresh Apple Silicon πŸ”₯ (macOS arm64)**](https://github.com/leotm/react-native-template-new-architecture/wiki/Apple-Silicon-setup)
4130

4231
## Install
4332

4433
```sh
45-
yarn # 🍺 version
46-
```
47-
48-
```sh
49-
yarn setup # πŸ€– versioned version
34+
corepack enable
35+
yarn
36+
yarn setup
5037
```
5138

52-
- [πŸš€ Breaking changes for Yarn 4](https://github.com/yarnpkg/berry/issues/3591)
53-
- _[πŸ€– Why versioned](https://stackoverflow.com/a/70864409/1998086)_
54-
5539
## Start
5640

5741
```sh
5842
yarn start
5943
```
6044

61-
## Silicon (M1/M2) Macs
62-
63-
### iOS (arm64)
45+
## iOS
6446

6547
```sh
6648
cd ios
6749
pod install
68-
..
50+
cd ..
6951
yarn ios
7052
```
7153

7254
_[Old Rosetta 2 Intel x86_64 way](https://github.com/leotm/react-native-template-new-architecture/wiki/(New)-Architecture#building-for-ios-intel-x86_64-architecture)_
7355

74-
### Android
56+
## Android
7557

76-
#### NDK
58+
### NDK
7759

7860
<details>
7961

@@ -91,9 +73,7 @@ _Strip: ` rcX` suffix / (trailing) spaces / final final linebreak - otherwise `f
9173

9274
</details>
9375

94-
_Fat M1 components: ndk-build, LLVM, CMake, Make, Python, Ninja, shader-tools, simpleperf - [yasm remaining](https://github.com/android/ndk/issues/1549)_
95-
96-
#### Android Studio
76+
### Android Studio
9777

9878
<details>
9979

@@ -108,18 +88,12 @@ Open [Android Studio - Preview release - Canary build](https://developer.android
10888

10989
</details>
11090

111-
#### Run
91+
### Run
11292

11393
```sh
11494
yarn android
11595
```
11696

117-
### Troubleshooting
118-
119-
- [New Architecture - Troubleshooting](https://reactnative.dev/docs/next/new-architecture-troubleshooting)
120-
- [Apple Silicon (M1) troubleshooting guide (RN 0.64/0.65/0.66)](https://github.com/facebook/react-native/issues/31941)
121-
- [react-native-community/upgrade-support](https://github.com/react-native-community/upgrade-support)
122-
12397
## Storybook v6
12498

12599
Add stories to `src/components/**/*.stories.(ts|tsx)`

0 commit comments

Comments
Β (0)