Update middleware and deps

This commit is contained in:
Darren Clarke 2023-09-06 16:42:52 +02:00
parent 0b5e242ed0
commit a3d6b786e1
28 changed files with 2246 additions and 2272 deletions

2
.gitignore vendored
View file

@ -23,3 +23,5 @@ coverage
out/
signald-state/*
!./signald-state/.gitkeep
baileys-state
signald-state

View file

@ -8,9 +8,7 @@ const globalIndex = ".kibana_1";
const dataIndexName = "sample_tagged_tickets";
const userMetadataIndexName = "user_metadata";
// const baseURL = `https://${process.env.OPENSEARCH_USERNAME}:${process.env.OPENSEARCH_PASSWORD}@${process.env.OPENSEARCH_URL}`;
const baseURL = `https://localhost:9200`;
const baseURL = `https://${process.env.OPENSEARCH_USERNAME}:${process.env.OPENSEARCH_PASSWORD}@${process.env.OPENSEARCH_URL}`;
const createClient = () => new Client({
node: baseURL,

View file

@ -17,50 +17,50 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/playfair-display": "^5.0.8",
"@fontsource/playfair-display": "^5.0.11",
"@fontsource/poppins": "^5.0.8",
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.140",
"@mui/lab": "^5.0.0-alpha.143",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^6.11.1",
"@mui/x-date-pickers-pro": "^6.11.1",
"@mui/x-data-grid-pro": "^6.12.1",
"@mui/x-date-pickers-pro": "^6.12.1",
"@opensearch-project/opensearch": "^2.3.1",
"cryptr": "^6.2.0",
"cryptr": "^6.3.0",
"date-fns": "^2.30.0",
"http-proxy-middleware": "^2.0.6",
"leafcutter-common": "*",
"material-ui-popup-state": "^5.0.9",
"next": "13.4.7",
"next": "13.4.19",
"next-auth": "^4.23.1",
"next-http-proxy-middleware": "^1.2.5",
"nodemailer": "^6.9.4",
"nodemailer": "^6.9.5",
"react": "18.2.0",
"react-cookie": "^5.0.0",
"react-cookie": "^6.1.0",
"react-cookie-consent": "^8.0.1",
"react-dom": "18.2.0",
"react-iframe": "^1.8.5",
"react-markdown": "^8.0.7",
"react-polyglot": "^0.7.2",
"sharp": "^0.32.5",
"swr": "^2.2.1",
"tss-react": "^4.8.8",
"swr": "^2.2.2",
"tss-react": "^4.9.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@types/node": "^20.5.0",
"@types/react": "18.2.20",
"@types/uuid": "^9.0.2",
"@babel/core": "^7.22.15",
"@types/node": "^20.5.9",
"@types/react": "18.2.21",
"@types/uuid": "^9.0.3",
"babel-loader": "^9.1.3",
"eslint": "^8.47.0",
"eslint": "^8.48.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.4.16",
"eslint-config-next": "^13.4.19",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}

View file

@ -18,6 +18,7 @@ const fetchRoles = async () => {
const fetchUser = async (email: string) => {
const url = `${process.env.ZAMMAD_URL}/api/v1/users/search?query=email:${email}&limit=1`;
console.log({ url });
const res = await fetch(url, { headers });
const users = await res.json();
const user = users?.[0];
@ -40,8 +41,8 @@ const getUserRoles = async (email: string) => {
};
const login = async (email: string, password: string) => {
console.log({ email, password });
const url = `${process.env.ZAMMAD_URL}/api/v1/users/me`;
console.log({ url });
const authorization = 'Basic ' + Buffer.from(email + ":" + password).toString('base64');
const res = await fetch(url, {
headers: {
@ -93,6 +94,7 @@ const handler = NextAuth({
callbacks: {
signIn: async ({ user, account, profile }) => {
console.log("SIGN IN");
const roles = await getUserRoles(user.email) ?? [];
return roles.includes("admin") || roles.includes("agent") || process.env.SETUP_MODE === "true";
},

View file

@ -53,7 +53,7 @@ export default withAuth(
url,
} = req;
const noAuthPaths = ["/login", "/zammad/api/v1"];
const noAuthPaths = ["/login", "/api/v1"];
const parsedURL = new URL(url);
const path = parsedURL.pathname;
console.log({ p: parsedURL.pathname });

View file

@ -15,55 +15,55 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/playfair-display": "^5.0.8",
"@fontsource/playfair-display": "^5.0.11",
"@fontsource/poppins": "^5.0.8",
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.140",
"@mui/lab": "^5.0.0-alpha.143",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^6.11.1",
"@mui/x-date-pickers-pro": "^6.11.1",
"cryptr": "^6.2.0",
"@mui/x-data-grid-pro": "^6.12.1",
"@mui/x-date-pickers-pro": "^6.12.1",
"cryptr": "^6.3.0",
"date-fns": "^2.30.0",
"graphql-request": "^6.1.0",
"leafcutter-common": "*",
"material-ui-popup-state": "^5.0.9",
"mui-chips-input": "^2.1.3",
"next": "13.4.16",
"next": "13.4.19",
"next-auth": "^4.23.1",
"ra-data-graphql": "^4.12.2",
"ra-i18n-polyglot": "^4.12.2",
"ra-input-rich-text": "^4.12.3",
"ra-language-english": "^4.12.2",
"ra-data-graphql": "^4.13.0",
"ra-i18n-polyglot": "^4.13.3",
"ra-input-rich-text": "^4.13.3",
"ra-language-english": "^4.13.3",
"ra-postgraphile": "^6.1.1",
"react": "18.2.0",
"react-admin": "^4.12.3",
"react-cookie": "^5.0.0",
"react-admin": "^4.13.3",
"react-cookie": "^6.1.0",
"react-digit-input": "^2.1.0",
"react-dom": "18.2.0",
"react-iframe": "^1.8.5",
"react-polyglot": "^0.7.2",
"react-qr-code": "^2.0.11",
"react-qr-code": "^2.0.12",
"react-timer-hook": "^3.0.7",
"sharp": "^0.32.5",
"swr": "^2.2.1",
"tss-react": "^4.8.8",
"swr": "^2.2.2",
"tss-react": "^4.9.0",
"twilio-client": "^1.15.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@types/node": "^20.5.0",
"@types/react": "18.2.20",
"@types/uuid": "^9.0.2",
"@babel/core": "^7.22.15",
"@types/node": "^20.5.9",
"@types/react": "18.2.21",
"@types/uuid": "^9.0.3",
"babel-loader": "^9.1.3",
"eslint": "^8.47.0",
"eslint": "^8.48.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.4.16",
"eslint-config-next": "^13.4.19",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}

View file

@ -30,20 +30,20 @@
"hapi-auth-bearer-token": "^8.0.0",
"hapi-auth-jwt2": "^10.4.0",
"hapi-swagger": "^17.1.0",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.1",
"joi": "^17.10.1",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.0.1",
"long": "^5.2.3",
"p-memoize": "^7.1.1",
"pg": "^8.11.2",
"pg": "^8.11.3",
"pg-monitor": "^2.0.0",
"pg-promise": "^11.5.3",
"pg-promise": "^11.5.4",
"postgraphile": "4.12.3",
"postgraphile-plugin-connection-filter": "^2.3.0",
"remeda": "^1.24.1",
"twilio": "^4.15.0",
"remeda": "^1.26.0",
"twilio": "^4.16.0",
"typeorm": "^0.3.17",
"@whiskeysockets/baileys": "^6.4.0"
"@whiskeysockets/baileys": "^6.4.1"
},
"devDependencies": {
"@types/long": "^4.0.2",
@ -58,8 +58,8 @@
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"tsconfig-link": "*",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"nodemonConfig": {
"ignore": [

View file

@ -23,14 +23,14 @@
"graphql": "15.8.0"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/jest": "^29.5.4",
"pino-pretty": "^10.2.0",
"nodemon": "^3.0.1",
"tsconfig-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
"babel-preset-link": "*",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"scripts": {
"migrate": "NODE_ENV=development node --unhandled-rejections=strict build/main/index.js db -- migrate",

View file

@ -13,26 +13,26 @@
"graphile-worker": "^0.13.0",
"html-to-text": "^9.0.5",
"node-fetch": "^3",
"pg-promise": "^11.5.3",
"remeda": "^1.24.1",
"twilio": "^4.15.0"
"pg-promise": "^11.5.4",
"remeda": "^1.26.0",
"twilio": "^4.16.0"
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5",
"@babel/core": "7.22.15",
"@babel/preset-env": "7.22.15",
"@babel/preset-typescript": "7.22.15",
"@types/fluent-ffmpeg": "^2.1.21",
"@types/jest": "^29.5.3",
"eslint": "^8.47.0",
"jest": "^29.6.2",
"jest-circus": "^29.6.2",
"@types/jest": "^29.5.4",
"eslint": "^8.48.0",
"jest": "^29.6.4",
"jest-circus": "^29.6.4",
"jest-junit": "^16.0.0",
"nodemon": "^3.0.1",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"nodemonConfig": {
"ignore": [

View file

@ -1,11 +1,9 @@
version: "3.4"
x-global-vars:
&common-global-variables
x-global-vars: &common-global-variables
TZ: Etc/UTC
x-metamigo-vars:
&common-metamigo-variables
x-metamigo-vars: &common-metamigo-variables
DATABASE_HOST: "metamigo-postgresql"
DATABASE_NAME: "metamigo"
DATABASE_ROOT_OWNER: "root"
@ -37,32 +35,48 @@ x-metamigo-vars:
services:
metamigo-api:
build:
context: .
dockerfile: ./apps/metamigo-cli/Dockerfile
# build:
# context: .
# dockerfile: ./apps/metamigo-cli/Dockerfile
# image: registry.gitlab.com/digiresilience/link/link-stack/metamigo:${LINK_STACK_VERSION}
image: registry.gitlab.com/digiresilience/link/metamigo:develop
container_name: metamigo-api
restart: ${RESTART}
command: [ "api" ]
command: ["api"]
ports:
- 127.0.0.1:8003:3001
- 8003:3001
environment: *common-metamigo-variables
volumes:
- signald-state:/signald
- ./baileys-state:/baileys
- ./signald-state:/signald
depends_on:
- metamigo-postgresql
- signald
metamigo-worker:
build:
context: .
dockerfile: ./apps/metamigo-cli/Dockerfile
# build:
# context: .
# dockerfile: ./apps/metamigo-cli/Dockerfile
# image: registry.gitlab.com/digiresilience/link/link-stack/metamigo:${LINK_STACK_VERSION}
image: registry.gitlab.com/digiresilience/link/metamigo:develop
container_name: metamigo-worker
restart: ${RESTART}
command: [ "worker" ]
command: ["worker"]
environment: *common-metamigo-variables
depends_on:
- metamigo-api
metamigo-frontend:
# build:
# context: .
# dockerfile: ./apps/metamigo-cli/Dockerfile
# image: registry.gitlab.com/digiresilience/link/link-stack/metamigo:${LINK_STACK_VERSION}
image: registry.gitlab.com/digiresilience/link/metamigo:develop
container_name: metamigo-frontend
restart: ${RESTART}
ports:
- 8006:3000
command: ["frontend"]
environment: *common-metamigo-variables
depends_on:
- metamigo-api
@ -72,13 +86,13 @@ services:
build: ./docker/signald
image: registry.gitlab.com/digiresilience/link/link-stack/signald:${LINK_STACK_VERSION}
restart: ${RESTART}
user: "1000:1000"
volumes:
- signald-state:/signald
- ./signald-state:/signald
environment:
<<: *common-global-variables
volumes:
signald-state:
driver: local
# volumes:
# signald-state:
# driver: local
# baileys-state:
# driver: local

View file

@ -62,7 +62,7 @@ services:
expose:
- "8080"
ports:
- 127.0.0.1:8001:8080
- 8001:8080
depends_on:
- zammad-railsserver
build: ./docker/zammad
@ -87,7 +87,7 @@ services:
image: registry.gitlab.com/digiresilience/link/link-stack/postgresql:${LINK_STACK_VERSION}
restart: ${RESTART}
ports:
- 127.0.0.1:5432:5432
- 5432:5432
volumes:
- postgresql-data:/var/lib/postgresql/data

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
# uninstall
package_names = %w[Hardening PGP Leafcutter Metamigo]
package_names = %w[Hardening Leafcutter Metamigo]
package_names.each do |name|
puts "Attempting to uninstall #{name} package..."

4176
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "link-stack",
"version": "2.0.0b1",
"version": "2.0.0b2",
"description": "",
"main": "index.js",
"scripts": {
@ -34,7 +34,7 @@
"upgrade:setup": "npm i -g npm-check-updates",
"upgrade:check": "ncu && ncu -ws -x graphql -x postgraphile",
"upgrade:all": "ncu -u && ncu -ws -u -x graphql -x postgraphile && npm i",
"clean": "rm package-lock.json && rm -rf node_modules && rm -rf apps/*/node_modules && rm -rf packages/*/node_modules && rm -rf apps/*/.next"
"clean": "rm -f package-lock.json && rm -rf node_modules && rm -rf apps/*/node_modules && rm -rf packages/*/node_modules && rm -rf apps/*/.next && rm -rf packages/*/.turbo && rm -rf apps/*/.turbo && rm -rf docker/zammad/addons/*"
},
"packageManager": "npm@9.6.7",
"workspaces": [
@ -58,7 +58,7 @@
},
"devDependencies": {
"dotenv-cli": "latest",
"prettier": "^3.0.2"
"prettier": "^3.0.3"
},
"engines": {
"npm": ">=9.6.7",

View file

@ -9,12 +9,12 @@
"lint": "eslint index.js"
},
"dependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5"
"@babel/core": "7.22.15",
"@babel/preset-env": "7.22.15",
"@babel/preset-typescript": "7.22.15"
},
"peerDependencies": {},
"devDependencies": {
"eslint": "^8.47.0"
"eslint": "^8.48.0"
}
}

