From cd8396a31e92bc057aec2e9b72ed7b81a5a28914 Mon Sep 17 00:00:00 2001 From: "jules.poissonnet" Date: Mon, 13 May 2024 17:03:38 +0200 Subject: [PATCH] chore(deps): widen peerDependencies for react and @hookform/devtools --- 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" }