1.0.19 ā¢ Published 3 years ago
rn-upgrade v1.0.19
Welcome to react-native-upgrade š
Upgrade react native version using rn-diff-purge repo
Installation
yarn globall add rn-upgrade
Usage
Upgrade current project to a specific RN version
rn-upgrade [project path, default: current folder] --version <version>
Apply a diff file from rn-purge
rn-upgade --help
usage: upgrade [-h] [--source SOURCE] [--version VERSION] [--diff DIFF]
[--test]
React Native upgrade tool using rn-diff-purge
Optional arguments:
-h, --help Show this help message and exit.
--source SOURCE Project folder path, default current folder
--version VERSION, -v VERSION
Specific version to upgrade/downgrade
--diff DIFF Specific diff file (with rn-diff-purge repo) to patch
(--version/-v option will be ignore
--test If true, there is no file change
Example:
rn-upgade --version 0.59.9
or
rn-upgade --diff https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.61.5..0.59.9.diff
Scan string and export to language file for react-native-localization
translate --help
usage: translate [-h] [-v] [-to-csv] [--scan] [-a STRING1 STRING2 ...]
[--csv CSV_FILE] [-i] [--to LOCALE] [--alias ALIAS]
[--lang-file LANGFILE] [--test]
React Native locale tool
Optional arguments:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
-to-csv Export language file to csv
--scan Scan string in project to export to locale file
-a STRING1 STRING2 ..., --add STRING1 STRING2 ...
Search for specific strings and export to locale file
--csv CSV_FILE Import strings from csv file and export to locale
file, default is <package name>.csv
-i , --import import from csv, specific by --csv option
--to LOCALE translate origin locale strings to specific locale,
ex: zh-CN
--alias ALIAS alias import instead of path import
--lang-file LANGFILE language file, if doesn't specific, we will search
automatically
--test if true, script will show all results without doing
any change
Example:
translate --scan --alias '$res/strings'
Contribute
Want to contribute? Please email me or send me a pull request
Author
š¤ kida7 (kida7kahp@gmail.com)
- Github: @kida7
Show your support
Give a āļø if this project helped you!
This README was generated with ā¤ļø by readme-md-generator
1.0.19
3 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago