From bb4e36d2a5efaeb8cbaada94acc7d197811c5cc7 Mon Sep 17 00:00:00 2001 From: Lennart Date: Wed, 6 Mar 2024 16:58:14 +0100 Subject: [PATCH] fix(elements): PeerDeps again... (#2944) * Revert "fix(elements): Remove Core 2 Beta peerDeps (#2943)" This reverts commit bf4d73ebcf3bce63e9048f081887879ad8435561. * fix(elements): Fixup peerDeps again * chore(elements): Changeset * chore(elements): Changeset * chore(elements): Remove * chore(elements): Changeset * empty changeset --- ...{brown-nails-worry.md => modern-starfishes-rush.md} | 0 .changeset/wild-hats-sin.md | 2 ++ packages/elements/package.json | 10 +++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) rename .changeset/{brown-nails-worry.md => modern-starfishes-rush.md} (100%) create mode 100644 .changeset/wild-hats-sin.md diff --git a/.changeset/brown-nails-worry.md b/.changeset/modern-starfishes-rush.md similarity index 100% rename from .changeset/brown-nails-worry.md rename to .changeset/modern-starfishes-rush.md diff --git a/.changeset/wild-hats-sin.md b/.changeset/wild-hats-sin.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/wild-hats-sin.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/elements/package.json b/packages/elements/package.json index 8368d5bc14c..335d9e510e1 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@clerk/elements", - "version": "0.1.20", + "version": "0.1.21", "description": "Clerk Elements", "keywords": [ "clerk", @@ -88,11 +88,19 @@ "typescript": "^5.3.3" }, "peerDependencies": { + "@clerk/clerk-react": "^5.0.0-beta", + "@clerk/shared": "^2.0.0-beta", "next": "^13.0.4 || ^14.0.3", "react": ">=18", "react-dom": ">=18" }, "peerDependenciesMeta": { + "@clerk/clerk-react": { + "optional": true + }, + "@clerk/shared": { + "optional": true + }, "next": { "optional": true }