Update deps and Docker images

This commit is contained in:
Darren Clarke 2024-09-27 11:22:45 +02:00
parent b21efc2d50
commit a707c842be
32 changed files with 1063 additions and 981 deletions

View file

@ -1,4 +1,4 @@
FROM node:20-bookworm AS base
FROM node:22-bookworm-slim AS base
FROM base AS builder
ARG APP_DIR=/opt/bridge-frontend

View file

@ -1,7 +1,6 @@
import NextAuth from "next-auth";
import { authOptions } from "@/app/_lib/authentication";
// @ts-expect-error
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };

View file

@ -13,28 +13,28 @@
"migrate:down:one": "tsx database/migrate.ts down:one"
},
"dependencies": {
"@auth/kysely-adapter": "^1.4.2",
"@auth/kysely-adapter": "^1.5.2",
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5",
"@mui/material": "^5",
"@mui/material-nextjs": "^5.16.6",
"@mui/x-data-grid-pro": "^7.12.1",
"@mui/x-date-pickers-pro": "^7.12.1",
"@mui/x-license": "^7.12.0",
"@mui/material-nextjs": "^5",
"@mui/x-data-grid-pro": "^7.18.0",
"@mui/x-date-pickers-pro": "^7.18.0",
"@mui/x-license": "^7.18.0",
"@link-stack/bridge-common": "*",
"@link-stack/bridge-ui": "*",
"@link-stack/signal-api": "*",
"date-fns": "^3.6.0",
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"graphile-worker": "^0.16.6",
"kysely": "0.26.1",
"material-ui-popup-state": "^5.1.2",
"mui-chips-input": "^2.1.5",
"next": "14.2.5",
"next-auth": "^4.24.7",
"pg": "^8.12.0",
"material-ui-popup-state": "^5.3.1",
"mui-chips-input": "^3.1.0",
"next": "14.2.13",
"next-auth": "^4.24.8",
"pg": "^8.13.0",
"react": "18.3.1",
"react-cookie": "^7.2.0",
"react-digit-input": "^2.1.0",
@ -42,13 +42,13 @@
"react-qr-code": "^2.0.15",
"react-timer-hook": "^3.0.7",
"sharp": "^0.33.5",
"tss-react": "^4.9.12",
"tsx": "^4.19.0",
"tss-react": "^4.9.13",
"tsx": "^4.19.1",
"@link-stack/ui": "*"
},
"devDependencies": {
"@types/node": "^22",
"@types/pg": "^8.11.8",
"@types/pg": "^8.11.10",
"@types/react": "^18",
"@types/react-dom": "^18",
"@link-stack/eslint-config": "*",

View file

@ -11,12 +11,12 @@
"dependencies": {
"dotenv": "^16.4.5",
"kysely": "0.26.1",
"pg": "^8.12.0",
"tsx": "^4.19.0"
"pg": "^8.13.0",
"tsx": "^4.19.1"
},
"devDependencies": {
"@types/node": "^22",
"@types/pg": "^8.11.8",
"@types/pg": "^8.11.10",
"@link-stack/eslint-config": "*",
"@link-stack/typescript-config": "*",
"typescript": "^5"

View file

@ -1,4 +1,4 @@
FROM node:20-bookworm AS base
FROM node:22-bookworm-slim AS base
FROM base AS builder
ARG APP_DIR=/opt/bridge-whatsapp

View file

@ -10,7 +10,7 @@
"@hapi/hapi": "^21.3.10",
"@hapipal/schmervice": "^3.0.0",
"@hapipal/toys": "^4.0.0",
"@whiskeysockets/baileys": "^6.7.7",
"@whiskeysockets/baileys": "^6.7.8",
"hapi-pino": "^12.1.0",
"link-preview-js": "^3.0.5"
},
@ -20,8 +20,8 @@
"@link-stack/typescript-config": "*",
"@types/node": "*",
"dotenv-cli": "^7.4.2",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
"tsx": "^4.19.1",
"typescript": "^5.6.2"
},
"scripts": {
"build": "tsc -p tsconfig.json",

View file

@ -1,4 +1,4 @@
FROM node:20-bookworm AS base
FROM node:22-bookworm-slim AS base
FROM base AS builder
ARG APP_DIR=/opt/bridge-worker

View file

@ -19,9 +19,9 @@
"html-to-text": "^9.0.5",
"jest": "^29.7.0",
"kysely": "^0.27.3",
"pg": "^8.12.0",
"remeda": "^2.11.0",
"twilio": "^5.2.3"
"pg": "^8.13.0",
"remeda": "^2.14.0",
"twilio": "^5.3.2"
},
"devDependencies": {
"@babel/core": "7.25.2",
@ -33,7 +33,7 @@
"prettier": "^3.3.3",
"@link-stack/typescript-config": "*",
"ts-node": "^10.9.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.4"
"typedoc": "^0.26.7",
"typescript": "^5.6.2"
}
}

