From 423182e50171c3468c34efaa7d65222ac794fabc Mon Sep 17 00:00:00 2001 From: mayakoneval Date: Tue, 12 Jul 2022 08:27:43 -0700 Subject: [PATCH] =?UTF-8?q?semi=20urgent=20=F0=9F=90=9B=20move=20dependenc?= =?UTF-8?q?ies=20into=20individual=20package.jsons=20(#144)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * move dependencies into individual package.jsons * add changeset --- .changeset/hungry-tools-chew.md | 6 ++++++ package-lock.json | 26 ++++++++++++++++++-------- package.json | 2 -- packages/explorer/package.json | 5 ++++- packages/sandbox/package.json | 5 ++++- 5 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 .changeset/hungry-tools-chew.md diff --git a/.changeset/hungry-tools-chew.md b/.changeset/hungry-tools-chew.md new file mode 100644 index 00000000..7ebec272 --- /dev/null +++ b/.changeset/hungry-tools-chew.md @@ -0,0 +1,6 @@ +--- +'@apollo/explorer': patch +'@apollo/sandbox': patch +--- + +fix dependency issue - move required deps into individual package jsons, not root package jsons diff --git a/package-lock.json b/package-lock.json index 38f8331c..f3876ab4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,10 +12,6 @@ "packages/explorer", "packages/sandbox" ], - "dependencies": { - "graphql-ws": "^5.9.0", - "subscriptions-transport-ws": "^0.11.0" - }, "devDependencies": { "@babel/core": "^7.18.5", "@changesets/changelog-github": "0.4.4", @@ -9847,8 +9843,12 @@ }, "packages/explorer": { "name": "@apollo/explorer", - "version": "0.6.0", + "version": "1.1.0", "license": "MIT", + "dependencies": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + }, "engines": { "node": ">=12.0", "npm": ">=7.0" @@ -9872,8 +9872,12 @@ }, "packages/sandbox": { "name": "@apollo/sandbox", - "version": "0.6.0", + "version": "0.2.0", "license": "MIT", + "dependencies": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + }, "engines": { "node": ">=12.0", "npm": ">=7.0" @@ -9903,11 +9907,17 @@ }, "@apollo/explorer": { "version": "file:packages/explorer", - "requires": {} + "requires": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + } }, "@apollo/sandbox": { "version": "file:packages/sandbox", - "requires": {} + "requires": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + } }, "@babel/code-frame": { "version": "7.16.7", diff --git a/package.json b/package.json index 4de67fd8..f1041966 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,5 @@ "typescript": "3.9.10" }, "dependencies": { - "graphql-ws": "^5.9.0", - "subscriptions-transport-ws": "^0.11.0" } } diff --git a/packages/explorer/package.json b/packages/explorer/package.json index ccd59e9d..b89ada28 100644 --- a/packages/explorer/package.json +++ b/packages/explorer/package.json @@ -64,5 +64,8 @@ "optional": true } }, - "dependencies": {} + "dependencies": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + } } \ No newline at end of file diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 7870e825..61cc4329 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -60,5 +60,8 @@ "optional": true } }, - "dependencies": {} + "dependencies": { + "graphql-ws": "^5.9.0", + "subscriptions-transport-ws": "^0.11.0" + } } \ No newline at end of file