mirror of
https://github.com/maputnik/editor.git
synced 2026-11-27 04:23:45 +00:00
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.82.4 to 1.85.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md">i18next-cli's changelog</a>.</em></p> <blockquote> <h2>1.85.1</h2> <ul> <li>fix(extractor): names imported through a barrel's <code>index</code> file (1.85.0, <a href="https://redirect.github.com/i18next/i18next-cli/issues/327">#327</a>) also resolve on Windows, where the import path kept its backslashes and never matched the <code>index</code> file.</li> </ul> <h2>1.85.0</h2> <ul> <li>fix(extractor): a type, enum or constant imported through a barrel file (<code>export * from './abc'</code>, <code>export { ABC } from './abc'</code>, <code>import { ABC } from './abc'; export { ABC }</code>, also through a namespace import <code>import * as Types from './types'</code>) resolves to the declaration the barrel re-exports, instead of to whichever scanned file declared that name last.</li> <li>fix(extractor): a name a file declares itself (a type, interface, enum or function, like variables since <a href="https://redirect.github.com/i18next/i18next-cli/issues/307">#307</a>), or imports from a scanned file that declares it, no longer resolves to another file's same-named declaration, also when the extractor cannot read its values (<code>interface Props { size: string }</code>).</li> <li>fix(extractor): <code>useTranslation(NS)</code> and <code>{ ns: NS }</code> read <code>NS</code> from the file it is imported from. A file whose own <code>NS</code> the extractor cannot read (<code>const NS = getNs()</code>) no longer takes another file's <code>NS</code>, so its keys go to the default namespace.</li> <li>feat(extractor): new <code>extract.warnOnAmbiguousTypes</code> (<code>true</code> / <code>'warn'</code> / <code>'error'</code>, default <code>false</code>): warns, or aborts extraction, when the extractor has to guess which of several differently declared same-named types, enums or constants a file means. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/327">#327</a></li> </ul> <h2>1.84.0</h2> <ul> <li>feat: plugins' <code>afterSync</code> gets a third argument <code>{ isDryRun }</code>, true for <code>extract --dry-run</code> and <code>runExtractor(config, { isDryRun: true })</code>, so a plugin that writes files can skip that on a dry run. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/326">#326</a></li> </ul> <h2>1.83.0</h2> <ul> <li>feat: <code>extract.ignoreNamespaces</code> accepts glob patterns like <code>status.ignoreKeys</code> does, so <code>['dev.*', 'test.*']</code> ignores every <code>dev.</code> and <code>test.</code> namespace in <code>extract</code>, <code>status</code>, <code>sync</code> and <code>lint</code>. <code>*</code> matches any characters. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/325">#325</a></li> </ul> <h2>1.82.5</h2> <ul> <li>fix: with an <code>extract.output</code> that puts the namespace in a folder, like <code>locales/{{namespace}}/{{language}}.json</code>, <code>lint</code>, <code>sync</code>, <code>extract</code> and <code>rename-key</code> now read the namespace from where the template has it instead of from the file name, which there is the language. <code>lint</code> checked no ICU/MF2 message at all, <code>sync</code> wrote the secondary languages to <code>locales/en/de.json</code> instead of <code>locales/common/de.json</code>, and <code>rename-key</code> missed calls like <code>t('hello', { ns: 'common' })</code>. <code>sync</code> and <code>lint</code> also read a namespace with a dot, like <code>app.settings.json</code>, whole. Fixes <a href="https://redirect.github.com/i18next/i18next-cli/issues/324">#324</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/i18next/i18next-cli/commit/a6d0cc9a2248d960a4bd94e1077d0dfafa658bb3"><code>a6d0cc9</code></a> 1.85.1</li> <li><a href="https://github.com/i18next/i18next-cli/commit/50269e78cd9b4386b1819f245fdf8b890a05cbcf"><code>50269e7</code></a> docs: changelog for 1.85.1</li> <li><a href="https://github.com/i18next/i18next-cli/commit/98340c7701f5446487390308801e54c96dbc1e24"><code>98340c7</code></a> fix: resolve barrel index imports on Windows</li> <li><a href="https://github.com/i18next/i18next-cli/commit/9c9be9bd73bf7d1be92c148e353a3e3987f22c35"><code>9c9be9b</code></a> 1.85.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/f7b98283eae067185ae5935ce92f040d21bf5c96"><code>f7b9828</code></a> docs: changelog for 1.85.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/51f33c2efa335367b029cfa0b8a42641849b0fe4"><code>51f33c2</code></a> fix: resolve names imported through barrel files, add warnOnAmbiguousTypes</li> <li><a href="https://github.com/i18next/i18next-cli/commit/f76590f0361b2855850b628b167682065c4a4f3d"><code>f76590f</code></a> 1.84.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/eb03151fd23645d2640c7c532bc8a3203492ead2"><code>eb03151</code></a> docs: changelog for 1.84.0</li> <li><a href="https://github.com/i18next/i18next-cli/commit/6ea4c95b108ae5909b74c8cce29bdd03dce7289e"><code>6ea4c95</code></a> feat: afterSync tells plugins whether it is a dry run</li> <li><a href="https://github.com/i18next/i18next-cli/commit/b3bfeaf1d34b08fc1d0cdf0484a874de480938ca"><code>b3bfeaf</code></a> 1.83.0</li> <li>Additional commits viewable in <a href="https://github.com/i18next/i18next-cli/compare/v1.82.4...v1.85.1">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>
151 lines
4.7 KiB
JSON
151 lines
4.7 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "3.1.0",
|
|
"description": "A MapLibre GL visual style editor",
|
|
"type": "module",
|
|
"main": "''",
|
|
"scripts": {
|
|
"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",
|
|
"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.6",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.15",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
|
|
"@maplibre/maplibre-gl-inspect": "^1.9.0",
|
|
"@maplibre/maplibre-gl-style-spec": "^26.5.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.7.2",
|
|
"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",
|
|
"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.16.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^10.11.0",
|
|
"ol-mapbox-style": "^13.9.0",
|
|
"pmtiles": "^4.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.3.1",
|
|
"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.3.1",
|
|
"react-i18next": "^17.1.13",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^4.18.1",
|
|
"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.65.0",
|
|
"@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.3.0",
|
|
"@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.3.0",
|
|
"@types/string-hash": "^1.1.3",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@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.85.1",
|
|
"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.108.0",
|
|
"stylelint": "^18.0.0",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.4.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.72.1",
|
|
"uuid": "^14.0.3",
|
|
"vite": "^8.3.5",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^5.1.0"
|
|
}
|
|
}
|