- Back up existing main branch
Rebase off RNVC main branch
git remote add upstream https://github.com/mrousavy/react-native-vision-camera.git
git fetch upstream
git checkout main
git rebase upstream/main
git push -f origin main
- Optional step - update the version in
package/package.json
- Login to npm with
npm login
- To publish to NPM we need to run the following command on terminal on root level of the project.
- Get the One time password from your authenticator app with your npm login.
- Run
node npm-publish.sh --otp=123456
- remove temporary changes to
package/package.json
- run
git checkout package/package.json