Skip to content

Commit

Permalink
Document yarn 1.x usage for contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam authored and pbteja1998 committed Oct 17, 2022
1 parent 880c84d commit f26f45c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

## Setup

Run `npm install` to install the dependencies.
First make sure you have yarn 1.x (classic) installed. If you are on yarn 2 or 3, you can use yarn 1.x by issueing the following command:

Run the tests with `npm run test`.
```bash
yarn set version classic
```

Run the linter with `npm run lint`.
Run `yarn install` to install the dependencies.

Run the typechecker with `npm run typecheck`.
Run the tests with `yarn run test`.

Run the linter with `yarn run lint`.

Run the typechecker with `yarn run typecheck`.

0 comments on commit f26f45c

Please sign in to comment.