Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

docs: add more instruction for yarn (#2042)

howarddo227f59cadc39
diff --git a/.github/CLA.md b/.github/CLA.md
index 3e09d298bf..08952854cf 100644
--- a/.github/CLA.md
+++ b/.github/CLA.md
@@ -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
diff --git a/README.md b/README.md
index 1b2369ea1b..5094157468 100644
--- a/README.md
+++ b/README.md
@@ -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>
diff --git a/docs/BUILDING.md b/docs/BUILDING.md
index 0c100d1dce..8a7608a607 100644
--- a/docs/BUILDING.md
+++ b/docs/BUILDING.md
@@ -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 [email protected] --activate
+```
+
```sh
# install dependencies
yarn install