You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/versioned_docs/version-20.x/contributing/code/setting-up-the-dev-environment.md
+45-5Lines changed: 45 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,30 +16,51 @@ Currently, we require `lts/iron` (Node.js 20.x) for our development environment.
16
16
17
17
:::tip
18
18
19
-
The exhaustive list of LTS codenames (e.g. `lts/iron`) can be found at [CODENAMES.md](https://github.com/nodejs/Release/blob/main/CODENAMES.md) in the Node.js repository.
19
+
The exhaustive list of LTS codenames (e.g. `lts/iron`) can be found at [CODENAMES.md](https://github.com/nodejs/Release/blob/main/CODENAMES.md) in the Node.js repository.
20
20
21
21
:::
22
22
23
23
## Setting Up The Monorepo
24
24
25
-
Our repository is a monorepo managed with [Yarn 4 workspaces](https://yarnpkg.com/features/workspaces), which means it contains multiple Detox-related projects and packages. [Read more about our repository structure](../code/overview.md#repository-structure).
25
+
Our repository is a monorepo managed with Yarn workspaces. [Read more about our repository structure](../code/overview.md#repository-structure).
26
26
27
27
To set up the monorepo locally, follow these steps:
28
28
29
-
Clone the repository and navigate to the project directory:
29
+
### 1. Enable Corepack
30
+
31
+
Corepack is Node.js's built-in package manager manager. Enable it to use the correct Yarn version:
32
+
33
+
```bash
34
+
corepack enable
35
+
```
36
+
37
+
### 2. Clone the Repository
30
38
31
39
```bash
32
40
git clone git@github.com:wix/Detox.git
33
-
cddetox
41
+
cdDetox
34
42
git submodule update --init --recursive
35
43
```
36
44
37
-
From the project's root directory, install dependencies and link the internal projects:
0 commit comments