View file

@ -10,26 +10,26 @@
},
"dependencies": {
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-xo-space": "^0.34.0",
"eslint-plugin-cypress": "^2.14.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-import": "^2.28.1",
"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.1",
"@babel/eslint-parser": "7.22.10"
"@babel/eslint-parser": "7.22.15"
},
"peerDependencies": {
"eslint": "^7.32.0",
"typescript": "^4.9.5"
},
"devDependencies": {
"eslint": "^8.47.0",
"jest": "^29.6.2",
"typescript": "^5.1.6"
"eslint": "^8.48.0",
"jest": "^29.6.4",
"typescript": "^5.2.2"
}
}

View file

@ -9,7 +9,7 @@
"private": false,
"devDependencies": {
"@hapi/basic": "^7.0.2",
"@types/jest": "^29.5.3",
"@types/jest": "^29.5.4",
"babel-preset-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",
@ -19,7 +19,7 @@
"dependencies": {
"@hapi/hapi": "^21.3.2",
"@hapi/hoek": "^11.0.2",
"joi": "^17.9.2",
"joi": "^17.10.1",
"next-auth": "4.23.1"
},
"scripts": {

View file

@ -8,12 +8,13 @@
"license": "AGPL-3.0-or-later",
"private": false,
"devDependencies": {
"@types/jest": "^29.5.4",
"tsc-watch": "^6.0.4"
},
"dependencies": {
"@hapi/hapi": "^21.3.2",
"pg-monitor": "^2.0.0",
"pg-promise": "^11.5.3"
"pg-promise": "^11.5.4"
},
"scripts": {
"build": "tsc -p tsconfig.json",

View file

@ -9,8 +9,8 @@
"node": ">=14"
},
"dependencies": {
"@types/jest": "^29.5.3",
"jest": "^29.6.2",
"@types/jest": "^29.5.4",
"jest": "^29.6.4",
"jest-junit": "^16.0.0"
},
"peerDependencies": {}

View file

@ -9,49 +9,49 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/playfair-display": "^5.0.8",
"@fontsource/playfair-display": "^5.0.11",
"@fontsource/poppins": "^5.0.8",
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.140",
"@mui/lab": "^5.0.0-alpha.143",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^6.11.1",
"@mui/x-date-pickers-pro": "^6.11.1",
"@mui/x-data-grid-pro": "^6.12.1",
"@mui/x-date-pickers-pro": "^6.12.1",
"@opensearch-project/opensearch": "^2.3.1",
"date-fns": "^2.30.0",
"http-proxy-middleware": "^2.0.6",
"material-ui-popup-state": "^5.0.9",
"next": "13.4.16",
"next": "13.4.19",
"next-auth": "^4.23.1",
"next-http-proxy-middleware": "^1.2.5",
"nodemailer": "^6.9.4",
"nodemailer": "^6.9.5",
"react": "18.2.0",
"react-cookie": "^5.0.0",
"react-cookie": "^6.1.0",
"react-cookie-consent": "^8.0.1",
"react-dom": "18.2.0",
"react-iframe": "^1.8.5",
"react-markdown": "^8.0.7",
"react-polyglot": "^0.7.2",
"sharp": "^0.32.5",
"swr": "^2.2.1",
"tss-react": "^4.8.8",
"swr": "^2.2.2",
"tss-react": "^4.9.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@types/node": "^20.5.0",
"@types/react": "18.2.20",
"@types/uuid": "^9.0.2",
"@babel/core": "^7.22.15",
"@types/node": "^20.5.9",
"@types/react": "18.2.21",
"@types/uuid": "^9.0.3",
"babel-loader": "^9.1.3",
"eslint": "^8.47.0",
"eslint": "^8.48.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.4.16",
"eslint-config-next": "^13.4.19",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"file-loader": "^6.2.0",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}

File diff suppressed because one or more lines are too long

View file

@ -18,14 +18,14 @@
},
"devDependencies": {
"@types/figlet": "^1.5.6",
"@types/lodash": "^4.14.197",
"@types/lodash": "^4.14.198",
"@types/node": "*",
"@types/uuid": "^9.0.2",
"@types/uuid": "^9.0.3",
"camelcase-keys": "^9.0.0",
"pg-monitor": "^2.0.0",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@digiresilience/hapi-nextauth": "*",
@ -36,10 +36,10 @@
"@hapi/inert": "^7.1.0",
"@hapi/vision": "^7.0.3",
"@hapipal/schmervice": "^3.0.0",
"@promster/hapi": "^8.0.6",
"@promster/server": "^7.0.8",
"@promster/types": "^3.2.5",
"@types/convict": "^6.1.3",
"@promster/hapi": "^10.0.1",
"@promster/server": "^9.0.0",
"@promster/types": "^5.0.0",
"@types/convict": "^6.1.4",
"@types/hapi__glue": "^6.1.6",
"@types/hapi__hapi": "^20.0.13",
"@types/hapi__inert": "^5.2.6",
@ -52,10 +52,10 @@
"figlet": "^1.6.0",
"hapi-pino": "^12.1.0",
"http-terminator": "^3.2.0",
"joi": "^17.9.2",
"joi": "^17.10.1",
"lodash": "^4.17.21",
"next-auth": "^4.23.1",
"pg-promise": "^11.5.3",
"pg-promise": "^11.5.4",
"pino": "^8.15.0",
"pino-pretty": "^10.2.0",
"prom-client": "^14.x.x",

View file

@ -10,16 +10,16 @@
"@digiresilience/montar": "*"
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5",
"eslint": "^8.47.0",
"@babel/core": "7.22.15",
"@babel/preset-env": "7.22.15",
"@babel/preset-typescript": "7.22.15",
"eslint": "^8.48.0",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"files": [
"build",

View file

@ -13,22 +13,22 @@
"graphile-migrate": "^1.4.1",
"graphql": "15.8.0",
"postgraphile": "4.13.0",
"pg-promise": "^11.5.3"
"pg-promise": "^11.5.4"
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5",
"@types/jest": "^29.5.3",
"eslint": "^8.47.0",
"jest": "^29.6.2",
"@babel/core": "7.22.15",
"@babel/preset-env": "7.22.15",
"@babel/preset-typescript": "7.22.15",
"@types/jest": "^29.5.4",
"eslint": "^8.48.0",
"jest": "^29.6.4",
"jest-junit": "^16.0.0",
"pino-pretty": "^10.2.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"scripts": {
"build": "tsc -p tsconfig.json",

View file

@ -23,7 +23,7 @@
"node": ">=14"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/jest": "^29.5.4",
"babel-preset-link": "*",
"eslint-config-link": "*",
"jest-config-link": "*",

View file

@ -33,7 +33,7 @@
"jest-config-link": "*",
"tsc-watch": "^6.0.4",
"tsconfig-link": "*",
"typedoc": "^0.24.8"
"typedoc": "^0.25.1"
},
"dependencies": {
"backoff": "^2.5.0",

View file

@ -4,7 +4,6 @@
"version": "2.0.0",
"description": "Adds PGP integration into [Zammad](https://zammad.org) via [Sequoia](https://sequoia-pgp.org).",
"scripts": {
"build": "node ../../node_modules/zammad-addon-common/dist/build.js",
"migrate": "node ../../node_modules/zammad-addon-common/dist/migrate.js"
},
"dependencies": {