handlebars-i18n-cli 2.0.8 → 2.0.10

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 +11 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -16,12 +16,20 @@ for [handlebars-i18n](https://github.com/fwalzel/handlebars-i18n.git) and other
16
16
 
17
17
  ## Install
18
18
 
19
+ Install globally to use the CLI commands everywhere:
20
+
21
+ ```shell
22
+ npm i handlebars-i18n-cli -g
23
+ ```
24
+
25
+ ... or install locally in one specific project:
26
+
19
27
  ```shell
20
28
  npm i handlebars-i18n-cli --save-dev
21
29
  npm link handlebars-i18n-cli
22
30
  ```
23
31
 
24
- If you do not link the package, you may run into the error `bash: i18n-collect: command not found`.
32
+ (If you do not link the package, you may run into the error `bash: i18n-collect: command not found`).
25
33
 
26
34
  ## General Use
27
35
 
@@ -117,6 +125,8 @@ Runs the file `en.json` against DeepL API. From this …
117
125
  }
118
126
  ```
119
127
 
128
+ [![Florian Walzel: What was design? Declarations and definitions from a century of creative quest](https://florianwalzel.com/wwd-hero-d.webp)](https://www.slanted.de/product/what-was-design/)
129
+
120
130
 
121
131
  ## Purpose / Motivation
122
132
 
@@ -156,7 +166,6 @@ i18n-collect examples/templates/*.html examples/generated/translations.json --se
156
166
  You can use `handlebars-i18n-cli` in a programmatical way too. For import and integration of the Javascript Functions see
157
167
  [handlebars-i18n-cli Programmatical Use](README_programmatic.md).
158
168
 
159
-
160
169
  ## Detailed Description for Command _i18n-collect_
161
170
 
162
171
  `<source>`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "handlebars-i18n-cli",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "Extract translation keys from handlebars templates and form JSON from it, generate automatic translations via DeepL",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -40,22 +40,22 @@
40
40
  },
41
41
  "homepage": "https://github.com/fwalzel/handlebars-i18n-cli#readme",
42
42
  "dependencies": {
43
- "async-file-tried": "^1.2.4",
44
- "axios": "^1.13.5",
43
+ "async-file-tried": "^1.2.6",
44
+ "axios": "^1.16.1",
45
45
  "commander": "^14.0.3",
46
46
  "deepl-node": "^1.24.0",
47
47
  "dotenv": "^17.3.1",
48
48
  "glob": "^13.0.6"
49
49
  },
50
50
  "devDependencies": {
51
- "c8": "^10.1.3",
51
+ "c8": "^11.0.0",
52
52
  "chai": "^6.2.2",
53
53
  "chai-as-promised": "^8.0.2",
54
54
  "coveralls-next": "^6.0.1",
55
- "mocha": "^11.7.5",
56
- "sinon": "^21.0.1",
55
+ "mocha": "^11.3.0",
56
+ "sinon": "^22.0.0",
57
57
  "sinon-chai": "^4.0.1",
58
58
  "test-console": "^2.0.0",
59
- "typescript": "^5.9.3"
59
+ "typescript": "^6.0.3"
60
60
  }
61
61
  }