Skip to content

Commit 49363fe

Browse files
committed
set joi as peerDependencies
1 parent 4ecb7be commit 49363fe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Installation
1010

1111
```sh
12-
$ npm install koa-context-validator
12+
$ npm install koa-context-validator joi
1313
```
1414

1515
## Usage

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"prettier": "prettier --write --list-different .",
2222
"prettier:check": "prettier --check ."
2323
},
24-
"dependencies": {
25-
"joi": "^17.4.2"
24+
"peerDependencies": {
25+
"joi": ">= 17.4.2"
2626
},
2727
"devDependencies": {
2828
"@babel/cli": "^7.14.8",
@@ -35,6 +35,7 @@
3535
"eslint-plugin-import": "^2.24.0",
3636
"husky": "^7.0.1",
3737
"jest": "^27.0.6",
38+
"joi": "^17.4.2",
3839
"koa": "^2.13.1",
3940
"koa-bodyparser": "^4.3.0",
4041
"koa-compose": "^4.1.0",

0 commit comments

Comments
 (0)