1.0.0 • Published 5 years ago

react-native-bundle-diff-match-patch v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

react-native-bundle-diff-match-patch

CLI tool to generate patch, apply patch, valid patch

Install

$ yarn global add react-native-bundle-diff-match-patch

//or

$ npm install -g react-native-bundle-diff-match-patch

Usage

generate patch file

$ rnbp generate old-bundle-path new-bundle-path -o patch-file-name

apply patch file

$ rnbp patch old-bundle-path patch-file-name
// this will generate a new file with a postfix .patched


$ rnbp patch old-bundle-path patch-file-name -r
// this will replace the old bundle file

check patch file is valid

$ rnbp check-valid patch-file-name