chore: update dependencies to latest version (#2299)

See title.
Removed the deprecated RTL text plugin.

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
Harel M
2026-11-03 15:46:16 +00:00
committed by GitHub
parent 7605a4cfaa
commit 997f3445b5
4 changed files with 1182 additions and 2149 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
### ✨ Features and improvements
- Replace Cypress with Playwright for end-to-end tests and Vitest browser mode (Playwright provider) for component tests; drop the `@shellygo/cypress-test-utils` helper in favour of a `MaputnikDriver` page object
- Upgrade to MapLibre GL JS 6 and Vite 8, and update the remaining dependencies
- Serve the RTL text plugin from `@mapbox/mapbox-gl-rtl-text` instead of a pinned CDN URL, so its version is tracked in `package.json`
- Remove the RTL text plugin, since MapLibre GL JS now renders right-to-left text natively
- Exported HTML now loads MapLibre GL JS as an ES module, since v6 no longer ships a UMD bundle
- Add `font-faces`, `sky`, `roll` and `centerAltitude` to the style settings modal
- The sidebar can now be resized, both as a whole and in the split between the layer list and the layer editor
+1165 -2129
View File
File diff suppressed because it is too large Load Diff
+15 -17
View File
@@ -5,11 +5,10 @@
"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",
"start": "vite",
"build": "tsc && vite build --mode=production",
"build-desktop": "tsc && vite build --mode=desktop && cd desktop && make",
"build-linux": "tsc && vite build --mode=desktop && cd desktop && make bin/linux/maputnik",
"i18n:extract": "npx i18next-cli extract",
"lint": "eslint",
"test": "playwright test",
@@ -35,7 +34,6 @@
"@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.5.1",
@@ -48,9 +46,9 @@
"downshift": "^9.4.0",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^26.5.12",
"i18next-browser-languagedetector": "^8.2.4",
"i18next-resources-to-backend": "^1.2.3",
"i18next": "^26.7.1",
"i18next-browser-languagedetector": "^8.3.0",
"i18next-resources-to-backend": "^1.2.4",
"json-stringify-pretty-compact": "^4.0.0",
"json-to-ast": "^2.1.0",
"lodash": "^4.18.1",
@@ -63,7 +61,7 @@
"maplibre-gl": "^6.16.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.11.0",
"ol-mapbox-style": "^13.8.0",
"ol-mapbox-style": "^13.9.0",
"pmtiles": "^4.5.0",
"prop-types": "^15.8.1",
"react": "^19.3.1",
@@ -73,10 +71,10 @@
"react-collapse": "^5.1.1",
"react-color": "^2.19.3",
"react-dom": "^19.3.1",
"react-i18next": "^17.1.9",
"react-i18next": "^17.1.12",
"react-icons": "^5.7.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.15.3",
"react-resizable-panels": "^4.17.0",
"reconnecting-websocket": "^4.4.0",
"slugify": "^1.6.9",
"string-hash": "^1.1.3",
@@ -125,21 +123,21 @@
"@types/react-dom": "^19.3.0",
"@types/string-hash": "^1.1.3",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/coverage-v8": "^5.0.5",
"@vitejs/plugin-react": "^6.2.1",
"@vitest/coverage-v8": "^5.1.0",
"cors": "^2.8.6",
"eslint": "^10.14.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.80.7",
"i18next-cli": "^1.82.4",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",
"postcss": "^8.5.32",
"react-hot-loader": "^4.13.1",
"sass": "^1.107.1",
"stylelint": "^17.16.0",
"stylelint": "^18.0.0",
"stylelint-config-recommended-scss": "^17.0.1",
"stylelint-scss": "^7.4.0",
"typescript": "^6.0.3",
@@ -147,6 +145,6 @@
"uuid": "^14.0.3",
"vite": "^8.3.5",
"vite-plugin-istanbul": "^9.0.1",
"vitest": "^5.0.5"
"vitest": "^5.1.0"
}
}
+1 -2
View File
@@ -1,5 +1,4 @@
import { setRTLTextPlugin, setWorkerUrl } from "maplibre-gl";
import { setWorkerUrl } from "maplibre-gl";
import workerUrl from "maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url";
setWorkerUrl(workerUrl);
setRTLTextPlugin(`${import.meta.env.BASE_URL}mapbox-gl-rtl-text.js`, false);