View file

@ -1,4 +1,4 @@
FROM node:20 AS base
FROM node:22-bookwork-slim AS base
FROM base AS builder
ARG APP_DIR=/opt/leafcutter

View file

@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

View file

@ -14,23 +14,23 @@
},
"dependencies": {
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.0",
"@emotion/react": "^11.13.3",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.13.0",
"@link-stack/leafcutter-ui": "*",
"@link-stack/opensearch-common": "*",
"@mui/icons-material": "^5",
"@mui/material": "^5",
"@mui/material-nextjs": "^5.16.6",
"@mui/x-data-grid-pro": "^7.12.1",
"@mui/x-date-pickers-pro": "^7.12.1",
"@opensearch-project/opensearch": "^2.11.0",
"@mui/material-nextjs": "^5",
"@mui/x-data-grid-pro": "^7.18.0",
"@mui/x-date-pickers-pro": "^7.18.0",
"@opensearch-project/opensearch": "^2.12.0",
"cryptr": "^6.3.0",
"date-fns": "^3.6.0",
"http-proxy-middleware": "^3.0.0",
"material-ui-popup-state": "^5.1.2",
"next": "14.2.5",
"next-auth": "^4.24.7",
"date-fns": "^4.1.0",
"http-proxy-middleware": "^3.0.2",
"material-ui-popup-state": "^5.3.1",
"next": "14.2.13",
"next-auth": "^4.24.8",
"react": "18.3.1",
"react-cookie": "^7.2.0",
"react-cookie-consent": "^9.0.0",
@ -43,17 +43,17 @@
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/node": "^22.5.2",
"@types/react": "18.3.5",
"@types/node": "^22.7.3",
"@types/react": "18.3.9",
"@types/uuid": "^10.0.0",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.7",
"eslint-config-next": "^14.2.13",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"typescript": "5.5.4"
"eslint-plugin-react": "^7.37.0",
"typescript": "5.6.2"
}
}

View file

@ -1,4 +1,4 @@
FROM node:20-bookworm AS base
FROM node:22-bookworm-slim AS base
FROM base AS builder
ARG APP_DIR=/opt/link

View file

@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

View file

@ -23,36 +23,36 @@
"@link-stack/ui": "*",
"@mui/icons-material": "^5",
"@mui/material": "^5",
"@mui/material-nextjs": "^5.16.6",
"@mui/x-data-grid-pro": "^7.12.1",
"@mui/x-date-pickers-pro": "^7.12.1",
"date-fns": "^3.6.0",
"@mui/material-nextjs": "^5",
"@mui/x-data-grid-pro": "^7.18.0",
"@mui/x-date-pickers-pro": "^7.18.0",
"date-fns": "^4.1.0",
"graphql": "^16.9.0",
"graphql-request": "^7.1.0",
"material-ui-popup-state": "^5.1.2",
"material-ui-popup-state": "^5.3.1",
"mui-chips-input": "^2.1.5",
"next": "14.2.5",
"next-auth": "^4.24.7",
"next": "14.2.13",
"next-auth": "^4.24.8",
"react": "18.3.1",
"react-cookie": "^7.2.0",
"react-dom": "18.3.1",
"react-iframe": "^1.8.5",
"react-polyglot": "^0.7.2",
"sharp": "^0.33.4"
"sharp": "^0.33.5"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/node": "^22.2.0",
"@types/react": "18.3.3",
"@types/node": "^22.7.3",
"@types/react": "18.3.9",
"@types/uuid": "^10.0.0",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.5",
"eslint-config-next": "^14.2.13",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"typescript": "5.5.4"
"eslint-plugin-react": "^7.37.0",
"typescript": "5.6.2"
}
}