From e7ff7de309720102bf6294f9358eef171547b23f Mon Sep 17 00:00:00 2001 From: Jules Poissonnet <72744048+jpoissonnet@users.noreply.github.com> Date: Wed, 15 May 2024 10:40:31 +0200 Subject: [PATCH] chore(deps): widen peerDependencies for react and @hookform/devtools (#101) --- libs/form-builder/package.json | 2 +- libs/form-context/package.json | 2 +- libs/form-redux/package.json | 4 ++-- libs/form-validation-rule-list/package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/form-builder/package.json b/libs/form-builder/package.json index 4aed826..fa01208 100644 --- a/libs/form-builder/package.json +++ b/libs/form-builder/package.json @@ -5,7 +5,7 @@ "react-hook-form": "7.27.0" }, "peerDependencies": { - "react": "17.0.2" + "react": "17.0.2 || ^18.0.0" }, "devDependencies": { "@testing-library/react": "11.2.6", diff --git a/libs/form-context/package.json b/libs/form-context/package.json index a0d03ae..cb1d490 100644 --- a/libs/form-context/package.json +++ b/libs/form-context/package.json @@ -2,7 +2,7 @@ "name": "@bedrockstreaming/form-context", "version": "0.9.1", "peerDependencies": { - "react": "17.0.2", + "react": "17.0.2 || ^18.0.0", "@bedrockstreaming/form-builder": "0.8.1", "react-hook-form": "7.27.0" }, diff --git a/libs/form-redux/package.json b/libs/form-redux/package.json index ee8f637..cdc2831 100644 --- a/libs/form-redux/package.json +++ b/libs/form-redux/package.json @@ -3,8 +3,8 @@ "version": "0.9.1", "peerDependencies": { "@bedrockstreaming/form-builder": "0.8.1", - "@hookform/devtools": "4.0.2", - "react": "17.0.2", + "@hookform/devtools": "^4.0.2", + "react": "17.0.2 || ^18.0.0", "react-hook-form": "7.27.0" }, "devDependencies": { diff --git a/libs/form-validation-rule-list/package.json b/libs/form-validation-rule-list/package.json index a87f683..5e52422 100644 --- a/libs/form-validation-rule-list/package.json +++ b/libs/form-validation-rule-list/package.json @@ -3,7 +3,7 @@ "version": "0.9.1", "dependencies": {}, "peerDependencies": { - "react": "17.0.2", + "react": "17.0.2 || ^18.0.0", "@bedrockstreaming/form-builder": "0.8.1", "react-hook-form": "7.27.0" }