Skip to content

Commit

Permalink
fix(validation): Yup/Zod as optional dependencies (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion authored Aug 13, 2023
1 parent f6ad268 commit 338d6dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
"semantic-release-yarn": "^2.0.0",
"sinon": "^15.2.0",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"typescript": "^5.1.6"
},
"optionalDependencies": {
"yup": "^1.2.0",
"zod": "^3.21.4"
},
Expand Down
1 change: 1 addition & 0 deletions packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
],
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
"react-native": "./src/main.ts",
"files": [
"dist/",
"src/"
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,11 @@ __metadata:
react: ">=16.8.0"
yup: ">=1.0.0"
zod: ">=3.0.0"
dependenciesMeta:
yup:
optional: true
zod:
optional: true
peerDependenciesMeta:
react:
optional: false
Expand Down

0 comments on commit 338d6dc

Please sign in to comment.