You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,20 @@ All work on React Native SegmentedControl happens directly on GitHub. Contributo
7
7
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
8
8
9
9
1. Fork the repo and create your branch from `master` (a guide on [how to fork a repository](https://help.github.com/articles/fork-a-repo/)).
10
-
2. Run `yarn` or `npm install` to install all required dependencies.
10
+
2. Run `pnpm install` to install all required dependencies.
11
11
3. Now you are ready to make your changes!
12
12
13
13
## Tests & Verifications
14
14
15
15
Currently we use `flow` for typechecking, `eslint` with `prettier` for linting and formatting the code, and `jest` for unit testing. We also use `detox` for end-to-end testing. All of these are run on Github Actions for all opened pull requests, but you should use them locally when making changes.
16
16
17
-
-`yarn test`: Run all tests and validations.
18
-
-`yarn lint`: Run `eslint`.
19
-
-`yarn lint --fix`: Run `eslint` and automatically fix issues. This is useful for correcting code formatting.
20
-
-`yarn flow`: Run `flow` typechecking.
21
-
<!-- * `yarn validate:typescript`: Run `typescript` typechecking. -->
22
-
<!-- * `yarn test:jest`: Run unit tests with `jest`. -->
23
-
<!-- * `yarn test:detox:<android|ios>:build:<debug|release>`: Build the `debug` or `release` app for end-to-end tests with `detox` on either `android` or `ios`. You need to run this before running the test command and whenever you make changes to the native code. -->
24
-
<!-- * `yarn test:detox:<android|ios>:test:<debug|release>`: Run the `debug` or `release` end-to-end tests with `detox` on either `android` or `ios`. -->
17
+
-`pnpm test`: Run all tests and validations.
18
+
-`pnpm lint`: Run `eslint`.
19
+
-`pnpm lint --fix`: Run `eslint` and automatically fix issues. This is useful for correcting code formatting.
20
+
-`pnpm flow`: Run `flow` typechecking.
21
+
<!-- * `pnpm test:jest`: Run unit tests with `jest`. -->
22
+
<!-- * `pnpm test:detox:<android|ios>:build:<debug|release>`: Build the `debug` or `release` app for end-to-end tests with `detox` on either `android` or `ios`. You need to run this before running the test command and whenever you make changes to the native code. -->
23
+
<!-- * `pnpm test:detox:<android|ios>:test:<debug|release>`: Run the `debug` or `release` end-to-end tests with `detox` on either `android` or `ios`. -->
0 commit comments