@eloqnt/cli 0.6.20 → 0.6.21
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 +7 -0
- package/README.md +2 -2
- package/dist/bin/eloqnt.mjs +1 -1
- package/package.json +12 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# `@eloqnt/cli`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
eloqnt/cli is a linter for your translation files. It catches errors before they ship, and fills the gaps with AI translation.
|
|
4
4
|
|
|
5
5
|
[Documentation](https://cli.eloqnt.dev/docs) · [Configuration](https://cli.eloqnt.dev/docs/configuration)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Start by linting your project for common problems:
|
|
10
10
|
|
|
11
11
|
```console
|
|
12
12
|
$ eloqnt lint
|
package/dist/bin/eloqnt.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import e from"node:process";import{defineCommand as t,renderUsage as n,runMain as r}from"citty";import i from"picocolors";var a=`0.6.
|
|
2
|
+
import e from"node:process";import{defineCommand as t,renderUsage as n,runMain as r}from"citty";import i from"picocolors";var a=`0.6.21`;try{e.loadEnvFile()}catch{}const o=t({meta:{name:`eloqnt`,version:a,description:`AI-powered translations for developers`},subCommands:{lint:d(()=>import(`../lint-Wu02Ge85.mjs`)),review:d(()=>import(`../review-Jq5qfN92.mjs`)),translate:d(()=>import(`../translate-Db4Yhr8o.mjs`)),crowdin:d(()=>import(`../crowdin-DdfREp0-.mjs`)),login:d(()=>import(`../login-BpNU31ln.mjs`)),logout:d(()=>import(`../logout-DSYs8Q7s.mjs`)),whoami:d(()=>import(`../whoami-CL3FnZLb.mjs`))}}),s=e.argv.slice(2);r(o,{rawArgs:s.length===1&&s[0]===`-v`?[`--version`]:s,async showUsage(e,t){console.log(await n(e,t)),console.log(i.dim(`Docs: ${await c(e,t)}`))}});async function c(e,t){let n=(await u(e.meta))?.name,r=(await u(t?.meta))?.name,i=r===void 0||r===`eloqnt`?n:r;return i===void 0||i===`eloqnt`?`https://cli.eloqnt.dev/docs`:`https://cli.eloqnt.dev/docs/cli/${await l(i)}`}async function l(e){let t=o.subCommands??{};if(e in t)return e;for(let[n,r]of Object.entries(t)){let t=(await u(r))?.subCommands;if(t&&e in t)return n}return e}function u(e){return typeof e==`function`?e():e}function d(e){return()=>e().then(e=>e.default)}export{a as t};
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eloqnt/cli",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.6.21",
|
|
4
|
+
"description": "A linter for your translation files, with AI translation built in.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"i18n",
|
|
7
|
+
"icu",
|
|
8
|
+
"internationalization",
|
|
9
|
+
"linter",
|
|
10
|
+
"localization",
|
|
11
|
+
"next-intl",
|
|
12
|
+
"translation"
|
|
13
|
+
],
|
|
5
14
|
"homepage": "https://cli.eloqnt.dev",
|
|
6
15
|
"bin": {
|
|
7
16
|
"eloqnt": "./dist/bin/eloqnt.mjs"
|
|
@@ -26,7 +35,7 @@
|
|
|
26
35
|
"citty": "^0.1.6",
|
|
27
36
|
"open": "^11.0.0",
|
|
28
37
|
"picocolors": "^1.1.1",
|
|
29
|
-
"@eloqnt/sdk": "0.6.
|
|
38
|
+
"@eloqnt/sdk": "0.6.19"
|
|
30
39
|
},
|
|
31
40
|
"devDependencies": {
|
|
32
41
|
"@types/node": "^25.9.5"
|