From 525b9ccee787174519d6faf3dac73e96b8d06d7c Mon Sep 17 00:00:00 2001 From: kristian4res <57638182+kristian4res@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:09:36 +0000 Subject: [PATCH] wip: fix deploy? --- package.json | 2 +- server/logger/cloudLogging.ts | 1 + server/tests/index.test.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 72a51fc..76add15 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "formik": "2.4.2", "history": "^4.9.0", "jest-cucumber": "^3.0.0", + "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", "multer": "^1.4.2", "number-to-words": "^1.2.4", @@ -84,7 +85,6 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", - "jsonwebtoken": "^9.0.2", "pino-pretty": "^4.7.1", "supertest": "^6.1.6" }, diff --git a/server/logger/cloudLogging.ts b/server/logger/cloudLogging.ts index 389f35d..32a8af4 100644 --- a/server/logger/cloudLogging.ts +++ b/server/logger/cloudLogging.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line import/no-extraneous-dependencies import { Logging } from "@google-cloud/logging"; import { IncomingMessage } from "http"; import { AuditLog } from "../interfaces/logger"; diff --git a/server/tests/index.test.ts b/server/tests/index.test.ts index 4f15951..7a536d7 100644 --- a/server/tests/index.test.ts +++ b/server/tests/index.test.ts @@ -9,6 +9,7 @@ import { Auth } from "blaise-login-react/blaise-login-react-server"; import { IMock, Mock, It, Times } from "typemoq"; import role_to_serverparks_map from "../role-to-serverparks-map.json"; import { size } from "lodash"; +// eslint-disable-next-line import/no-extraneous-dependencies import jwt from "jsonwebtoken"; import createLogger from "../logger/pinoLogger"; import pino from "pino";