Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@vitest/coverage-v8` from 4.0.9 to 4.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases"><code>@vitest/coverage-v8</code>'s releases</a>.</em></p> <blockquote> <h2>v4.0.10</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Remove <code>onCancel</code> when worker is terminated - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9033">vitest-dev/vitest#9033</a> <a href="https://github.com/vitest-dev/vitest/commit/6d7f0a99e"><!-- raw HTML omitted -->(6d7f0)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Don't scale the iframe if UI is disabled - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9018">vitest-dev/vitest#9018</a> <a href="https://github.com/vitest-dev/vitest/commit/5406e8ea4"><!-- raw HTML omitted -->(5406e)<!-- raw HTML omitted --></a></li> <li>Handle dependency stack traces with external source maps. Resolves: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8/issues/9003">#9003</a> - by <a href="https://github.com/iclectic"><code>@iclectic</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9016">vitest-dev/vitest#9016</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9003">vitest-dev/vitest#9003</a> <a href="https://github.com/vitest-dev/vitest/commit/57ae547de"><!-- raw HTML omitted -->(57ae5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>bun</strong>: <ul> <li>Parsing of stack trace for bun runtime - by <a href="https://github.com/nazarhussain"><code>@nazarhussain</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9032">vitest-dev/vitest#9032</a> <a href="https://github.com/vitest-dev/vitest/commit/f3ec6fcb0"><!-- raw HTML omitted -->(f3ec6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>core</strong>: <ul> <li>Prevent starting new run when cancelling - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8991">vitest-dev/vitest#8991</a> <a href="https://github.com/vitest-dev/vitest/commit/eb98dd8fd"><!-- raw HTML omitted -->(eb98d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>pool</strong>: <ul> <li>Prevent writing to closed worker - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> and <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9023">vitest-dev/vitest#9023</a> <a href="https://github.com/vitest-dev/vitest/commit/042c60c80"><!-- raw HTML omitted -->(042c6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>reporters</strong>: <ul> <li>Report correct test run duration at the end - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8969">vitest-dev/vitest#8969</a> <a href="https://github.com/vitest-dev/vitest/commit/bc3a6921e"><!-- raw HTML omitted -->(bc3a6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Use execution time from ws reporter (<code>onFinished</code>) - by <a href="https://github.com/userquin"><code>@userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8975">vitest-dev/vitest#8975</a> <a href="https://github.com/vitest-dev/vitest/commit/f56dc0cc4"><!-- raw HTML omitted -->(f56dc)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v4.0.9...v4.0.10">View changes on GitHub</a></h5> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="259a3d1b56"><code>259a3d1</code></a> chore: release v4.0.10</li> <li>See full diff in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.10/packages/coverage-v8">compare view</a></li> </ul> </details> <br /> Updates `vitest` from 4.0.9 to 4.0.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> <blockquote> <h2>v4.0.10</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Remove <code>onCancel</code> when worker is terminated - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9033">vitest-dev/vitest#9033</a> <a href="https://github.com/vitest-dev/vitest/commit/6d7f0a99e"><!-- raw HTML omitted -->(6d7f0)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Don't scale the iframe if UI is disabled - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9018">vitest-dev/vitest#9018</a> <a href="https://github.com/vitest-dev/vitest/commit/5406e8ea4"><!-- raw HTML omitted -->(5406e)<!-- raw HTML omitted --></a></li> <li>Handle dependency stack traces with external source maps. Resolves: <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9003">#9003</a> - by <a href="https://github.com/iclectic"><code>@iclectic</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9016">vitest-dev/vitest#9016</a> and <a href="https://redirect.github.com/vitest-dev/vitest/issues/9003">vitest-dev/vitest#9003</a> <a href="https://github.com/vitest-dev/vitest/commit/57ae547de"><!-- raw HTML omitted -->(57ae5)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>bun</strong>: <ul> <li>Parsing of stack trace for bun runtime - by <a href="https://github.com/nazarhussain"><code>@nazarhussain</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9032">vitest-dev/vitest#9032</a> <a href="https://github.com/vitest-dev/vitest/commit/f3ec6fcb0"><!-- raw HTML omitted -->(f3ec6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>core</strong>: <ul> <li>Prevent starting new run when cancelling - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8991">vitest-dev/vitest#8991</a> <a href="https://github.com/vitest-dev/vitest/commit/eb98dd8fd"><!-- raw HTML omitted -->(eb98d)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>pool</strong>: <ul> <li>Prevent writing to closed worker - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> and <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/9023">vitest-dev/vitest#9023</a> <a href="https://github.com/vitest-dev/vitest/commit/042c60c80"><!-- raw HTML omitted -->(042c6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>reporters</strong>: <ul> <li>Report correct test run duration at the end - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8969">vitest-dev/vitest#8969</a> <a href="https://github.com/vitest-dev/vitest/commit/bc3a6921e"><!-- raw HTML omitted -->(bc3a6)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>ui</strong>: <ul> <li>Use execution time from ws reporter (<code>onFinished</code>) - by <a href="https://github.com/userquin"><code>@userquin</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8975">vitest-dev/vitest#8975</a> <a href="https://github.com/vitest-dev/vitest/commit/f56dc0cc4"><!-- raw HTML omitted -->(f56dc)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v4.0.9...v4.0.10">View changes on GitHub</a></h5> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="259a3d1b56"><code>259a3d1</code></a> chore: release v4.0.10</li> <li><a href="bc3a6921e2"><code>bc3a692</code></a> fix(reporters): report correct test run duration at the end (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8969">#8969</a>)</li> <li><a href="f3ec6fcb0a"><code>f3ec6fc</code></a> fix(bun): parsing of stack trace for bun runtime (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9032">#9032</a>)</li> <li><a href="042c60c80a"><code>042c60c</code></a> fix(pool): prevent writing to closed worker (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9023">#9023</a>)</li> <li><a href="80f2bb6d89"><code>80f2bb6</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9037">#9037</a>)</li> <li><a href="eb98dd8fd2"><code>eb98dd8</code></a> fix(core): prevent starting new run when cancelling (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8991">#8991</a>)</li> <li><a href="f509d2ab9f"><code>f509d2a</code></a> chore(deps): update dependency <code>@types/node</code> to v24 (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/9038">#9038</a>)</li> <li><a href="44dca5fb43"><code>44dca5f</code></a> chore: print a better error when browser orchestrator fails to run a test (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8">#8</a>...</li> <li><a href="f56dc0cc4c"><code>f56dc0c</code></a> fix(ui): use execution time from ws reporter (<code>onFinished</code>) (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8975">#8975</a>)</li> <li><a href="7c9edffb05"><code>7c9edff</code></a> refactor(forks): simplify IPC channel serialization (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8999">#8999</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.10/packages/vitest">compare view</a></li> </ul> </details> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Maputnik
A free and open visual editor for the MapLibre GL styles targeted at developers and map designers.
Usage
- 🔗 Design your maps online at https://www.maplibre.org/maputnik/ (all in local storage)
- 🔗 Use the Maputnik CLI for local style development
- In a Docker, run this command and browse to http://localhost:8888, Ctrl+C to stop the server.
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!
- 🔗 Study the Maputnik Wiki
- 📹 Design a map from Scratch https://youtu.be/XoDh0gEnBQo
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
For E2E testing we use Cypress
Cypress doesn't start a server so you'll need to start one manually by running npm run start.
Now open a terminal and run the following using chrome:
npm run test
or firefox:
npm run test -- --browser firefox
See the following docs for more info: (Launching Browsers)[https://docs.cypress.io/guides/guides/launching-browsers]
You can also see the tests as they run or select which suites to run by executing:
npm run cy:open
Release process
- 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.
- 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.jsonfile to review and merge. - 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.
