Update dependencies, fix tranlations, remove deprecated tools. (#1683)

It migrates to next gen translation extraction tool and updates other
libraries with their relevant changes.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Harel M
2026-03-03 14:14:39 +02:00
committed by GitHub
parent f5baa89276
commit cb9b7beb32
15 changed files with 3141 additions and 3496 deletions

View File

@@ -9,7 +9,7 @@
"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:refresh": "i18next 'src/**/*.{ts,tsx,js,jsx}'",
"i18n:extract": "npx i18next-cli extract",
"lint": "eslint",
"test": "cypress run",
"test-unit": "vitest",
@@ -27,17 +27,17 @@
"homepage": "https://github.com/maplibre/maputnik#readme",
"dependencies": {
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lint": "^6.9.4",
"@codemirror/lint": "^6.9.5",
"@codemirror/state": "^6.5.4",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.39.15",
"@codemirror/view": "^6.39.16",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@mapbox/mapbox-gl-rtl-text": "^0.3.0",
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
"@maplibre/maplibre-gl-inspect": "^1.8.2",
"@maplibre/maplibre-gl-style-spec": "^24.3.1",
"@maplibre/maplibre-gl-style-spec": "^24.6.0",
"array-move": "^4.0.0",
"buffer": "^6.0.3",
"classnames": "^2.5.1",
@@ -48,7 +48,7 @@
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^25.8.13",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-browser-languagedetector": "^8.2.1",
"i18next-resources-to-backend": "^1.2.1",
"json-stringify-pretty-compact": "^4.0.0",
"json-to-ast": "^2.1.0",
@@ -59,19 +59,19 @@
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^5.14.0",
"maplibre-gl": "^5.19.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.7.0",
"ol-mapbox-style": "^13.2.0",
"pmtiles": "^4.3.2",
"ol": "^10.8.0",
"ol-mapbox-style": "^13.3.0",
"pmtiles": "^4.4.0",
"prop-types": "^15.8.1",
"react": "^19.2.0",
"react": "^19.2.4",
"react-accessible-accordion": "^5.0.1",
"react-aria-menubutton": "^7.0.3",
"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.0",
"react-dom": "^19.2.4",
"react-i18next": "^16.5.4",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
@@ -98,10 +98,10 @@
}
},
"devDependencies": {
"@cypress/code-coverage": "^3.14.7",
"@eslint/js": "^9.39.2",
"@cypress/code-coverage": "^4.0.1",
"@eslint/js": "^10.0.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-replace": "^6.0.3",
"@shellygo/cypress-test-utils": "^6.0.6",
"@stylistic/eslint-plugin": "^5.9.0",
"@types/codemirror": "^5.60.17",
@@ -117,7 +117,7 @@
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.throttle": "^4.1.9",
"@types/randomcolor": "^0.5.9",
"@types/react": "^19.2.7",
"@types/react": "^19.2.14",
"@types/react-aria-menubutton": "^6.2.14",
"@types/react-aria-modal": "^5.0.0",
"@types/react-collapse": "^5.0.4",
@@ -128,16 +128,16 @@
"@vitejs/plugin-react": "^5.1.4",
"@vitest/coverage-v8": "^4.0.18",
"cors": "^2.8.6",
"cypress": "^15.9.0",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^9.39.2",
"cypress": "^15.11.0",
"cypress-plugin-tab": "^2.0.0",
"eslint": "^10.0.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"i18next-parser": "^9.3.0",
"i18next-cli": "^1.47.9",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"postcss": "^8.5.6",
"postcss": "^8.5.8",
"react-hot-loader": "^4.13.1",
"sass": "^1.97.3",
"stylelint": "^17.4.0",