glotto 1.0.1 → 1.0.2
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/README.md +16 -8
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -12,33 +12,41 @@ translating your language files to any target language while maintaining the JSO
|
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Glotto can be installed and used through either JSR (Deno) or npm. Choose the method that best suits your development environment.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
### [JSR (Deno)](https://jsr.io/@ibodev/glotto)
|
|
18
|
+
|
|
19
|
+
#### Global Installation
|
|
20
|
+
|
|
21
|
+
Install Glotto globally to use it as a CLI tool from anywhere:
|
|
18
22
|
|
|
19
23
|
```bash
|
|
20
24
|
deno install --global --name glotto -A jsr:@ibodev/glotto
|
|
21
25
|
```
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
#### Direct Execution
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
Alternatively, run Glotto directly without installation:
|
|
26
30
|
|
|
27
31
|
```bash
|
|
28
32
|
deno run -A jsr:@ibodev/glotto
|
|
29
33
|
```
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
### [npm (Node)](https://www.npmjs.com/package/glotto)
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
#### Global Installation
|
|
38
|
+
|
|
39
|
+
Install Glotto globally via npm to use it as a CLI tool:
|
|
34
40
|
|
|
35
41
|
```bash
|
|
36
42
|
npm install --global glotto
|
|
37
43
|
```
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
After installation, the `glotto` command will be available in your terminal.
|
|
46
|
+
|
|
47
|
+
#### Direct Execution
|
|
40
48
|
|
|
41
|
-
Run
|
|
49
|
+
Run Glotto directly using npx without installation:
|
|
42
50
|
|
|
43
51
|
```bash
|
|
44
52
|
npx glotto
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "glotto",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A tool for translating i18n JSON files using AI services.",
|
|
5
5
|
"author": "Ibrahim Odev <developer.ibrahimodev@gmail.com>",
|
|
6
6
|
"repository": {
|
|
@@ -11,29 +11,28 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ibodev1/glotto/issues"
|
|
13
13
|
},
|
|
14
|
-
"main": "
|
|
14
|
+
"main": "./script/cli.js",
|
|
15
15
|
"module": "./esm/cli.js",
|
|
16
|
-
"types": "esm/cli.d.ts",
|
|
17
16
|
"exports": {
|
|
18
17
|
".": {
|
|
19
18
|
"import": "./esm/cli.js",
|
|
20
19
|
"require": "./script/cli.js"
|
|
21
20
|
}
|
|
22
21
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"npm": ">=8.12.1"
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
26
24
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=20.0.0"
|
|
29
27
|
},
|
|
28
|
+
"bin": "./esm/cli.js",
|
|
30
29
|
"dependencies": {
|
|
31
30
|
"@google/generative-ai": "^0.21.0",
|
|
32
31
|
"consola": "^3.4.0",
|
|
33
32
|
"@deno/shim-deno": "~0.18.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@types/node": "^
|
|
35
|
+
"@types/node": "^20.9.0"
|
|
37
36
|
},
|
|
38
37
|
"_generatedBy": "dnt@dev"
|
|
39
38
|
}
|