From 0f8d66e5e94de6e30d70defead43137414eed387 Mon Sep 17 00:00:00 2001 From: art-and-code-studio Date: Thu, 3 Dec 2020 10:44:54 +0100 Subject: [PATCH 1/2] fix(package): add as peer dependency for yarn 2 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 86eb26c1..652d0c27 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ }, "devDependencies": { "@gimenete/type-writer": "^0.1.5", - "@octokit/core": "^3.0.0", "@octokit/graphql": "^4.3.1", "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -54,6 +53,9 @@ "ts-jest": "^26.1.3", "typescript": "^4.0.2" }, + "peerDependencies": { + "@octokit/core": "^3.0.0" + }, "jest": { "preset": "ts-jest", "coverageThreshold": { From b7802e6980b854eb11f2563a0a0b895524b902c4 Mon Sep 17 00:00:00 2001 From: art-and-code-studio Date: Thu, 3 Dec 2020 22:25:31 +0100 Subject: [PATCH 2/2] fix(package): read to dev dependency --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f0d6ea2..321a5251 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ }, "devDependencies": { "@gimenete/type-writer": "^0.1.5", + "@octokit/core": "^3.0.0", "@octokit/graphql": "^4.3.1", "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -54,7 +55,7 @@ "typescript": "^4.0.2" }, "peerDependencies": { - "@octokit/core": "^3.0.0" + "@octokit/core": ">=3" }, "jest": { "preset": "ts-jest",