From de3fc4d5d916c70fb8f53524c6dd165270a9482b Mon Sep 17 00:00:00 2001 From: thiemok Date: Thu, 11 Apr 2024 15:18:33 +0200 Subject: [PATCH] fix(deps): add missing optional peer dependencies A couple of optional peer dependencies were not declared in the package.json. This prevents compatibility with modern versions of yarn, since yarn will block access to undecalred dependencies. This adds the missing peer dependencies and marks them as optional so they only need to be installed when actually required --- package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package.json b/package.json index 3441ccd..a88328c 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,22 @@ "dependencies": { "lodash": "^4.17.21" }, + "peerDependencies": { + "swagger-ui-dist": "^5.10.5", + "koa-static": "^5.0.0", + "koa-mount": "^4.0.0" + }, + "peerDependenciesMeta": { + "swagger-ui-dist": { + "optional": true + }, + "koa-static": { + "optional": true + }, + "koa-mount": { + "optional": true + } + }, "devDependencies": { "@feathersjs/express": "^5.0.12", "@feathersjs/feathers": "^5.0.12",