From 2515987fe0bf4d3dc73f08a82676d3c15841423a Mon Sep 17 00:00:00 2001 From: Daniel Koch Date: Fri, 16 Feb 2024 11:39:41 +0100 Subject: [PATCH] chore: update dependencies BREAKING CHANGE: update ol-util peer dependency --- .eslintrc | 18 -- .eslintrc.js | 19 ++ .github/workflows/on-publish.yml | 4 +- .github/workflows/on-pull-request.yml | 4 +- .github/workflows/release.yaml | 4 +- .nvmrc | 2 +- package-lock.json | 425 ++++++++++++++++++++++---- package.json | 21 +- 8 files changed, 406 insertions(+), 91 deletions(-) delete mode 100644 .eslintrc create mode 100644 .eslintrc.js diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index ce9e6895ed..0000000000 --- a/.eslintrc +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": [ - "@terrestris/eslint-config-typescript", - "plugin:testing-library/react", - "plugin:jest-dom/recommended" - ], - "plugins": [ - "testing-library", - "jest-dom", - "simple-import-sort" - ], - "rules": { - "@typescript-eslint/member-ordering": "off", - "no-underscore-dangle": "off", - "simple-import-sort/exports": "warn", - "simple-import-sort/imports": "warn" - } -} diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000000..b9d7539949 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,19 @@ +module.exports = { + extends: [ + '@terrestris/eslint-config-typescript', + '@terrestris/eslint-config-typescript-react', + 'plugin:testing-library/react', + 'plugin:jest-dom/recommended' + ], + plugins: [ + 'testing-library', + 'jest-dom', + 'simple-import-sort' + ], + rules: { + '@typescript-eslint/member-ordering': 'off', + 'no-underscore-dangle': 'off', + 'simple-import-sort/exports': 'warn', + 'simple-import-sort/imports': 'warn' + } +}; diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index eee2be9b26..004ea709ef 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -14,10 +14,10 @@ jobs: with: persist-credentials: false - - name: Setup Node.js 18 👷🏻 + - name: Setup Node.js 👷🏻 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Cache Node.js modules 💾 uses: actions/cache@v3 diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 40675887a3..acb89ef2f7 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -9,10 +9,10 @@ jobs: - name: Checkout sources 🔰 uses: actions/checkout@v3 - - name: Setup Node.js 18 + - name: Setup Node.js 👷🏻 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Cache Node.js modules 💾 uses: actions/cache@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5e1c00c4f2..6276eb4cfa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,10 +15,10 @@ jobs: - name: Checkout sources 🔰 uses: actions/checkout@v3 - - name: Setup Node.js 18 👷🏻 + - name: Setup Node.js 👷🏻 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies ⏬ run: npm ci --force diff --git a/.nvmrc b/.nvmrc index 3f430af82b..9a2a0e219c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/package-lock.json b/package-lock.json index 8e14c0344e..d758065bad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@terrestris/base-util": "^1.1.0", "@terrestris/ol-util": "^14.0.0", - "@terrestris/react-util": "^4.0.0-beta.0", + "@terrestris/react-util": "^4.0.0-beta.1", "@types/geojson": "^7946.0.12", "@types/lodash": "^4.14.200", "ag-grid-community": "^28.2.1", @@ -43,7 +43,8 @@ "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@terrestris/eslint-config-typescript": "^5.0.0", - "@terrestris/ol-util": "^14.0.0", + "@terrestris/eslint-config-typescript-react": "^2.0.0", + "@terrestris/ol-util": "^15.0.0", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.0.0", @@ -63,7 +64,7 @@ "canvas": "^2.11.2", "chokidar": "^3.5.3", "copy-to-clipboard": "^3.3.3", - "copy-webpack-plugin": "^11.0.0", + "copy-webpack-plugin": "^12.0.2", "coveralls": "^3.1.1", "css-loader": "^6.8.1", "enzyme": "^3.11.0", @@ -83,14 +84,14 @@ "jest-fetch-mock": "^3.0.3", "less-loader": "^12.0.0", "np": "^9.0.0", - "ol": "^8.1.0", - "ol-mapbox-style": "^12.0.0", + "ol": "^8.2.0", + "ol-mapbox-style": "^12.1.1", "react": "^18.2.0", "react-docgen-typescript": "^2.2.2", "react-dom": "^18.2.0", "react-styleguidist": "13.1.1", "rimraf": "^5.0.5", - "semantic-release": "^22.0.5", + "semantic-release": "^23.0.0", "style-loader": "^3.3.3", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.3.3", @@ -99,11 +100,11 @@ "whatwg-fetch": "^3.6.19" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "peerDependencies": { - "@terrestris/ol-util": ">=14", + "@terrestris/ol-util": ">=15", "@types/react": ">=18", "antd": "^5", "ol": ">=8", @@ -5198,10 +5199,190 @@ "typescript": ">= ~5" } }, + "node_modules/@terrestris/eslint-config-typescript-react": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@terrestris/eslint-config-typescript-react/-/eslint-config-typescript-react-2.0.0.tgz", + "integrity": "sha512-6izTB3FHg4YjkCR+UrjCOHCBrthemH4ufosoMf4Bum1/uPW2bvw6BL9/gxqF5ItGoTogAGbwU4jV9jyGtk/evw==", + "dev": true, + "dependencies": { + "@typescript-eslint/parser": "^5.9.0", + "typescript": "*" + }, + "engines": { + "node": ">=14", + "npm": ">=7" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": ">= 5", + "eslint": ">= 8", + "eslint-plugin-react": ">= 7", + "eslint-plugin-react-hooks": ">= 4", + "typescript": ">= 3" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@terrestris/eslint-config-typescript-react/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/@terrestris/eslint-config-typescript/node_modules/typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/@terrestris/ol-util": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@terrestris/ol-util/-/ol-util-14.0.0.tgz", - "integrity": "sha512-6yXfU2bnDU4gIztXZ+vcD5aOTOBxv5UqQuj+IqYgf3E/m0xvE/ZlSsMPMplLHqZP1fu+fJpu6E88WCLamMVIQw==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/@terrestris/ol-util/-/ol-util-15.0.0.tgz", + "integrity": "sha512-FgLQzpqQvz7t93ncRYXe6bUVGy7Z6mPoFvXgTSK409aaOVY3c0qeXE5A96NusqWgnuTiGZPfsjbldCXMjwOovg==", "dependencies": { "@mapbox/node-pre-gyp": "^1.0.11", "@terrestris/base-util": "^1.0.1", @@ -5211,30 +5392,29 @@ "lodash": "^4.17.21", "polygon-splitter": "^0.0.11", "proj4": "^2.9.0", - "shpjs": "^4.0.4", - "typescript": "^5.2.2" + "shpjs": "^4.0.4" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "peerDependencies": { - "ol": "^8" + "ol": ">=8.2.0" } }, "node_modules/@terrestris/react-util": { - "version": "4.0.0-beta.0", - "resolved": "https://registry.npmjs.org/@terrestris/react-util/-/react-util-4.0.0-beta.0.tgz", - "integrity": "sha512-00mYcIKbHoU42vY5wvNlFNu0kWGmQn2k5Y/J248D4DmpBy5RvZiwIFgOGD+Y1cpRV8fhGClLjd8m4dai38FAJQ==", + "version": "4.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@terrestris/react-util/-/react-util-4.0.0-beta.1.tgz", + "integrity": "sha512-JuUuxknH5S3e+jxk4fNw2I1agPwdaSKNNP4Cr4lldnBNn7gb3jprrQW08zMJtWoF5bEC3BG1yJ1/CNXHkfpLWw==", "dependencies": { - "@terrestris/base-util": "^1.0.2", + "@terrestris/base-util": "^1.1.0", "lodash": "^4.17.21", - "moment": "^2.29.4" + "moment": "^2.30.1" }, "peerDependencies": { - "@terrestris/ol-util": ">=14", + "@terrestris/ol-util": ">=15", "@types/react": ">=18", - "ol": ">=8", + "ol": ">=8.2.0", "ol-mapbox-style": ">=12", "react": ">=18", "react-dom": ">=18" @@ -10987,20 +11167,20 @@ } }, "node_modules/copy-webpack-plugin": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", - "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz", + "integrity": "sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA==", "dev": true, "dependencies": { - "fast-glob": "^3.2.11", + "fast-glob": "^3.3.2", "glob-parent": "^6.0.1", - "globby": "^13.1.1", + "globby": "^14.0.0", "normalize-path": "^3.0.0", - "schema-utils": "^4.0.0", - "serialize-javascript": "^6.0.0" + "schema-utils": "^4.2.0", + "serialize-javascript": "^6.0.2" }, "engines": { - "node": ">= 14.15.0" + "node": ">= 18.12.0" }, "funding": { "type": "opencollective", @@ -11023,28 +11203,29 @@ } }, "node_modules/copy-webpack-plugin/node_modules/globby": { - "version": "13.2.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", - "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz", + "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==", "dev": true, "dependencies": { - "dir-glob": "^3.0.1", - "fast-glob": "^3.3.0", + "@sindresorhus/merge-streams": "^1.0.0", + "fast-glob": "^3.3.2", "ignore": "^5.2.4", - "merge2": "^1.4.1", - "slash": "^4.0.0" + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/copy-webpack-plugin/node_modules/slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "node_modules/copy-webpack-plugin/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "dev": true, "engines": { "node": ">=12" @@ -11053,6 +11234,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/copy-webpack-plugin/node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/core-js": { "version": "3.36.0", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.36.0.tgz", @@ -12833,9 +13026,9 @@ } }, "node_modules/env-ci": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-10.0.0.tgz", - "integrity": "sha512-U4xcd/utDYFgMh0yWj07R1H6L5fwhVbmxBCpnL0DbVSDZVnsC82HONw0wxtxNkIAcua3KtbomQvIk5xFZGAQJw==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.0.0.tgz", + "integrity": "sha512-apikxMgkipkgTvMdRT9MNqWx5VLOci79F4VBd7Op/7OPjjoanjdAvn6fglMCCEf/1bAh8eOiuEVCUs4V3qP3nQ==", "dev": true, "dependencies": { "execa": "^8.0.0", @@ -12979,6 +13172,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/enzyme": { "version": "3.11.0", "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-3.11.0.tgz", @@ -21286,15 +21488,15 @@ } }, "node_modules/marked": { - "version": "9.1.6", - "resolved": "https://registry.npmjs.org/marked/-/marked-9.1.6.tgz", - "integrity": "sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/marked/-/marked-11.1.1.tgz", + "integrity": "sha512-EgxRjgK9axsQuUa/oKMx5DEY8oXpKJfk61rT5iY3aRlgU6QJtUcxU5OAymdhCvWvhYcd9FKmO5eQoX8m9VGJXg==", "dev": true, "bin": { "marked": "bin/marked.js" }, "engines": { - "node": ">= 16" + "node": ">= 18" } }, "node_modules/marked-terminal": { @@ -28504,6 +28706,30 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/react-styleguidist/node_modules/copy-webpack-plugin": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", + "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", + "dev": true, + "dependencies": { + "fast-glob": "^3.2.11", + "glob-parent": "^6.0.1", + "globby": "^13.1.1", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, "node_modules/react-styleguidist/node_modules/escodegen": { "version": "1.14.3", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", @@ -28535,6 +28761,37 @@ "node": ">=4.0" } }, + "node_modules/react-styleguidist/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/react-styleguidist/node_modules/globby": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", + "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", + "dev": true, + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", + "ignore": "^5.2.4", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/react-styleguidist/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -28694,6 +28951,18 @@ "node": ">= 0.8.0" } }, + "node_modules/react-styleguidist/node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/react-styleguidist/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -29690,9 +29959,9 @@ } }, "node_modules/semantic-release": { - "version": "22.0.12", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-22.0.12.tgz", - "integrity": "sha512-0mhiCR/4sZb00RVFJIUlMuiBkW3NMpVIW2Gse7noqEMoFGkvfPPAImEQbkBV8xga4KOPP4FdTRYuLLy32R1fPw==", + "version": "23.0.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-23.0.0.tgz", + "integrity": "sha512-Jz7jEWO2igTtske112gC4PPE2whCMVrsgxUPG3/SZI7VE357suIUZFlJd1Yu0g2I6RPc2HxNEfUg7KhmDTjwqg==", "dev": true, "dependencies": { "@semantic-release/commit-analyzer": "^11.0.0", @@ -29701,9 +29970,9 @@ "@semantic-release/npm": "^11.0.0", "@semantic-release/release-notes-generator": "^12.0.0", "aggregate-error": "^5.0.0", - "cosmiconfig": "^8.0.0", + "cosmiconfig": "^9.0.0", "debug": "^4.0.0", - "env-ci": "^10.0.0", + "env-ci": "^11.0.0", "execa": "^8.0.0", "figures": "^6.0.0", "find-versions": "^5.1.0", @@ -29713,7 +29982,7 @@ "hosted-git-info": "^7.0.0", "import-from-esm": "^1.3.1", "lodash-es": "^4.17.21", - "marked": "^9.0.0", + "marked": "^11.0.0", "marked-terminal": "^6.0.0", "micromatch": "^4.0.2", "p-each-series": "^3.0.0", @@ -29729,7 +29998,7 @@ "semantic-release": "bin/semantic-release.js" }, "engines": { - "node": "^18.17 || >=20.6.1" + "node": ">=20.8.1" } }, "node_modules/semantic-release/node_modules/@semantic-release/error": { @@ -29757,6 +30026,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/semantic-release/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/semantic-release/node_modules/clean-stack": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", @@ -29772,6 +30047,32 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/semantic-release/node_modules/cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/semantic-release/node_modules/escape-string-regexp": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", @@ -29879,6 +30180,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/semantic-release/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/semantic-release/node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", diff --git a/package.json b/package.json index 4172aa52b3..912664ef11 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,8 @@ "clean:test": "rimraf ./coverage/*", "coveralls": "cat coverage/lcov.info | coveralls", "lint": "npm run lint:styleguide && npm run lint:src", - "lint:fix": "eslint -c .eslintrc --ext .tsx,.ts src/ --fix", - "lint:src": "eslint -c .eslintrc --ext .tsx,.ts src/", + "lint:fix": "eslint -c .eslintrc.js --ext .tsx,.ts src/ --fix", + "lint:src": "eslint -c .eslintrc.js --ext .tsx,.ts src/", "lint:styleguide": "eslint -c .eslintrc.styleguide.js src/", "lint:styleguide-fix": "eslint -c .eslintrc.styleguide.js src/ --fix", "prepare": "husky install", @@ -76,7 +76,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@terrestris/base-util": "^1.1.0", "@terrestris/ol-util": "^14.0.0", - "@terrestris/react-util": "^4.0.0-beta.0", + "@terrestris/react-util": "^4.0.0-beta.1", "@types/geojson": "^7946.0.12", "@types/lodash": "^4.14.200", "ag-grid-community": "^28.2.1", @@ -102,7 +102,8 @@ "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@terrestris/eslint-config-typescript": "^5.0.0", - "@terrestris/ol-util": "^14.0.0", + "@terrestris/eslint-config-typescript-react": "^2.0.0", + "@terrestris/ol-util": "^15.0.0", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.0.0", @@ -122,7 +123,7 @@ "canvas": "^2.11.2", "chokidar": "^3.5.3", "copy-to-clipboard": "^3.3.3", - "copy-webpack-plugin": "^11.0.0", + "copy-webpack-plugin": "^12.0.2", "coveralls": "^3.1.1", "css-loader": "^6.8.1", "enzyme": "^3.11.0", @@ -142,14 +143,14 @@ "jest-fetch-mock": "^3.0.3", "less-loader": "^12.0.0", "np": "^9.0.0", - "ol": "^8.1.0", - "ol-mapbox-style": "^12.0.0", + "ol": "^8.2.0", + "ol-mapbox-style": "^12.1.1", "react": "^18.2.0", "react-docgen-typescript": "^2.2.2", "react-dom": "^18.2.0", "react-styleguidist": "13.1.1", "rimraf": "^5.0.5", - "semantic-release": "^22.0.5", + "semantic-release": "^23.0.0", "style-loader": "^3.3.3", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.3.3", @@ -158,7 +159,7 @@ "whatwg-fetch": "^3.6.19" }, "peerDependencies": { - "@terrestris/ol-util": ">=14", + "@terrestris/ol-util": ">=15", "@types/react": ">=18", "antd": "^5", "ol": ">=8", @@ -167,7 +168,7 @@ "react-dom": ">=18" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" } }