From e2f1dca1c5becfda50b47ada31bbd1da72c5c5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Mon, 11 Nov 2019 21:39:30 +0100 Subject: [PATCH 1/2] Adds missing peer dependencies to ssr --- packages/ssr/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ssr/package.json b/packages/ssr/package.json index 9a37ced1f5..f4e02c3b78 100644 --- a/packages/ssr/package.json +++ b/packages/ssr/package.json @@ -36,12 +36,16 @@ "test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/ssr" }, "peerDependencies": { + "apollo-client": "^2.6.4", "react": "^16.8.0", "react-dom": "^16.8.0" }, "dependencies": { "@apollo/react-common": "file:../common", "@apollo/react-hooks": "file:../hooks", + "@types/react": "^16.8.0", + "apollo-utilities": "^1.3.2", + "graphql": "^14.3.1", "tslib": "^1.10.0" }, "files": [ From 2ae438c02ed600db48071695a37792d38908b9fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Mon, 11 Nov 2019 21:44:34 +0100 Subject: [PATCH 2/2] Update package.json --- packages/ssr/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ssr/package.json b/packages/ssr/package.json index f4e02c3b78..8aac127d55 100644 --- a/packages/ssr/package.json +++ b/packages/ssr/package.json @@ -37,6 +37,7 @@ }, "peerDependencies": { "apollo-client": "^2.6.4", + "graphql": "^14.3.1", "react": "^16.8.0", "react-dom": "^16.8.0" }, @@ -45,7 +46,6 @@ "@apollo/react-hooks": "file:../hooks", "@types/react": "^16.8.0", "apollo-utilities": "^1.3.2", - "graphql": "^14.3.1", "tslib": "^1.10.0" }, "files": [