From f03bf102ddea923babb5095c9d7a3ab8ded34ee5 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Thu, 27 May 2021 20:11:34 -0400 Subject: [PATCH 1/2] Widen peer dependency range to include prereleases --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ce71ad3..1ed4c31 100644 --- a/package.json +++ b/package.json @@ -70,10 +70,10 @@ "typescript": "^4.2.3" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0", - "@storybook/react": "^6.0.0", - "@storybook/addons": "^6.0.0", - "@storybook/client-api": "^6.0.0" + "react": ">=16.8.0", + "@storybook/react": ">=6.0.0", + "@storybook/addons": ">=6.0.0", + "@storybook/client-api": ">=6.0.0" }, "resolutions": { "**/typescript": "^4.2.3" From e11efee546b9cb6a2310c7cd8874b93e06890140 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Thu, 3 Jun 2021 00:01:00 -0400 Subject: [PATCH 2/2] Use more complicated peer dependency range --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1ed4c31..f69db17 100644 --- a/package.json +++ b/package.json @@ -70,10 +70,10 @@ "typescript": "^4.2.3" }, "peerDependencies": { - "react": ">=16.8.0", - "@storybook/react": ">=6.0.0", - "@storybook/addons": ">=6.0.0", - "@storybook/client-api": ">=6.0.0" + "react": "^16.8.0 || ^17.0.0", + "@storybook/react": "^6 || >=6.0.0-0 || >=6.1.0-0 || >=6.2.0-0 || >=6.3.0-0 ", + "@storybook/addons": "^6 || >=6.0.0-0 || >=6.1.0-0 || >=6.2.0-0 || >=6.3.0-0 ", + "@storybook/client-api": "^6 || >=6.0.0-0 || >=6.1.0-0 || >=6.2.0-0 || >=6.3.0-0 " }, "resolutions": { "**/typescript": "^4.2.3"