Update deps, fix build errors

This commit is contained in:
Darren Clarke 2023-08-07 09:27:51 +02:00
parent c47514d2f0
commit e9379fd1fb
20 changed files with 5120 additions and 2012 deletions

View file

@ -15,6 +15,6 @@
},
"peerDependencies": {},
"devDependencies": {
"eslint": "^8.45.0"
"eslint": "^8.46.0"
}
}

View file

@ -10,17 +10,17 @@
},
"dependencies": {
"@rushstack/eslint-patch": "^1.3.2",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint-config-prettier": "^8.8.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint-config-prettier": "^9.0.0",
"eslint-config-xo-space": "^0.34.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-no-use-extend-native": "^0.5.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-unicorn": "48.0.0",
"eslint-plugin-unicorn": "48.0.1",
"@babel/eslint-parser": "7.22.9"
},
"peerDependencies": {
@ -28,8 +28,8 @@
"typescript": "^4.9.5"
},
"devDependencies": {
"eslint": "^8.45.0",
"jest": "^29.6.1",
"eslint": "^8.46.0",
"jest": "^29.6.2",
"typescript": "^5.1.6"
}
}

View file

@ -20,7 +20,7 @@
"@hapi/hapi": "^21.3.2",
"@hapi/hoek": "^11.0.2",
"joi": "^17.9.2",
"next-auth": "4.22.3"
"next-auth": "4.22.4"
},
"scripts": {
"build": "tsc -p tsconfig.json",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@hapi/hapi": "^21.3.2",
"pg-monitor": "^2.0.0",
"pg-promise": "^11.5.0"
"pg-promise": "^11.5.3"
},
"scripts": {
"build": "tsc -p tsconfig.json",

View file

@ -10,7 +10,7 @@
},
"dependencies": {
"@types/jest": "^29.5.3",
"jest": "^29.6.1",
"jest": "^29.6.2",
"jest-junit": "^16.0.0"
},
"peerDependencies": {}

View file

@ -18,7 +18,7 @@
},
"devDependencies": {
"@types/figlet": "^1.5.6",
"@types/lodash": "^4.14.195",
"@types/lodash": "^4.14.196",
"@types/node": "*",
"@types/uuid": "^9.0.2",
"camelcase-keys": "^8.0.2",
@ -34,7 +34,7 @@
"@hapi/hapi": "^21.3.2",
"@hapi/hoek": "^11.0.2",
"@hapi/inert": "^7.1.0",
"@hapi/vision": "^7.0.2",
"@hapi/vision": "^7.0.3",
"@hapipal/schmervice": "^3.0.0",
"@promster/hapi": "^8.0.6",
"@promster/server": "^7.0.8",
@ -54,10 +54,10 @@
"http-terminator": "^3.2.0",
"joi": "^17.9.2",
"lodash": "^4.17.21",
"next-auth": "^4.22.3",
"pg-promise": "^11.5.0",
"pino": "^8.14.1",
"pino-pretty": "^10.1.0",
"next-auth": "^4.22.4",
"pg-promise": "^11.5.3",
"pino": "^8.15.0",
"pino-pretty": "^10.2.0",
"prom-client": "^14.x.x",
"uuid": "^9.0.0"
}

View file

@ -12,10 +12,12 @@ import * as pino from "pino";
declare module "@hapi/hapi" {
interface Server {
// @ts-expect-error
logger: pino.Logger;
}
interface Request {
// @ts-expect-error
logger: pino.Logger;
}
}

View file

@ -13,9 +13,9 @@
"@babel/core": "7.22.9",
"@babel/preset-env": "7.22.9",
"@babel/preset-typescript": "7.22.5",
"eslint": "^8.45.0",
"pino-pretty": "^10.1.0",
"prettier": "^3.0.0",
"eslint": "^8.46.0",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.1",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",

View file

@ -13,18 +13,18 @@
"graphile-migrate": "^1.4.1",
"graphql": "15.8.0",
"postgraphile": "4.13.0",
"pg-promise": "^11.5.0"
"pg-promise": "^11.5.3"
},
"devDependencies": {
"@babel/core": "7.22.9",
"@babel/preset-env": "7.22.9",
"@babel/preset-typescript": "7.22.5",
"@types/jest": "^29.5.3",
"eslint": "^8.45.0",
"jest": "^29.6.1",
"eslint": "^8.46.0",
"jest": "^29.6.2",
"jest-junit": "^16.0.0",
"pino-pretty": "^10.1.0",
"prettier": "^3.0.0",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.1",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",

View file

@ -4,6 +4,7 @@ import {
UUID,
Flavor,
} from "@digiresilience/metamigo-common";
import type { } from "pg-promise/typescript/pg-subset";
export type WhatsappAttachmentId = Flavor<UUID, "Whatsapp Attachment Id">;
@ -26,4 +27,5 @@ export const WhatsappAttachmentRecord = recordInfo<
export class WhatsappAttachmentRecordRepository extends RepositoryBase(
WhatsappAttachmentRecord
) {}
) { };

View file

@ -4,6 +4,7 @@ import {
UUID,
Flavor,
} from "@digiresilience/metamigo-common";
import type { } from "pg-promise/typescript/pg-subset";
export type WhatsappBotId = Flavor<UUID, "Whatsapp Bot Id">;

View file

@ -4,6 +4,7 @@ import {
UUID,
Flavor,
} from "@digiresilience/metamigo-common";
import type { } from "pg-promise/typescript/pg-subset";
export type WhatsappMessageId = Flavor<UUID, "Whatsapp Message Id">;
@ -28,4 +29,4 @@ export const WhatsappMessageRecord = recordInfo<
export class WhatsappMessageRecordRepository extends RepositoryBase(
WhatsappMessageRecord
) {}
) { }