dependabot[bot] 327f4046dd chore(deps-dev): Bump i18next-cli from 1.85.1 to 1.87.0 (#2312)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.85.1
to 1.87.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.87.0</h2>
<ul>
<li>chore: depends on i18next 27 and react-i18next 18
(<code>^27.0.0</code>, <code>^18.0.0</code>). The cli loads
react-i18next
only to build <code>&lt;Trans&gt;</code> keys with its
<code>nodesToString</code>, whose output is the same in 18, so extracted
keys do not change. Projects on i18next 26 or react-i18next 17 keep
working: npm installs the cli's
own copies next to theirs.</li>
<li>fix(instrument): the generated i18next init file for
i18next-fs-backend sets <code>initAsync: false</code>
instead of <code>initImmediate: false</code>, an option i18next 26
removed, so it was ignored.</li>
<li>fix(instrument): the comment on <code>returnEmptyString:
false</code> in the generated init file said the
opposite of what the option does. It now says that an empty translation
falls back, which is the
default since i18next 27.</li>
</ul>
<h2>1.86.0</h2>
<ul>
<li>feat: new <code>extract.omitMissingKeys</code> (<code>true</code> or
a list of languages): <code>extract</code> and <code>sync</code> leave
keys
that are missing in those secondary languages out of their files instead
of writing <code>defaultValue</code>
(<code>&quot;&quot;</code>), so i18next falls back to
<code>fallbackLng</code> at runtime, also where <code>returnEmptyString:
false</code>
can't be set or translators treat an empty string as done. Existing
translations stay, unused keys
are still removed, and <code>status</code> still counts the omitted keys
as missing.
(<a
href="https://redirect.github.com/i18next/i18next-cli/pull/328">#328</a>,
thanks <a
href="https://github.com/BenjaminVanRyseghem"><code>@​BenjaminVanRyseghem</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-cli/commit/f843f59a2388103f9f2374d4f60b4e71f08f8998"><code>f843f59</code></a>
1.87.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/9045c20ae63a0e1dc78bc9a1df11675111803608"><code>9045c20</code></a>
docs: changelog for 1.87.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/44c69e48a845659c4f8710c23d1657cdf74231ec"><code>44c69e4</code></a>
chore: depend on i18next 27 and react-i18next 18</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/881547dd2f383dffc05519c069f6ca0f171fd4ba"><code>881547d</code></a>
fix(instrument): the generated init file uses initAsync and describes
returnE...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/fcb5a93980cfae56def1e0ba3fe5dd036afeb953"><code>fcb5a93</code></a>
test: give the git-based sync --changed-only tests 30s</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/d025e00115562c1655922d7dfe211fde36dac4f2"><code>d025e00</code></a>
1.86.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/a41bf8589a104cf16a53e7231f5c1cffc0115f97"><code>a41bf85</code></a>
docs: changelog for 1.86.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/bd32bb37267fd51eaa82a5d58e7b2606a3423094"><code>bd32bb3</code></a>
feat(sync): leave missing keys out for omitMissingKeys languages</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/88a105c4f78ee7692e6360551d90b2b7da127412"><code>88a105c</code></a>
feat(extract): add omitMissingKeys option for per-language fallback (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/328">#328</a>)</li>
<li>See full diff in <a
href="https://github.com/i18next/i18next-cli/compare/v1.85.1...v1.87.0">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.85.1&new-version=1.87.0)](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-11-10 13:55:48 +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
2026-07-12 15:46:30 +03: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
324 MiB
Languages
JavaScript 88.5%
SCSS 9.3%
CSS 1.2%
HTML 0.9%
Dockerfile 0.1%