Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.11 to 6.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/releases">vite's releases</a>.</em></p> <blockquote> <h2>create-vite@6.1.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/create-vite@6.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.1.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.1.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.1.0-beta.2</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.1.0-beta.2/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.1.0-beta.1</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.1.0-beta.1/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> <h2>v6.1.0-beta.0</h2> <p>Please refer to <a href="https://github.com/vitejs/vite/blob/v6.1.0-beta.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's changelog</a>.</em></p> <blockquote> <h2>6.1.0 (2025-02-05)</h2> <h3>Features</h3> <ul> <li>feat: show hosts in cert in CLI (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19317">#19317</a>) (<a href="a5e306f2fc">a5e306f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19317">#19317</a></li> <li>feat: support for env var for defining allowed hosts (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19325">#19325</a>) (<a href="4d88f6c939">4d88f6c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19325">#19325</a></li> <li>feat: use native runtime to import the config (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19178">#19178</a>) (<a href="7c2a7942cc">7c2a794</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19178">#19178</a></li> <li>feat: print <code>port</code> in the logged error message after failed WS connection with <code>EADDRINUSE</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19212">#19212</a>) (<a href="14027b0f2a">14027b0</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19212">#19212</a></li> <li>perf(css): only run postcss when needed (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19061">#19061</a>) (<a href="30194fa1e4">30194fa</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19061">#19061</a></li> <li>feat: add support for <code>.jxl</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18855">#18855</a>) (<a href="57b397c4aa">57b397c</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18855">#18855</a></li> <li>feat: add the <code>builtins</code> environment <code>resolve</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18584">#18584</a>) (<a href="2c2d521abf">2c2d521</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18584">#18584</a></li> <li>feat: call Logger for plugin logs in build (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13757">#13757</a>) (<a href="bf3e410829">bf3e410</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/13757">#13757</a></li> <li>feat: export <code>defaultAllowedOrigins</code> for user-land config and 3rd party plugins (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19259">#19259</a>) (<a href="dc8946b9f6">dc8946b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19259">#19259</a></li> <li>feat: expose createServerModuleRunnerTransport (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18730">#18730</a>) (<a href="8c24ee4b4f">8c24ee4</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18730">#18730</a></li> <li>feat: support async for proxy.bypass (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18940">#18940</a>) (<a href="a6b958741b">a6b9587</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18940">#18940</a></li> <li>feat: support log related functions in dev (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18922">#18922</a>) (<a href="3766004289">3766004</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18922">#18922</a></li> <li>feat: use module runner to import the config (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18637">#18637</a>) (<a href="b7e0e42098">b7e0e42</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18637">#18637</a></li> <li>feat(css): add friendly errors for IE hacks that are not supported by lightningcss (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19072">#19072</a>) (<a href="caad985abc">caad985</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19072">#19072</a></li> <li>feat(optimizer): support bun text lockfile (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18403">#18403</a>) (<a href="05b005fc25">05b005f</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18403">#18403</a></li> <li>feat(reporter): add <code>wasm</code> to the compressible assets regex (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19085">#19085</a>) (<a href="ce84142110">ce84142</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19085">#19085</a></li> <li>feat(worker): support dynamic worker option fields (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19010">#19010</a>) (<a href="d0c35232c6">d0c3523</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19010">#19010</a></li> </ul> <h3>Fixes</h3> <ul> <li>fix: avoid builtStart during vite optimize (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19356">#19356</a>) (<a href="fdb36e0769">fdb36e0</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19356">#19356</a></li> <li>fix(build): fix stale build manifest on watch rebuild (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19361">#19361</a>) (<a href="fcd578587b">fcd5785</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19361">#19361</a></li> <li>fix: allow expanding env vars in reverse order (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19352">#19352</a>) (<a href="3f5f2bddf1">3f5f2bd</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19352">#19352</a></li> <li>fix: avoid packageJson without name in <code>resolveLibCssFilename</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19324">#19324</a>) (<a href="f183bdf2a7">f183bdf</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19324">#19324</a></li> <li>fix(html): fix css disorder when building multiple entry html (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19143">#19143</a>) (<a href="e7b4ba37f9">e7b4ba3</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19143">#19143</a></li> <li>fix: don't call buildStart hooks for <code>vite optimize</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19347">#19347</a>) (<a href="19ffad0a5a">19ffad0</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19347">#19347</a></li> <li>fix: don't call next middleware if user sent response in proxy.bypass (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19318">#19318</a>) (<a href="7e6364de2b">7e6364d</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19318">#19318</a></li> <li>fix: respect top-level <code>server.preTransformRequests</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19272">#19272</a>) (<a href="12aaa585bc">12aaa58</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19272">#19272</a></li> <li>fix: use <code>nodeLikeBuiltins</code> for <code>ssr.target: 'webworker'</code> without <code>noExternal: true</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19313">#19313</a>) (<a href="9fc31b6e4d">9fc31b6</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19313">#19313</a></li> <li>fix(css): less <code>@plugin</code> imports of JS files treated as CSS and rebased (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19268">#19268</a>) (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19269">#19269</a>) (<a href="602b373dcd">602b373</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19268">#19268</a> <a href="https://redirect.github.com/vitejs/vite/issues/19269">#19269</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19296">#19296</a>) (<a href="2bea7cec4b">2bea7ce</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19296">#19296</a></li> <li>fix(resolve): preserve hash/search of file url (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19300">#19300</a>) (<a href="d1e1b24c57">d1e1b24</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19300">#19300</a></li> <li>fix(resolve): warn if node-like builtin was imported when <code>resolve.builtin</code> is empty (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19312">#19312</a>) (<a href="b7aba0bc92">b7aba0b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19312">#19312</a></li> <li>fix(ssr): fix transform error due to export all id scope (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19331">#19331</a>) (<a href="e28bce2449">e28bce2</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19331">#19331</a></li> <li>fix(ssr): pretty print plugin error in <code>ssrLoadModule</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19290">#19290</a>) (<a href="353c467610">353c467</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19290">#19290</a></li> <li>fix: change ResolvedConfig type to interface to allow extending it (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19210">#19210</a>) (<a href="bc851e31d8">bc851e3</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19210">#19210</a></li> <li>fix: correctly resolve hmr dep ids and fallback to url (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18840">#18840</a>) (<a href="b84498b6de">b84498b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18840">#18840</a></li> <li>fix: make <code>--force</code> work for all environments (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18901">#18901</a>) (<a href="51a42c6b6a">51a42c6</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18901">#18901</a></li> <li>fix: use loc.file from rollup errors if available (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19222">#19222</a>) (<a href="ce3fe236de">ce3fe23</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19222">#19222</a></li> <li>fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19190">#19190</a>) (<a href="f2c07dbfc8">f2c07db</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19190">#19190</a></li> <li>fix(hmr): register inlined assets as a dependency of CSS file (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18979">#18979</a>) (<a href="eb22a74d29">eb22a74</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18979">#18979</a></li> <li>fix(resolve): support resolving TS files by JS extension specifiers in JS files (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18889">#18889</a>) (<a href="612332b9bb">612332b</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/18889">#18889</a></li> <li>fix(ssr): combine empty source mappings (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19226">#19226</a>) (<a href="ba03da2a8c">ba03da2</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19226">#19226</a></li> <li>fix(utils): clone <code>RegExp</code> values with <code>new RegExp</code> instead of <code>structuredClone</code> (fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19245">#19245</a>, fix <a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1">#1</a> (<a href="56ad2bef03">56ad2be</a>), closes <a href="https://redirect.github.com/vitejs/vite/issues/19245">#19245</a> <a href="https://redirect.github.com/vitejs/vite/issues/18875">#18875</a> <a href="https://redirect.github.com/vitejs/vite/issues/19247">#19247</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="3734f8099e"><code>3734f80</code></a> fix(css): escape double quotes in <code>url()</code> when lightningcss is used (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18997">#18997</a>)</li> <li><a href="2b4f115129"><code>2b4f115</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18996">#18996</a>)</li> <li><a href="12b612d8be"><code>12b612d</code></a> fix: fallback terser to main thread when function options are used (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18987">#18987</a>)</li> <li><a href="d88d0004a8"><code>d88d000</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18967">#18967</a>)</li> <li><a href="21680bdf9c"><code>21680bd</code></a> fix(css): skip non css in custom sass importer (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18970">#18970</a>)</li> <li><a href="62fad6d79f"><code>62fad6d</code></a> chore(deps): update dependency <code>@rollup/plugin-node-resolve</code> to v16 (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18968">#18968</a>)</li> <li><a href="8a6bb4e11d"><code>8a6bb4e</code></a> fix(optimizer): keep NODE_ENV as-is when keepProcessEnv is <code>true</code> (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18899">#18899</a>)</li> <li><a href="7d6dd5d1d6"><code>7d6dd5d</code></a> fix(ssr): recreate ssrCompatModuleRunner on restart (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18973">#18973</a>)</li> <li><a href="c4b532cc90"><code>c4b532c</code></a> fix(css): root relative import in sass modern API on Windows (<a href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18945">#18945</a>)</li> <li><a href="27f691b0c7"><code>27f691b</code></a> refactor: make internal invoke event to use the same interface with `handleIn...</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite/commits/create-vite@6.1.0/packages/vite">compare view</a></li> </ul> </details> <br /> [](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 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 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>
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:80 ghcr.io/maplibre/maputnik:main
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 starts 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.
