File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,21 @@ This repository contains mono repository structure with multiple React Native an
10
10
- /dev-packages -> dev packages, ts-3.8 test runner, e2e tests components and runner
11
11
- /performance-tests -> applications used for measuring performance in CI
12
12
13
- # Requirements
13
+ # Setting up an Environment
14
14
15
- - nodejs 18 (with corepack globally installed)
16
- - yarn version specified in ` package.json ` (at the moment version 3.6)
15
+ We use [ Volta] ( https://volta.sh/ ) to ensure we use consistent versions of node and yarn.
17
16
18
- ## Building
17
+ ` sentry-react-native ` is a monorepo containing several packages, and we use ` lerna ` to manage them. To get started,
18
+ install all dependencies, and then perform an initial build, so TypeScript can read all of the linked type definitions.
19
19
20
- Install dependencies using:
21
-
22
- ``` sh
23
- yarn
20
+ ```
21
+ $ yarn
22
+ $ yarn build
24
23
```
25
24
26
- Once deps are installed, you can build the project:
27
-
28
- ``` sh
29
- yarn build
25
+ With that, the repo is fully set up and you are ready to run all commands.
30
26
31
- # Or in watch mode, for development of the SDK core
27
+ # Watch mode, for development of the SDK core
32
28
33
29
cd packages/core
34
30
yarn build:sdk: watch
Original file line number Diff line number Diff line change 56
56
" Appium has a dependency on @xmldom/xmldom@^0.x, which causes chromedrive build to fail yarn install" ,
57
57
" See: https://github.com/appium/appium-chromedriver/pull/424"
58
58
],
59
+ "volta" : {
60
+ "node" : " 18.20.8" ,
61
+ "yarn" : " 3.6.4"
62
+ },
59
63
"resolutions" : {
60
64
"appium-chromedriver@npm:5.6.73/@xmldom/xmldom" : " 0.8.10" ,
61
65
"form-data" : " 4.0.4"
You can’t perform that action at this time.
0 commit comments