handlebars-i18n-cli 2.0.8 → 2.0.9

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 +10 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -16,12 +16,19 @@ 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
+ ... or install locally in one specific project:
25
+
19
26
  ```shell
20
27
  npm i handlebars-i18n-cli --save-dev
21
28
  npm link handlebars-i18n-cli
22
29
  ```
23
30
 
24
- If you do not link the package, you may run into the error `bash: i18n-collect: command not found`.
31
+ (If you do not link the package, you may run into the error `bash: i18n-collect: command not found`).
25
32
 
26
33
  ## General Use
27
34
 
@@ -117,6 +124,8 @@ Runs the file `en.json` against DeepL API. From this …
117
124
  }
118
125
  ```
119
126
 
127
+ [![What Was Design](https://florianwalzel.com/what-was-design-banner-2x.webp)](https://www.slanted.de/product/what-was-design/)
128
+
120
129
 
121
130
  ## Purpose / Motivation
122
131
 
@@ -156,7 +165,6 @@ i18n-collect examples/templates/*.html examples/generated/translations.json --se
156
165
  You can use `handlebars-i18n-cli` in a programmatical way too. For import and integration of the Javascript Functions see
157
166
  [handlebars-i18n-cli Programmatical Use](README_programmatic.md).
158
167
 
159
-
160
168
  ## Detailed Description for Command _i18n-collect_
161
169
 
162
170
  `<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.9",
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,20 +40,20 @@
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.13.6",
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
55
  "mocha": "^11.7.5",
56
- "sinon": "^21.0.1",
56
+ "sinon": "^21.0.2",
57
57
  "sinon-chai": "^4.0.1",
58
58
  "test-console": "^2.0.0",
59
59
  "typescript": "^5.9.3"