locize-cli 8.0.0 → 8.0.1
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.
- package/CHANGELOG.md +4 -0
- package/README.md +7 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
Project versioning adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
7
7
|
|
|
8
|
+
## [8.0.1](https://github.com/locize/locize-cli/compare/v8.0.0...v8.0.1) - 2023-04-10
|
|
9
|
+
|
|
10
|
+
- update some dependencies to address security vulnerabilities in xlsx
|
|
11
|
+
|
|
8
12
|
## [8.0.0](https://github.com/locize/locize-cli/compare/v7.15.2...v8.0.0) - 2023-01-18
|
|
9
13
|
|
|
10
14
|
- align json format with publish format on project: To keep the same behaviour like before with default format or `json` format, now use `--format nested`. The `--format json` (the default) will now try to "guess" if a flat or a nested format should be used.
|
package/README.md
CHANGED
|
@@ -66,6 +66,9 @@ locize get common title
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
## Download current published files
|
|
69
|
+
|
|
70
|
+
*The CLI will use the normal [API](https://docs.locize.com/integration/api) endpoints to download the translations, so normal download charges etc. will occur.*
|
|
71
|
+
|
|
69
72
|
### Step 1: execute
|
|
70
73
|
|
|
71
74
|
Add your project-id and let's go...
|
|
@@ -98,6 +101,10 @@ An example on how this could look like can be seen in [this tutorial](https://gi
|
|
|
98
101
|
|
|
99
102
|
**⚠️ Since the remote source are the published translations, make sure the desired version is set to auto publish mode. Alternatively use the `--unpublished true` argument (this will generate [private downloads costs](https://docs.locize.com/integration/api#fetch-filter-the-unpublished-namespace-resources)). ⚠️**
|
|
100
103
|
|
|
104
|
+
*The CLI will use the normal [API](https://docs.locize.com/integration/api) endpoints, so normal modification and download charges etc. will occur.*
|
|
105
|
+
|
|
106
|
+
*If you need to change or remove multiple keys, please do NOT execute the sync command after each individual key change, but make the changes all together and then execute the sync command once.*
|
|
107
|
+
|
|
101
108
|
### Step 1: Go near to your translation files
|
|
102
109
|
|
|
103
110
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "locize-cli",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "locize cli to import locales",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"colors": "1.4.0",
|
|
15
15
|
"commander": "9.5.0",
|
|
16
16
|
"csvjson": "5.1.0",
|
|
17
|
-
"diff": "5.
|
|
18
|
-
"dotenv": "16.
|
|
17
|
+
"diff": "5.2.0",
|
|
18
|
+
"dotenv": "16.4.5",
|
|
19
19
|
"flat": "5.0.2",
|
|
20
|
-
"fluent_conv": "3.
|
|
21
|
-
"gettext-converter": "1.
|
|
20
|
+
"fluent_conv": "3.3.0",
|
|
21
|
+
"gettext-converter": "1.3.0",
|
|
22
22
|
"https-proxy-agent": "5.0.1",
|
|
23
|
-
"ini": "4.1.
|
|
23
|
+
"ini": "4.1.2",
|
|
24
24
|
"js-yaml": "4.1.0",
|
|
25
25
|
"laravelphp": "2.0.4",
|
|
26
26
|
"lodash.clonedeep": "4.5.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"rimraf": "3.0.2",
|
|
31
31
|
"strings-file": "0.0.5",
|
|
32
32
|
"tmexchange": "2.0.5",
|
|
33
|
-
"xliff": "6.2.
|
|
34
|
-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.
|
|
33
|
+
"xliff": "6.2.1",
|
|
34
|
+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"eslint": "8.56.0",
|