Skip to content

Commit dd9bbb4

Browse files
committed
Update react-native-cli/CONTRIBUTING.md
1 parent 57adecc commit dd9bbb4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

react-native-cli/CONTRIBUTING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Now you can run sinopia by simply doing:
4545
Now we need to publish the two React Native packages to our local registry. To do this, we configure npm to use the new registry, unpublish any existing packages and then publish the new ones:
4646

4747
react-native$ npm set registry http://localhost:4873/
48+
# Check that it worked:
49+
react-native$ npm config list
4850
react-native$ npm unpublish --force
4951
react-native$ npm publish
5052
react-native$ cd react-native-cli/
@@ -74,4 +76,12 @@ These tests actually create a very similar setup to what is described above (usi
7476
Both of these types of tests also run on Travis both continuously and on pull requests.
7577

7678
[sinopia]: https://www.npmjs.com/package/sinopia
77-
[xctool]: https://github.com/facebook/xctool
79+
[xctool]: https://github.com/facebook/xctool
80+
81+
## Clean up
82+
83+
To unset the npm registry, do:
84+
85+
$ npm config delete registry
86+
# Check that it worked:
87+
$ npm config list

0 commit comments

Comments
 (0)