Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,21 @@ This repository contains mono repository structure with multiple React Native an
- /dev-packages -> dev packages, ts-3.8 test runner, e2e tests components and runner
- /performance-tests -> applications used for measuring performance in CI

# Requirements
# Setting up an Environment

- nodejs 18 (with corepack globally installed)
- yarn version specified in `package.json` (at the moment version 3.6)
We use [Volta](https://volta.sh/) to ensure we use consistent versions of node and yarn.

## Building
`sentry-react-native` is a monorepo containing several packages, and we use `lerna` to manage them. To get started,
install all dependencies, and then perform an initial build, so TypeScript can read all of the linked type definitions.

Install dependencies using:

```sh
yarn
```
$ yarn
$ yarn build
```

Once deps are installed, you can build the project:

```sh
yarn build
With that, the repo is fully set up and you are ready to run all commands.

# Or in watch mode, for development of the SDK core
# Watch mode, for development of the SDK core

cd packages/core
yarn build:sdk:watch
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
"Appium has a dependency on @xmldom/xmldom@^0.x, which causes chromedrive build to fail yarn install",
"See: https://github.com/appium/appium-chromedriver/pull/424"
],
"volta": {
"node": "18.20.8",
"yarn": "3.6.4"
},
"resolutions": {
"appium-chromedriver@npm:5.6.73/@xmldom/xmldom": "0.8.10",
"form-data": "4.0.4"
Expand Down
Loading