From 0f250e18643f5f7e44a1926b66494c24f3bfed60 Mon Sep 17 00:00:00 2001 From: barbara-chaves Date: Mon, 8 Jul 2024 18:11:38 +0200 Subject: [PATCH 1/2] Fix next config images domains --- client/next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/next.config.mjs b/client/next.config.mjs index d1e32ca..be9cdb6 100644 --- a/client/next.config.mjs +++ b/client/next.config.mjs @@ -13,7 +13,7 @@ const nextConfig = { 'esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com', 'fra1.digitaloceanspaces.com', 'esa-gda-comms-staging-mfafc.ondigitalocean.app', - 'https://impact-sphere-gda.esa.int', + 'impact-sphere-gda.esa.int', ], }, env: { From 4ec3cc74c8a24bed342a70aced4c935121ae3fa6 Mon Sep 17 00:00:00 2001 From: barbara-chaves Date: Tue, 9 Jul 2024 10:12:48 +0200 Subject: [PATCH 2/2] Update mapbox-gl version in the cms map plugin --- cms/src/plugins/map-field/package.json | 2 +- cms/src/plugins/map-field/yarn.lock | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/cms/src/plugins/map-field/package.json b/cms/src/plugins/map-field/package.json index 857377c..2bded2d 100644 --- a/cms/src/plugins/map-field/package.json +++ b/cms/src/plugins/map-field/package.json @@ -11,7 +11,7 @@ "@strapi/design-system": "^1.9.0", "@strapi/helper-plugin": "4.11.2", "@strapi/icons": "^1.6.3", - "mapbox-gl": "2.15.0", + "mapbox-gl": "3.0.1", "prop-types": "^15.7.2", "react": "^18.2.0", "react-map-gl": "^7.1.5" diff --git a/cms/src/plugins/map-field/yarn.lock b/cms/src/plugins/map-field/yarn.lock index 9b10456..15aaa04 100644 --- a/cms/src/plugins/map-field/yarn.lock +++ b/cms/src/plugins/map-field/yarn.lock @@ -1701,6 +1701,13 @@ __metadata: languageName: node linkType: hard +"cheap-ruler@npm:^3.0.1": + version: 3.0.2 + resolution: "cheap-ruler@npm:3.0.2" + checksum: 7e3b4f593e2baa3fc5a140f461c399f876b33b76930cf540f06673c1470c3ab0782aef668394392406ecaabae36161879813ba6ad2e8e5ee146faa32298502ba + languageName: node + linkType: hard + "cli-table3@npm:0.6.2": version: 0.6.2 resolution: "cli-table3@npm:0.6.2" @@ -2367,7 +2374,7 @@ __metadata: "@types/react-router": ^5.1.20 "@types/react-router-dom": ^5.3.3 "@types/styled-components": ^5.1.26 - mapbox-gl: 2.15.0 + mapbox-gl: 3.0.1 prop-types: ^15.7.2 react: ^18.2.0 react-dom: ^18.2.0 @@ -2382,9 +2389,9 @@ __metadata: languageName: unknown linkType: soft -"mapbox-gl@npm:2.15.0": - version: 2.15.0 - resolution: "mapbox-gl@npm:2.15.0" +"mapbox-gl@npm:3.0.1": + version: 3.0.1 + resolution: "mapbox-gl@npm:3.0.1" dependencies: "@mapbox/geojson-rewind": ^0.5.2 "@mapbox/jsonlint-lines-primitives": ^2.0.2 @@ -2394,6 +2401,7 @@ __metadata: "@mapbox/unitbezier": ^0.0.1 "@mapbox/vector-tile": ^1.3.1 "@mapbox/whoots-js": ^3.1.0 + cheap-ruler: ^3.0.1 csscolorparser: ~1.0.3 earcut: ^2.2.4 geojson-vt: ^3.2.1 @@ -2408,7 +2416,7 @@ __metadata: supercluster: ^8.0.0 tinyqueue: ^2.0.3 vt-pbf: ^3.1.3 - checksum: 4a2303170cc3e703fb4a3d9866bb4b8000af6975977f220d03d063bfe40edf8ebc5dd72eee18e05a9bf5644c655c151a09529880bb9ca5df62cb1235ef2ef05f + checksum: cbb1c93aaeb24fed11a2c69d7aeada2e0271c90fc52c54a9d64cd8a20149cd4a6529c3551cc38342573cb39fba8a74389078e41c6a98fbf7847cb649f1601a2f languageName: node linkType: hard