From e16c11bf87178b2b40d7f0d26044460259a86618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 10 Sep 2024 21:10:04 +0200 Subject: [PATCH] Some fix to be able to integrate in c2cgeoportal --- .npmignore | 1 + package.json | 2 ++ src/auth/component.spec.ts | 3 +++ src/e2e/desktop.spec.ts | 2 ++ src/e2e/mobile.spec.ts | 1 - tsconfig.json | 1 - 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 310d24acbc9a..85f93fa7c3d6 100644 --- a/.npmignore +++ b/.npmignore @@ -21,3 +21,4 @@ /private.key /pyproject.toml /requirements.txt +/cypress diff --git a/package.json b/package.json index 42ad54be2a8f..18f713790c84 100644 --- a/package.json +++ b/package.json @@ -119,6 +119,8 @@ "chokidar": "3.6.0", "chromatic": "11.7.1", "co": "4.6.0", + "color-rgba": "3.0.0", + "color-space": "2.0.1", "commander": "12.1.0", "console-control-strings": "1.1.0", "copy-webpack-plugin": "12.0.2", diff --git a/src/auth/component.spec.ts b/src/auth/component.spec.ts index 06ef1ff232b2..7e91a29c2a8d 100644 --- a/src/auth/component.spec.ts +++ b/src/auth/component.spec.ts @@ -19,6 +19,9 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-unsafe-call */ + import gmfAuthenticationService from 'ngeo/auth/service'; import configuration, {Configuration} from 'gmfapi/store/config'; diff --git a/src/e2e/desktop.spec.ts b/src/e2e/desktop.spec.ts index 3a1af860eba5..2f4891e2363e 100644 --- a/src/e2e/desktop.spec.ts +++ b/src/e2e/desktop.spec.ts @@ -21,6 +21,8 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-unsafe-assignment */ +/* eslint-disable @typescript-eslint/no-unsafe-argument */ import olMap from 'ol/Map'; import path from 'path'; diff --git a/src/e2e/mobile.spec.ts b/src/e2e/mobile.spec.ts index 735d0b639bee..4a9fdc75fcf3 100644 --- a/src/e2e/mobile.spec.ts +++ b/src/e2e/mobile.spec.ts @@ -23,7 +23,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/restrict-template-expressions */ -/* eslint-disable @typescript-eslint/unbound-method */ import olMap from 'ol/Map'; import {LineString, Polygon} from 'ol/geom'; diff --git a/tsconfig.json b/tsconfig.json index 3578a889f706..75915a511f41 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,6 @@ "sourceMap": true, "experimentalDecorators": true, "baseUrl": "./", - "types": ["cypress", "node", "cypress-real-events"], "paths": { "ngeo/*": ["src/*"], "gmf/*": ["src/*"],