mirror of
https://github.com/maputnik/editor.git
synced 2026-09-02 10:27:25 +00:00
0c2b0380b4
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 6.5.0 to 6.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/releases">maplibre-gl's releases</a>.</em></p> <blockquote> <h2>v6.6.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Add support for <code>symbol-height-offset</code> and <code>symbol-height-anchor</code> layout properties, which raise icons and text above the map. <code>symbol-height-anchor</code> selects whether the offset is measured from the terrain surface (<code>ground</code>, the default) or from the zero elevation datum (<code>absolute</code>) (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7827">#7827</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Pick terrain coordinates with a CPU raycast against the DEM instead of a coords framebuffer readback: full DEM resolution, no GPU stall on pointer events, and about 4MB less GPU memory (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7640">#7640</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix labels briefly appearing too large when zooming out several levels at once (e.g. a scroll-wheel or pinch fling) with a zoom-dependent <code>text-size</code>/<code>icon-size</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8175">#8175</a>) (by <a href="https://github.com/mondsichtung"><code>@mondsichtung</code></a>)</li> <li>Fix globe tile selection measuring distances from the ground point below the camera instead of the camera itself, refining some views past the requested zoom and leaving others coarser (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8187">#8187</a>) (by <a href="https://github.com/Alchez"><code>@Alchez</code></a>)</li> <li>Fix the style's <code>center</code>, <code>zoom</code>, <code>bearing</code>, <code>pitch</code> and <code>roll</code> being ignored when the map was created with a <code>minZoom</code> or <code>minPitch</code> option, since applying those limits marked the transform as modified (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5932">#5932</a>)</li> <li>Upload the <code>color-relief</code> DEM texture once per tile instead of on every frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8209">#8209</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md">maplibre-gl's changelog</a>.</em></p> <blockquote> <h2>6.6.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Add support for <code>symbol-height-offset</code> and <code>symbol-height-anchor</code> layout properties, which raise icons and text above the map. <code>symbol-height-anchor</code> selects whether the offset is measured from the terrain surface (<code>ground</code>, the default) or from the zero elevation datum (<code>absolute</code>) (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7827">#7827</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Pick terrain coordinates with a CPU raycast against the DEM instead of a coords framebuffer readback: full DEM resolution, no GPU stall on pointer events, and about 4MB less GPU memory (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7640">#7640</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix labels briefly appearing too large when zooming out several levels at once (e.g. a scroll-wheel or pinch fling) with a zoom-dependent <code>text-size</code>/<code>icon-size</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8175">#8175</a>) (by <a href="https://github.com/mondsichtung"><code>@mondsichtung</code></a>)</li> <li>Fix globe tile selection measuring distances from the ground point below the camera instead of the camera itself, refining some views past the requested zoom and leaving others coarser (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8187">#8187</a>) (by <a href="https://github.com/Alchez"><code>@Alchez</code></a>)</li> <li>Fix the style's <code>center</code>, <code>zoom</code>, <code>bearing</code>, <code>pitch</code> and <code>roll</code> being ignored when the map was created with a <code>minZoom</code> or <code>minPitch</code> option, since applying those limits marked the transform as modified (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5932">#5932</a>)</li> <li>Upload the <code>color-relief</code> DEM texture once per tile instead of on every frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8209">#8209</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/407a8ce9e379c16066b13c3a6729e404b69743c6"><code>407a8ce</code></a> Bump js version to 6.6.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8226">#8226</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/7446d5a35bbed0f735d2fff876314b40ef3ced85"><code>7446d5a</code></a> feat: add support for symbol elevation (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7827">#7827</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/038265c88825096d241c77489123085fa24718e8"><code>038265c</code></a> chore(deps-dev): bump rolldown from 1.2.4 to 1.2.5 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8221">#8221</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/ff9ec8e8e1e5af149ef09ec4f2289515ba2f4b1b"><code>ff9ec8e</code></a> chore(deps): bump the codeql-action group with 3 updates (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8224">#8224</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/84bb7582dd73b7cd8ba5fbc884e74ff990bc5f10"><code>84bb758</code></a> chore(deps-dev): bump devtools-protocol from 0.0.1681094 to 0.0.1683682 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8223">#8223</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/c00194d2b8d076f375fa9d755373053e2ae9db4a"><code>c00194d</code></a> chore(deps-dev): bump vite from 8.2.1 to 8.2.2 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8220">#8220</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/335df7eed808c44004bbef0f34f6840a1239600d"><code>335df7e</code></a> chore(deps-dev): bump the vitest group with 3 updates (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8219">#8219</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/3a2dc761839d2fda1cd0f533fa477757826a8c97"><code>3a2dc76</code></a> chore(deps-dev): bump cssnano from 8.0.6 to 8.0.7 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8222">#8222</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/87ac8eaee8a61d1dcbea6084ad73bd4ca80c6382"><code>87ac8ea</code></a> chore(deps): bump zensical/zensical from 0.0.55 to 0.0.56 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8218">#8218</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/d0f1d66777b7b616503f967718a1f1db7360408c"><code>d0f1d66</code></a> bug: ReferenceError: assignment to undeclared variable image (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8216">#8216</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v6.5.0...v6.6.0">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 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>
152 lines
5.0 KiB
JSON
152 lines
5.0 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "3.1.0",
|
|
"description": "A MapLibre GL visual style editor",
|
|
"type": "module",
|
|
"main": "''",
|
|
"scripts": {
|
|
"copy-rtl-text-plugin": "mkdir -p public && cp -p node_modules/@mapbox/mapbox-gl-rtl-text/dist/mapbox-gl-rtl-text.js public/",
|
|
"start": "npm run copy-rtl-text-plugin && vite",
|
|
"build": "npm run copy-rtl-text-plugin && tsc && vite build --mode=production",
|
|
"build-desktop": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make",
|
|
"build-linux": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make bin/linux/maputnik",
|
|
"i18n:extract": "npx i18next-cli extract",
|
|
"lint": "eslint",
|
|
"test": "playwright test",
|
|
"test-e2e": "playwright test",
|
|
"test-unit": "vitest",
|
|
"test-unit-ci": "vitest run --coverage --reporter=json",
|
|
"lint-css": "stylelint \"src/styles/*.scss\"",
|
|
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/maplibre/maputnik"
|
|
},
|
|
"author": "Lukas Martinelli",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/maplibre/maputnik#readme",
|
|
"dependencies": {
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lint": "^6.9.7",
|
|
"@codemirror/state": "^6.7.1",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.9",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
|
|
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
|
|
"@maplibre/maplibre-gl-inspect": "^1.9.0",
|
|
"@maplibre/maplibre-gl-style-spec": "^26.4.1",
|
|
"array-move": "^4.0.0",
|
|
"buffer": "^6.0.3",
|
|
"classnames": "^2.5.1",
|
|
"codemirror": "^6.0.2",
|
|
"color": "^5.0.3",
|
|
"detect-browser": "^5.3.0",
|
|
"downshift": "^9.4.0",
|
|
"events": "^3.3.0",
|
|
"file-saver": "^2.0.5",
|
|
"i18next": "^26.4.0",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"i18next-resources-to-backend": "^1.2.3",
|
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
"json-to-ast": "^2.1.0",
|
|
"lodash": "^4.18.1",
|
|
"lodash.capitalize": "^4.2.1",
|
|
"lodash.clamp": "^4.0.3",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"maplibre-gl": "^6.6.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^10.10.0",
|
|
"ol-mapbox-style": "^13.4.2",
|
|
"pmtiles": "^4.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.2.8",
|
|
"react-accessible-accordion": "^5.0.1",
|
|
"react-aria-menubutton": "^8.0.0",
|
|
"react-aria-modal": "^5.0.2",
|
|
"react-collapse": "^5.1.1",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^19.2.8",
|
|
"react-i18next": "^17.0.12",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"slugify": "^1.6.9",
|
|
"string-hash": "^1.1.3",
|
|
"url": "^0.11.4"
|
|
},
|
|
"jshintConfig": {
|
|
"esversion": 6
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"media-feature-name-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreMediaFeatureNames": [
|
|
"prefers-reduced-motion"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@playwright/test": "^1.62.1",
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@types/codemirror": "^5.60.18",
|
|
"@types/color": "^4.2.1",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/json-to-ast": "^2.1.4",
|
|
"@types/lodash.capitalize": "^4.2.9",
|
|
"@types/lodash.clamp": "^4.0.9",
|
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
"@types/lodash.get": "^4.4.9",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@types/lodash.throttle": "^4.1.9",
|
|
"@types/randomcolor": "^0.5.9",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-aria-menubutton": "^6.2.14",
|
|
"@types/react-aria-modal": "^5.0.0",
|
|
"@types/react-collapse": "^5.0.4",
|
|
"@types/react-color": "^3.0.13",
|
|
"@types/react-dom": "^19.2.5",
|
|
"@types/string-hash": "^1.1.3",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@vitejs/plugin-react": "^6.1.0",
|
|
"@vitest/coverage-v8": "^4.1.11",
|
|
"cors": "^2.8.6",
|
|
"eslint": "^10.9.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.4",
|
|
"i18next-cli": "^1.71.0",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.2",
|
|
"nyc": "^18.0.0",
|
|
"postcss": "^8.5.26",
|
|
"react-hot-loader": "^4.13.1",
|
|
"sass": "^1.103.1",
|
|
"stylelint": "^17.14.1",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.2.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.67.0",
|
|
"uuid": "^14.0.2",
|
|
"vite": "^8.2.2",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|