sheet-i18n 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -889,6 +889,23 @@ Registers translation data to Google Sheets.
889
889
 
890
890
  - **Default**: `diff`
891
891
 
892
+ <br/>
893
+
894
+ - `--sync`
895
+ Define whether to synchronize remote sheet data source with the local translation code data
896
+
897
+ This flag only takes effect when the scope is `total` or `select`
898
+
899
+ - **Default**: `false`
900
+
901
+ ```bash
902
+ # synchronize the total sheet data with your local translation code data
903
+ npx sheet-i18n register -s total --sync
904
+
905
+ # synchronize the selected sheet data with your local translation code data
906
+ npx sheet-i18n register -s select --sync
907
+ ```
908
+
892
909
  ---
893
910
 
894
911
  #### 📄 Detailed description of the `scope` option:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sheet-i18n",
3
3
  "description": "All-in-one i18n toolchain: seamlessly integrate Google Sheets, CLI, and react-i18n for easy translation workflows.",
4
- "version": "1.8.0",
4
+ "version": "1.9.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/chltjdrhd777/sheet-i18n"
@@ -50,9 +50,9 @@
50
50
  "license": "ISC",
51
51
  "homepage": "https://github.com/chltjdrhd777/sheet-i18n",
52
52
  "dependencies": {
53
- "@sheet-i18n/importer": "1.8.0",
54
- "@sheet-i18n/typescript": "0.2.0",
55
- "@sheet-i18n/react": "1.5.0"
53
+ "@sheet-i18n/react": "1.5.0",
54
+ "@sheet-i18n/importer": "1.9.0",
55
+ "@sheet-i18n/typescript": "0.2.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "tsup": "^6.0.0",