From 766738e0ea8f5e45739e0ffc4248f132f6313957 Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Fri, 29 Dec 2023 18:06:26 +0530 Subject: [PATCH] fix(auth.js): added react as peer (#330) * added react as peer * added Changeset * update yarn.lock * Update beige-sloths-raise.md --- .changeset/beige-sloths-raise.md | 5 +++++ packages/auth-js/package.json | 3 ++- yarn.lock | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/beige-sloths-raise.md diff --git a/.changeset/beige-sloths-raise.md b/.changeset/beige-sloths-raise.md new file mode 100644 index 00000000..0a68861c --- /dev/null +++ b/.changeset/beige-sloths-raise.md @@ -0,0 +1,5 @@ +--- +'@hono/auth-js': patch +--- + +added react as peer dependency diff --git a/packages/auth-js/package.json b/packages/auth-js/package.json index fc6a7439..cbdcd5ac 100644 --- a/packages/auth-js/package.json +++ b/packages/auth-js/package.json @@ -53,7 +53,8 @@ "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "@auth/core": "0.*", - "hono": "3.*" + "hono": "3.*", + "react": ">=18" }, "devDependencies": { "@auth/core": "^0.19.0", diff --git a/yarn.lock b/yarn.lock index 35e24fd3..bac29ca5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1361,6 +1361,7 @@ __metadata: peerDependencies: "@auth/core": 0.* hono: 3.* + react: ">=18" languageName: unknown linkType: soft