Skip to content

Commit 4e5dfde

Browse files
committed
docs: mention node version in contributing guide
1 parent 250cb0a commit 4e5dfde

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/create-react-native-library/templates/common/CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ This project is a monorepo managed using [Yarn workspaces](https://yarnpkg.com/f
1111
- The library package in the root directory.
1212
- An example app in the `example/` directory.
1313

14-
To get started with the project, run `yarn` in the root directory to install the required dependencies for each package:
14+
To get started with the project, make sure you have the correct version of [Node.js](https://nodejs.org/) installed. See the [`.nvmrc`](./.nvmrc) file for the version used in this project.
15+
16+
Run `yarn` in the root directory to install the required dependencies for each package:
1517

1618
```sh
1719
yarn
1820
```
1921

20-
> Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development.
22+
> Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development without manually migrating.
2123
2224
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
2325
This project uses Nitro Modules. If you're not familiar with how Nitro works, make sure to check the [Nitro Modules Docs](https://nitro.margelo.com/).

packages/create-react-native-library/templates/common/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ const result = await multiply(3, 7);
5656

5757
## Contributing
5858

59-
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
59+
- [Development workflow](CONTRIBUTING.md#development-workflow)
60+
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
61+
- [Code of conduct](CODE_OF_CONDUCT.md)
6062

6163
## License
6264

0 commit comments

Comments
 (0)