From 14ede15b3d6ceca91af040898a5b32e874a1280b Mon Sep 17 00:00:00 2001 From: Aaron Adams Date: Fri, 11 Feb 2022 11:48:26 +0100 Subject: [PATCH] Add missing peer dependencies to Gatsby package Fixes #4549 by copying missing peer dependencies from `packages/nextjs/package.json`. --- packages/gatsby/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 703e91864255..00d152cb9899 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -31,7 +31,9 @@ "@sentry/webpack-plugin": "1.18.5" }, "peerDependencies": { - "gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0" + "gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0", + "react": "15.x || 16.x || 17.x", + "webpack": ">= 4.0.0" }, "devDependencies": { "@sentry/types": "6.17.6",