Align node and npm versions to fix overrides

This commit is contained in:
Abel Luck 2023-06-07 10:24:48 +00:00
parent 754131fbe1
commit ffee8f42e4
8 changed files with 1564 additions and 2966 deletions

View file

@ -29,14 +29,13 @@
"graphile-worker": "^0.13.0",
"hapi-auth-bearer-token": "^8.0.0",
"hapi-auth-jwt2": "^10.4.0",
"hapi-postgraphile": "^0.11.0",
"hapi-swagger": "^16.0.1",
"joi": "^17.9.2",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"long": "^5.2.3",
"p-memoize": "^7.1.1",
"pg": "^7.4.1",
"pg": "^8.11.0",
"pg-monitor": "^2.0.0",
"pg-promise": "^11.4.3",
"postgraphile-plugin-connection-filter": "^2.3.0",

View file

@ -2,8 +2,8 @@ import * as Glue from "@hapi/glue";
import * as Metamigo from "@digiresilience/metamigo-common";
import * as Blipp from "blipp";
import HapiBasic from "@hapi/basic";
import HapiJwt from "hapi-auth-jwt2";
import HapiPostgraphile from "hapi-postgraphile";
//import HapiJwt from "hapi-auth-jwt2";
//import HapiPostgraphile from "hapi-postgraphile";
import { getPostGraphileOptions } from "@digiresilience/metamigo-db";
import AppPlugin from "../app/index.js";
import type { IAppConfig } from "../config.js";
@ -25,7 +25,7 @@ const build = async (config: IAppConfig): Promise<Glue.Manifest> => {
register: {
plugins: [
// jwt plugin, required for our jwt auth plugin
{ plugin: HapiJwt },
//{ plugin: HapiJwt },
// Blipp prints the nicely formatted list of endpoints at app boot
{ plugin: Blipp },
@ -44,6 +44,8 @@ const build = async (config: IAppConfig): Promise<Glue.Manifest> => {
},
},
// load Postgraphile
/*
{
plugin: HapiPostgraphile,
options: {
@ -67,6 +69,7 @@ const build = async (config: IAppConfig): Promise<Glue.Manifest> => {
},
},
},
*/
],
},
};