Skip to content

Commit a90e7fd

Browse files
committed
Replace instances of yarn with pnpm
1 parent 4a21fd4 commit a90e7fd

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

CONTRIBUTING.MD

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ Thanks for contributing!
55
### Installing dependencies
66

77
```sh
8-
yarn install
8+
pnpm install
99
```
1010

11-
You will find all building blocks that make up React Live in the [`src`](packages/react-live/src) folder and examples in the [`demo`](demo) folder.
11+
You will find all building blocks that make up React Live in the [`src`](packages/react-live/src) folder and examples in the [`demo`](packages/demo) folder.
1212

1313
### Testing
1414

15-
You will find tests for files colocated with `*.test.js` suffixes. Whenever making any changes, ensure that all existing tests pass by running `yarn run test`.
15+
You will find tests for files colocated with `*.test.js` suffixes. Whenever making any changes, ensure that all existing tests pass by running `pnpm run test` in the react-live directory.
1616

1717
If you are adding a new feature or some extra functionality, you should also make sure to accompany those changes with appropriate tests.
1818

1919
### Linting and Formatting
2020

21-
Before committing any changes, be sure to do `yarn run lint`; this will lint all relevant files using [ESLint](http://eslint.org/) and report on any changes that you need to make.
21+
Before committing any changes, be sure to do `pnpm run lint`; this will lint all relevant files using [ESLint](http://eslint.org/) and report on any changes that you need to make.
2222

23-
You will also want to ensure your code meets the prettier formatting guidelines by running `yarn run prettier -l <filename>` on a specific file. If there are differences the script errors out. You can also specify a glob `yarn run prettier -l "src/**/*.js"` which will return a list of files that do not conform.
23+
You will also want to ensure your code meets the prettier formatting guidelines by running `pnpm run prettier -l <filename>` on a specific file. If there are differences the script errors out. You can also specify a glob `yarn run prettier -l "src/**/*.js"` which will return a list of files that do not conform.
2424

2525
Alternatively, install the Prettier [editor plugin](https://prettier.io/docs/en/editors.html) in your favorite editor. This is the preferred method.
2626

@@ -30,8 +30,8 @@ There is also a CI step in place to lint all committed files. If any of the stag
3030

3131
Thanks for taking the time to help us make react-live even better! Before you go ahead and submit a PR, make sure that you have done the following:
3232

33-
- Run the tests using `yarn run test`.
34-
- Run lint and flow using `yarn run lint`
33+
- Run the tests using `pnpm run test`.
34+
- Run lint and flow using `pnpm run lint`
3535
- Update the [type definitions](./typings/react-live.d.ts) for anything that modifies the React-Live API, like breaking changes or new features.
3636

3737
### Changesets
@@ -41,7 +41,7 @@ We use [changesets](https://github.com/changesets/changesets) to create package
4141
If your work contributes changes that require a change in version to any of the packages, add a changeset by running:
4242

4343
```sh
44-
$ yarn changeset
44+
$ pnpm changeset
4545
```
4646

4747
which will open an interactive CLI menu. Use this menu to select which packages need versioning, which semantic version changes are needed, and add appropriate messages accordingly.

0 commit comments

Comments
 (0)