mirror of
https://github.com/maputnik/editor.git
synced 2026-09-07 21:07:27 +00:00
chore(deps-dev): Bump i18next-cli from 1.72.1 to 1.73.0 (#2139)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.72.1 to 1.73.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md">i18next-cli's changelog</a>.</em></p> <blockquote> <h2>1.73.0</h2> <ul> <li>feat: <code>init</code> runs without the wizard. <code>--yes</code> takes the detected defaults for every question not answered by <code>--locales</code>, <code>--input</code>, <code>--output</code>, <code>--backend <local|locize|other></code> or <code>--file-type <ts|js></code>; <code>--project-id <id></code> (or <code>LOCIZE_PROJECTID</code>) supplies the Locize project id and skips the signup page and the credential prompts. Made for scripts and AI coding agents, which cannot drive the prompts.</li> <li>feat: <code>init --agent-note</code> (also the last wizard question, default No) appends a short <code>## Internationalization</code> section to <code>AGENTS.md</code> (and <code>CLAUDE.md</code> when present; when neither exists, <code>AGENTS.md</code> is created, plus a <code>CLAUDE.md</code> importing it if the project has a <code>.claude/</code> folder) so the next agent session knows where the locale files are and how translations are managed. The exact text is in the README; <code>--no-agent-note</code> skips the question. Nothing is written unless you say yes.</li> <li>change: the <code>localize</code> agent prompt (<code>--print-agent-prompt</code>) and the <code>i18next-localization</code> skill no longer presume Locize. The agent asks the developer once, before creating the config, whether to manage the translations with Locize or keep the files in the repository, and never creates a project or asks for an API key unless they chose Locize. The prompt now creates the config with <code>init --yes ...</code> instead of the interactive wizard.</li> </ul> <h2>1.72.4</h2> <ul> <li>docs: the README shows the skills.sh install badge for the <code>i18next-localization</code> Agent Skill, and <code>i18next-cli --help</code> now ends with a one-line hint on installing it (<code>npx skills add i18next/i18next-cli</code>). No other command prints anything new.</li> </ul> <h2>1.72.3</h2> <ul> <li>feat(funnel): the Locize hint after <code>status</code>, <code>extract</code> and <code>sync</code> is now a single line that names the untranslated-key gap and the one command that fills it (<code>npx i18next-cli localize</code>), each with its own <code>?from=</code> tagged register link. It only appears when secondary locales actually have untranslated keys; the 24h cooldown and the CI/non-TTY suppression are unchanged.</li> </ul> <h2>1.72.2</h2> <ul> <li>fix: extract dynamic keys built from <code>for...of</code> loop variables. <code>for (const unit of UNITS)</code> over an <code>as const</code> string array now binds <code>unit</code> while the loop body is walked, just like <code>.map()</code> / <code>.forEach()</code> callback parameters already did.</li> <li>fix: capture <code>as const</code> arrays of object literals (e.g. <code>[{ unit: 'day' }, { unit: 'hour' }]</code>), so both <code>for (const { unit } of UNITS)</code> and <code>UNITS.forEach(({ unit }) => ...)</code> resolve the destructured properties.</li> <li>fix: resolve object destructuring of a known <code>as const</code> object, e.g. <code>const { unit } = rate;</code> followed by <code>t(`msg ${unit}`)</code> (<a href="https://redirect.github.com/i18next/i18next-cli/issues/289">#289</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/bf7f167b61e8578bf78022578088b18a28f6381a"><code>bf7f167</code></a> 1.73.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/8a38aa0606e318556bf12c6e0101d0dd0d8244de"><code>8a38aa0</code></a> feat(init): non-interactive options, --project-id and an opt-in agent note; t...</li> <li><a href="https://github.com/i18next/i18next-cli/commit/7fb1095445516f7aa745ce5fe1682a2fe6e3ad3f"><code>7fb1095</code></a> docs(skill): single-line description in the SKILL.md frontmatter</li> <li><a href="https://github.com/i18next/i18next-cli/commit/9224c6eff8b98e32c7fffcb136ffd0be916e8c6c"><code>9224c6e</code></a> 1.72.4</li> <li><a href="https://github.com/i18next/i18next-cli/commit/dcd02988c4da0bc746be0902e71f58f45db9f13e"><code>dcd0298</code></a> docs: skills.sh badge and a --help hint for the i18next-localization skill</li> <li><a href="https://github.com/i18next/i18next-cli/commit/285716dc3e6f4328866f7ae568ee8ace76dc8e11"><code>285716d</code></a> 1.72.3</li> <li><a href="https://github.com/i18next/i18next-cli/commit/ce1c77dc350d605540304e34fed5361de7bcab04"><code>ce1c77d</code></a> feat(funnel): one-line Locize hint after status, extract and sync</li> <li><a href="https://github.com/i18next/i18next-cli/commit/87103c7ea6f3fecd01376b28fe6127ee341de7bd"><code>87103c7</code></a> 1.72.2</li> <li><a href="https://github.com/i18next/i18next-cli/commit/bb1c07e2589900c44c0ee7a7f598afefc57a2b77"><code>bb1c07e</code></a> fix: extract dynamic keys from for-of loops and destructured as-const objects</li> <li>See full diff in <a href="https://github.com/i18next/i18next-cli/compare/v1.72.1...v1.73.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Generated
+4
-4
@@ -96,7 +96,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.6",
|
||||
"i18next-cli": "^1.72.1",
|
||||
"i18next-cli": "^1.73.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
@@ -6753,9 +6753,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/i18next-cli": {
|
||||
"version": "1.72.1",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.72.1.tgz",
|
||||
"integrity": "sha512-4ryXcgNas4HGIh4aztnfichnbcbfI268T6KGHBgotSQ+DHYa1ULMN7QMOYbPwMtkxda2wqBHzjFY3DhD6Pm8AA==",
|
||||
"version": "1.73.0",
|
||||
"resolved": "https://registry.npmjs.org/i18next-cli/-/i18next-cli-1.73.0.tgz",
|
||||
"integrity": "sha512-OgadHzbVLEnn85ROub8IUFwgC0+Q+wZriNxG2HNiycigJm+OIkypIfiBJXktb1GFNW9QKEjOwpO9NqOj5k4YwQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -131,7 +131,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.6",
|
||||
"i18next-cli": "^1.72.1",
|
||||
"i18next-cli": "^1.73.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"istanbul-lib-coverage": "^3.2.2",
|
||||
"nyc": "^18.0.0",
|
||||
|
||||
Reference in New Issue
Block a user