Skip to content

Commit

Permalink
fix(deps): add missing optional peer dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thiemok committed Apr 12, 2024
1 parent 1211cfe commit 64cfcdc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@
"dependencies": {
"lodash": "^4.17.21"
},
"peerDependencies": {
"swagger-ui-dist": ">=4.9.0",
"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",
Expand Down

0 comments on commit 64cfcdc

Please sign in to comment.