Skip to content

Commit

Permalink
fix: class-validator and class-transformer should be peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Val-istar-Guo committed Jan 20, 2024
1 parent d3dfad4 commit 89bd0dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"@types/ramda": "^0.29.9",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
Expand All @@ -55,14 +57,14 @@
"packageManager": "pnpm@8.14.0",
"dependencies": {
"change-case-all": "^2.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"dotenv": "^16.3.1",
"object-path": "^0.11.8",
"ramda": "^0.29.1",
"type-fest": "^4.9.0"
},
"peerDependencies": {
"@nestjs/common": "^10.3.0"
"@nestjs/common": "^10",
"class-transformer": "*",
"class-validator": "*"
}
}

0 comments on commit 89bd0dd

Please sign in to comment.