docs: add more instruction for yarn (#2042)

This commit is contained in:
howarddo
2023-04-20 12:25:10 +07:00
committed by GitHub
parent 031ab2cfa2
commit 227f59cadc
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -55,3 +55,4 @@ Example:
- Zhilin Liu, @lzlme, 2023/04/09
- Skye Sun, @skyesun, 2023/04/14
- Jordy Delgado, @Jdelgad8, 2023/04/17
- Howard Do, @howarddo2208, 2023/04/20
+1
View File
@@ -217,6 +217,7 @@ Thanks a lot to the community for providing such powerful and simple libraries,
<td align="center"><a href="https://adityash1.github.io/"><img src="https://avatars.githubusercontent.com/u/65771169?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Aditya Sharma</b></sub></a><br /><a href="https://github.com/toeverything/AFFiNE/commits?author=adityash1" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/sheben404"><img src="https://avatars.githubusercontent.com/u/61317160?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Kehan Wang</b></sub></a><br /><a href="https://github.com/toeverything/AFFiNE/commits?author=sheben404" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/VictorNanka"><img src="https://avatars.githubusercontent.com/u/30154366?v=4?s=50" width="50px;" alt=""/><br /><sub><b>VictorNanka</b></sub></a><br /><a href="https://github.com/toeverything/AFFiNE/commits?author=VictorNanka" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/howarddo2208"><img src="https://avatars.githubusercontent.com/u/62332195?v=4?s=50" width="50px;" alt=""/><br /><sub><b>Howard Do</b></sub></a><br /><a href="https://github.com/toeverything/AFFiNE/commits?author=howarddo2208" title="Documentation">📖</a></td>
</tr>
</table>
+9
View File
@@ -31,6 +31,15 @@ nvm use 18
## Setup Environment
This setup requires modern yarn (currently `3.5.0`), run this if your yarn version is `1.x`
Reference: [Yarn installation doc](https://yarnpkg.com/getting-started/install)
```sh
corepack enable
corepack prepare yarn@3.5.0 --activate
```
```sh
# install dependencies
yarn install