dependabot[bot] 94c701ee16 chore(deps-dev): Bump i18next-cli from 1.95.7 to 1.96.1 (#2400)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.95.7
to 1.96.1.
<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.96.1</h2>
<ul>
<li>fix(lint): <code>checkInterpolationParams</code> no longer reports a
formatter option passed at the root of the t() options
(<code>{ defaultValue: 'Betrag: {{amount, currency}}', amount, currency
}</code>) as unused: with a formatted interpolation in
the string, i18next hands every option to the formatter. A regression in
1.96.0 for calls with a <code>defaultValue</code>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
</ul>
<h2>1.96.0</h2>
<ul>
<li>fix(sync): empty plural forms a language needs beyond the primary's
(<code>_many</code> in French, <code>_few</code>/<code>_many</code> in
Russian)
are kept instead of removed, so <code>extract</code> and
<code>sync</code> no longer undo each other and <code>extract
--ci</code> passes after
<code>sync</code>. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/356">#356</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/359">#359</a>)</li>
<li>fix(types): a newly generated <code>i18next.d.ts</code> sets
<code>keySeparator</code>, <code>nsSeparator</code>,
<code>pluralSeparator</code>,
<code>contextSeparator</code>, <code>interpolationPrefix</code> and
<code>interpolationSuffix</code> in <code>CustomTypeOptions</code> when
<code>extract</code> sets them to
something other than i18next's defaults (<code>false</code> for a
disabled separator). Before, <code>t('common::title')</code> with
<code>nsSeparator: '::'</code> did not compile, and a flat key with a
<code>.</code> (<code>keySeparator: false</code>) or a
<code>{name}</code> placeholder lost
its value type and variable checks. An existing
<code>i18next.d.ts</code> is not rewritten. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/357">#357</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/358">#358</a>)</li>
<li>fix(lint): <code>checkInterpolationParams</code> reads params like
i18next: the keys of a literal <code>replace</code> are the variables
(keys next to it are unused), and a spread, a computed key or a
non-literal <code>replace</code> no longer reports a variable as
not provided. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/360">#360</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(lint): interpolation issues are reported on the line of their
own <code>t()</code> call, so an earlier call, string or
comment with the same key no longer takes the line, and
<code>i18next-instrument-ignore-next-line</code> applies to the right
call. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/361">#361</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(skill): the <code>i18next-localization</code> skill has the
agent add locize-agents' <code>CONVENTIONS.md</code> to the project's
<code>AGENTS.md</code> or <code>CLAUDE.md</code>; that repository no
longer has a <code>CLAUDE.md</code> or <code>AGENTS.md</code> to
copy.</li>
<li>fix(extract): a literal <code>format</code> in a
<code>&lt;Trans&gt;</code> interpolation object is written as
react-i18next builds it
(<code>{{ total, format: 'number' }}</code> gives <code>{{total,
number}}</code>, <code>{total, number}</code> with ICU, not
<code>{{total, format}}</code>), and a
child wrapped in <code>satisfies</code> is read like one wrapped in
<code>as</code>. The default value is now formatted, and a key without
<code>i18nKey</code> matches the one react-i18next looks up. Such keys
change on the next <code>extract</code>, and their old entries,
which never rendered, are removed. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/363">#363</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/365">#365</a>)</li>
<li>fix(status): <code>--namespace</code> scopes the exit code and the
summary to that namespace, like the locale argument since
1.64.2. A locale that is not configured, a namespace the code does not
use and a translation file that cannot be
parsed now exit 1 instead of 0, and the &quot;Incomplete translations
detected&quot; line prints again (lost since 1.80.6).
Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/364">#364</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/366">#366</a>)</li>
<li>fix(migrate-config): an i18next-parser config's
<code>keepRemoved</code> (as <code>removeUnusedKeys: false</code>),
<code>pluralSeparator</code>
(<code>false</code> as <code>disablePlurals: true</code>),
<code>indentation</code>, key order (<code>sort: false</code> unless it
sorted) and the lexers'
functions, components and hooks (next to <code>t</code>,
<code>Trans</code> and <code>useTranslation</code>) are carried over,
and the options without
an equivalent get a warning, so the first <code>extract</code> after the
migration no longer deletes translations. Thanks
<a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/367">#367</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/368">#368</a>)</li>
<li>fix: <code>extract</code> with <code>removeUnusedKeys</code> no
longer slows down quadratically with the number of keys in the
plural-form
and <code>_zero</code> preserve passes: the extracted base keys are
looked up in a Set built once per namespace instead of being
scanned per existing key, and the written files are byte-identical
(10,000 <code>t()</code> calls: 24 s before, 0.6 s now).
Thanks <a href="https://github.com/ca057"><code>@​ca057</code></a> (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/355">#355</a>,</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3d762e02db7c78ec39a1d8fbe827943fb645fac1"><code>3d762e0</code></a>
1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/673d25ea68cc2eb69bcad86a265446a8699e9a8f"><code>673d25e</code></a>
changelog for 1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/6d4e43c0e18a9dc29e1825db1bccc7006e01d618"><code>6d4e43c</code></a>
fix(lint): don't report a root-level formatter option as unused (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/124ac45b9f4de887925708444f4543d55a472c52"><code>124ac45</code></a>
1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/d6ddf86ecfb1f168186df73c6e1a3913255e8227"><code>d6ddf86</code></a>
changelog for 1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3ed58e93763fdba157e27232edd9839c0d77acc2"><code>3ed58e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>
and <a
href="https://redirect.github.com/i18next/i18next-cli/issues/374">#374</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/29a53f9af1ae03d83cb61566f6294a11918321cb"><code>29a53f9</code></a>
fix(lint): check the default value, else the key, for an empty primary
value ...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/8f9dfd310c1742da531ed0368c23d462c9f06916"><code>8f9dfd3</code></a>
fix(lint): don't require a nested $t() key's variables of the outer call
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/86960e915fdbce11d750603d5c089c0caa631872"><code>86960e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/371">#371</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/0fb6381599f5864b1863dc48fd87066b015091ff"><code>0fb6381</code></a>
feat(lint): accept glob patterns in lint.acceptedAttributes and
lint.ignoredA...</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next-cli/compare/v1.95.7...v1.96.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-cli&package-manager=npm_and_yarn&previous-version=1.95.7&new-version=1.96.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-04 13:55:01 +00:00
2019-08-03 12:08:54 -04:00
2016-12-03 17:03:39 +01:00
2025-01-21 09:54:19 +01:00
2018-10-20 18:35:35 +02:00
2023-12-20 07:18:13 +02:00
2025-02-25 05:01:15 -05:00
2025-02-25 05:01:15 -05:00
2026-07-12 15:46:30 +03:00

Maputnik logo

Maputnik

GitHub CI status License

A free and open visual editor for the MapLibre GL styles targeted at developers and map designers.

Usage

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main

To see the CLI options (for example file watching or style serving) run:

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main --help

You might need to mount a volume (-v) to be able to use these options.

Documentation

The documentation can be found in the Wiki. You are welcome to collaborate!

Design Map from Scratch

Develop

Maputnik is written in typescript and is using React and MapLibre GL JS.

We ensure building and developing Maputnik works with the current active LTS Node.js version and above.

Check out our Internationalization guide for UI text related changes.

Getting Involved

Join the #maplibre or #maputnik slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/ Read the the below guide in order to get familiar with how we do things around here.

Install the deps, start the dev server and open the web browser on http://localhost:8888/.

# install dependencies
npm install
# start dev server
npm run start

If you want Maputnik to be accessible externally use the --host option:

# start externally accessible dev server
npm run start -- --host 0.0.0.0

The build process will watch for changes to the filesystem, rebuild and autoreload the editor.

npm run build

Lint the JavaScript code.

# run linter
npm run lint
npm run lint-css
npm run sort-styles

Tests

End-to-end tests

For E2E testing we use Playwright. The tests live in the e2e directory and drive the app through the MaputnikDriver page object.

The first time you run the tests, install the browser:

npx playwright install chromium

Playwright automatically starts the dev server (npm run start) for you, so you can just run:

npm run test

Some useful options:

# see the tests run in a headed browser
npm run test -- --headed

# run a single spec / filter by title
npm run test -- e2e/map.spec.ts
npm run test -- -g "zoom level"

# open the interactive UI mode
npx playwright test --ui

Running the E2E tests also produces a code-coverage report in coverage/ (collected via istanbul instrumentation of the dev server).

Unit & component tests

Unit tests and component tests run with Vitest; component tests (*.browser.test.tsx) use Vitest's browser mode with the Playwright provider.

npm run test-unit

Release process

  1. Review CHANGELOG.md
    • Double-check that all changes included in the release are appropriately documented.
    • To-be-released changes should be under the "main" header.
    • Commit any final changes to the changelog.
  2. Run Create bump version PR by manual workflow dispatch and set the version number in the input. This will create a PR that changes the changelog and package.json file to review and merge.
  3. Once merged, an automatic process will kick in and creates a GitHub release and uploads release assets.

Sponsors

Thanks to the supporters of the Kickstarter campaign. This project would not be possible without these commercial and individual sponsors. You can see this file's history for previous sponsors of the original Maputnik repo. Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.

License

Maputnik is licensed under MIT and is Copyright (c) Lukas Martinelli and Maplibre contributors. As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by other map studios and make your own decisions for a good style editor.

S
Description
An open source visual editor for the 'Mapbox Style Specification'
Readme
382 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 88.5%
SCSS 9.3%
CSS 1.2%
HTML 0.9%
Dockerfile 0.1%