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
docs: fix numbered lists and spelling in CONTRIBUTING.md (#2613)
- Update numbered lists to use sequential numbers (2, 3, 4) instead of repeating 1s
- Correct spelling from "Chose" to "Choose" in publishing workflow sections
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ All work on React Native CLI happens directly on GitHub. Contributors send pull
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 `main` (a guide on [how to fork a repository](https://help.github.com/articles/fork-a-repo/)).
10
-
1. Run `yarn` or `npm install` to install all required dependencies.
11
-
1. Run `yarn watch` to automatically build the changed files.
12
-
1. Now you are ready to do the changes.
10
+
2. Run `yarn` or `npm install` to install all required dependencies.
11
+
3. Run `yarn watch` to automatically build the changed files.
12
+
4. Now you are ready to do the changes.
13
13
14
14
## Testing your changes
15
15
@@ -75,11 +75,11 @@ First make sure you have RN repo checked out and CLI repo checked out and built.
75
75
76
76
1. Check out `react-native` repo. Then update template in local `react-native/template/package.json`, replacing dependency version of `react-native` with the absolute path of the react native repo, for example: "react-native": "file:///Users/username/react-native" (you can find the absolute path using `pwd` command)
77
77
78
-
1. Go back up and create a new RN project: `node ./cli/packages/cli/build/bin.js init --template=file:///path/to/local/react-native/RNTestProject`
78
+
2. Go back up and create a new RN project: `node ./cli/packages/cli/build/bin.js init --template=file:///path/to/local/react-native/RNTestProject`
79
79
80
-
1. To work with android, update gradle config in the newly created project following the second part of [Christoph's instructions](https://gist.github.com/cpojer/38a91f90614f35769e88410e3a387b48)
80
+
3. To work with android, update gradle config in the newly created project following the second part of [Christoph's instructions](https://gist.github.com/cpojer/38a91f90614f35769e88410e3a387b48)
81
81
82
-
1. Run start (as described above) and compile your app eg `node ../cli/packages/cli/build/bin.js run-android` (make sure you definitely have NDK r17c installed before building android)
82
+
4. Run start (as described above) and compile your app eg `node ../cli/packages/cli/build/bin.js run-android` (make sure you definitely have NDK r17c installed before building android)
83
83
84
84
## Typechecking, linting and testing
85
85
@@ -118,23 +118,23 @@ This part is for maintainers only, documenting steps to manually publish the pac
118
118
### Stable version
119
119
120
120
1. Pull latest changes for the stable branch (we use a _N.x_ convention where _N_ stands for major version of the RNC CLI).
121
-
1. Run `yarn run publish`, it will tag the packages as `latest`.
122
-
1. Chose an appropriate version from the available options.
123
-
1. Create release notes in the project's Release tab.
121
+
2. Run `yarn run publish`, it will tag the packages as `latest`.
122
+
3. Choose an appropriate version from the available options.
123
+
4. Create release notes in the project's Release tab.
124
124
125
125
### Prerelease
126
126
127
127
1. Pull latest changes for the `main` branch.
128
-
1. Run `yarn run publish:next`, it will tag the packages as `next`.
129
-
1. Use `Custom prerelease` option and go with `-alpha.N` convention.
130
-
1. Create release notes in the project's Release tab.
128
+
2. Run `yarn run publish:next`, it will tag the packages as `next`.
129
+
3. Use `Custom prerelease` option and go with `-alpha.N` convention.
130
+
4. Create release notes in the project's Release tab.
131
131
132
132
### Legacy version
133
133
134
134
1. Pull latest changes for the _N.x_ branch (where N stands for major legacy version).
135
-
1. Run `yarn run publish --dist-tag N.x` to tag the packages as `N.x`.
136
-
1. Chose an appropriate version from the available options.
137
-
1. Create release notes in the project's Release tab.
135
+
2. Run `yarn run publish --dist-tag N.x` to tag the packages as `N.x`.
136
+
3. Choose an appropriate version from the available options.
137
+
4. Create release notes in the project's Release tab.
0 commit comments