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 11, 2024
1 parent 1211cfe commit de3fc4d
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": "^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",
Expand Down

0 comments on commit de3fc4d

Please sign in to comment.