@localheroai/cli 0.0.73 → 0.0.74-rc.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 CHANGED
@@ -209,6 +209,70 @@ Both modes automatically commit changes to your repository when running in GitHu
209
209
  npx @localheroai/cli ci --verbose
210
210
  ```
211
211
 
212
+ ### Check
213
+
214
+ ```bash
215
+ npx @localheroai/cli check
216
+ ```
217
+
218
+ Checks your translation files for missing keys, broken placeholders and structure problems. It runs offline on the files in your repo, with no Localhero.ai account, no API key and no `localhero.json` needed. Run it once to see where a repo stands, or in CI to fail a pull request that leaves translations behind.
219
+
220
+ With a `localhero.json` it uses that file's paths, locales and `ignoreKeys`. Without one it finds the locale folder the way `init` does and reads the languages from file and folder names. The source language is the first of: `--source`, a gettext catalog whose `msgstr` are untranslated, a `.pot` template, `en` and the language with the most keys. `check` prints what it picked and says so when it guessed. A language only counts as a target when one of its files matches a source file. That leaves out vendored translations such as rails-i18n.
221
+
222
+ For each target locale it reports:
223
+
224
+ - **Missing keys**: in the source but absent or `null` in the target. Without a config, a source file the language has no file for is listed as not checked instead of counting all its keys as missing.
225
+ - **Placeholder mismatches**: a placeholder the translation drops or adds. Covers Rails `%{name}` and `%<name>s`, printf (`%s`, `%d`, positional `%1$s`), i18next `{{name}}`, ICU `{name}` and Python `%(name)s`. Translators may reorder positional arguments. Date formats (`%b %d`) and literal percent signs are not compared.
226
+ - **Placeholder hints**: a `zero`, `one` or `two` form that leaves out a placeholder, like `"%{count} language"` → `"1 språk"`. That is often correct. Hints never fail the run. A `few`, `many` or `other` form that drops a placeholder is a mismatch.
227
+ - **Missing plural categories**: a Rails plural group without the forms its language needs, like Polish with only `one` and `other`. Rails falls back to `other` without raising an error.
228
+ - **Structure mismatches**: a string in the source that is a map or array in the target, or a plural group collapsed to one string.
229
+ - **Conflicting and duplicate keys**: a key defined with different values in several YAML files of one locale, or twice in the same file. Rails keeps one of the values and says nothing. Gettext domains, i18next namespaces and multi-language files are separate namespaces and are not compared with each other.
230
+ - **Orphan keys**: in a target but in no source file. They are warnings only. Often they are framework translations the source never had.
231
+ - **Empty and identical values**: an empty target string fails like a missing key. A target identical to its source is a hint, as short words and names are often the same across languages.
232
+
233
+ #### Options
234
+
235
+ **`--source <locale>`**: The source language. Defaults to the one in `localhero.json`, or the detected one without it.
236
+
237
+ **`--locales <codes>`**: Comma-separated target locales to check. Defaults to the configured output locales, or every matching language found without a config.
238
+
239
+ **`--path <dir>`**: The locale folder to scan when there is no `localhero.json`. Use it for layouts the detection misses.
240
+
241
+ **`--pattern <glob>`**: The file pattern inside `--path`. Defaults to `**/*.{json,yml,yaml,po,pot}`.
242
+
243
+ **`--json`**: Prints the full report as JSON on stdout and nothing else: every finding, the files loaded per locale, files that could not be parsed and what was detected without a config. Key names stay stable between releases. `changedOnly` is `null` in a full check. In changed-only mode it is `{ "base": "main (d260ed6)", "diffAvailable": true }` and each finding has `"introduced": true` when the base did not have it, `false` when it was already there. When the comparison failed it is `{ "base": null, "diffAvailable": false, "reason": "..." }` and findings have no `introduced`.
244
+
245
+ **`--all`**: Prints every finding instead of the first 10 per category.
246
+
247
+ **`--fail-on <mode>`**: When to exit 1. `missing` (default) fails on missing or empty keys. `placeholders` fails on placeholder mismatches. `any` fails on every finding except hints, orphan keys and files not checked. `none` never fails. A file that cannot be parsed fails every mode except `none`. In changed-only mode only new problems count.
248
+
249
+ **`--format <github|text>`**: `github` prints GitHub Actions annotations instead of the report: `::error` for problems, `::warning` for orphan and duplicate keys, `::notice` for hints. At most 50, followed by a count of the rest. Annotations point at files, not lines. In GitHub Actions `github` is the default; `--format text` prints the report there instead. `--json` wins over both.
250
+
251
+ **`--changed-only`**: Only reports and fails on new problems: ones the base branch did not have. `check` runs the same checks on the base versions of the files to tell. A problem that was already there is counted, not listed. It never fails the run, even when the branch edited its key. One that changed, like a placeholder mismatch that now misses a different placeholder, counts as new. The base is `translationFiles.baseBranch` from `localhero.json`, else `main` or `master`. On a GitHub pull request it is the pull request's base branch. There this mode is on by default.
252
+
253
+ **`--full`**: Checks every key, also on a pull request.
254
+
255
+ In CI, pass `--source` so the gate never depends on a guess:
256
+
257
+ ```bash
258
+ npx @localheroai/cli check --source en
259
+ npx @localheroai/cli check --source en --locales sv,de --fail-on any
260
+ npx @localheroai/cli check --json > report.json
261
+ ```
262
+
263
+ #### In GitHub Actions
264
+
265
+ ```yaml
266
+ - uses: actions/checkout@v7
267
+ - run: npx @localheroai/cli check --source en
268
+ ```
269
+
270
+ That is the whole setup. In GitHub Actions `check` prints annotations. On a pull request it compares with the base branch and fails only on problems the pull request introduced. Those become annotations on the pull request. `check` fetches the base commit itself, which lets the default shallow checkout work. Problems that were already there never fail the run. They go to the job summary, counted per locale and category, next to the pull request's own problems.
271
+
272
+ If the comparison fails, for example when the base commit cannot be fetched, `check` says so in the log and the summary. It then checks every key without failing on what it finds. Parse errors still fail. Checking out with `fetch-depth: 0` avoids this.
273
+
274
+ Other CI systems get the text report. Pass `--changed-only` there for the same gate.
275
+
212
276
  ### Pull / push
213
277
 
214
278
  ```bash
package/dist/cli.js CHANGED
@@ -10,6 +10,7 @@ import { push } from './commands/push.js';
10
10
  import { init } from './commands/init.js';
11
11
  import { translate } from './commands/translate.js';
12
12
  import { ci } from './commands/ci.js';
13
+ import { check } from './commands/check.js';
13
14
  import { clone } from './commands/clone.js';
14
15
  import { glossary } from './commands/glossary.js';
15
16
  import { settings } from './commands/settings.js';
@@ -90,6 +91,20 @@ program
90
91
  .option('-v, --verbose', 'Show detailed progress information')
91
92
  .option('--skip-commit', 'Skip auto-commit (translations still run on backend)')
92
93
  .action(wrapCommandAction((options) => ci(options)));
94
+ program
95
+ .command('check')
96
+ .description('Check translation files for missing keys, broken placeholders and structure issues. Runs offline, no account or localhero.json needed')
97
+ .option('--source <locale>', 'Source locale (default: from localhero.json, else detected)')
98
+ .option('--locales <codes>', 'Comma-separated target locales to check (default: from localhero.json, else every other locale found)')
99
+ .option('--path <dir>', 'Locale folder to scan when there is no localhero.json')
100
+ .option('--pattern <glob>', 'File pattern inside --path (default: **/*.{json,yml,yaml,po,pot})')
101
+ .option('--json', 'Output a machine-readable JSON report on stdout')
102
+ .option('--all', 'Print every finding instead of capping each category')
103
+ .option('--fail-on <mode>', 'Exit non-zero when findings exist: missing (default), placeholders, any, or none', 'missing')
104
+ .option('--format <format>', '"github" for GitHub Actions annotations (the default in GitHub Actions) or "text" for the report')
105
+ .option('--changed-only', 'Only report and fail on problems the base branch did not have (the default on a GitHub pull request)')
106
+ .option('--full', 'Check every key, also on a pull request')
107
+ .action(wrapCommandAction((options) => check(options)));
93
108
  program
94
109
  .command('pull')
95
110
  .description('Pull updates from Localhero.ai to your local files')
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAe,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAsB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,EAAE,EAAa,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAmB,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAmB,MAAM,wB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