Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add yarn install instructions in CONTRIBUTING.md #18970

Merged
merged 3 commits into from
Dec 24, 2019
Merged
Changes from 1 commit
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
25 changes: 20 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ If you decide to fix an issue, please be sure to check the comment thread in cas

If somebody claims an issue but doesn’t follow up for more than a week, it’s fine to take it over but you should still leave a comment.

## Package Manager
oliviertassinari marked this conversation as resolved.
Show resolved Hide resolved

Use [yarn](https://yarnpkg.com/en/docs) as a package manager to deal with project dependencies.

## Sending a Pull Request

Material-UI is a community project, so Pull Requests are always welcome, but, before working on a large change, it is best to open an issue first to discuss it with the maintainers.
Expand All @@ -31,7 +35,7 @@ When in doubt, keep your Pull Requests small. To give a Pull Request the best ch

1. Fork the repository.

2. Clone the fork to your local machine and add upstream remote
2. Clone the fork to your local machine and add upstream remote:

```sh
git clone git@github.com:<yourname>/material-ui.git
Expand All @@ -46,19 +50,30 @@ git checkout master
git pull upstream master
```

4. Create a new topic branch:
4. Install dependencies:

```sh
git checkout -b my-topic-branch
yarn install
```

5. Make changes, commit and push to your fork:
or

````sh
yarn

5. Create a new topic branch:

```sh
git checkout -b my-topic-branch
oliviertassinari marked this conversation as resolved.
Show resolved Hide resolved
````

6. Make changes, commit and push to your fork:

```sh
git push -u
```

6. Go to [the repository](https://github.com/mui-org/material-ui) and make a Pull Request.
7. Go to [the repository](https://github.com/mui-org/material-ui) and make a Pull Request.

The core team is monitoring for Pull Requests. We will review your Pull Request and either merge it, request changes to it, or close it with an explanation.

Expand Down