Skip to content

Commit

Permalink
fix(package): add @octokit/core as peer dependency to resolve probl…
Browse files Browse the repository at this point in the history
…ems with yarn 2 (#130)
  • Loading branch information
gr2m authored Aug 26, 2020
1 parent 9d9561f commit ebb1854
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"dependencies": {
"@octokit/types": "^5.3.0"
},
"peerDependencies": {
"@octokit/core": ">=3"
},
"devDependencies": {
"@octokit/core": "^3.0.0",
"@octokit/plugin-rest-endpoint-methods": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { iterator } from "./iterator";
import { PaginateInterface } from "./types";
export { PaginateInterface } from "./types";

import { Octokit } from "@octokit/core";
import type { Octokit } from "@octokit/core";

/**
* @param octokit Octokit instance
Expand Down

0 comments on commit ebb1854

Please sign in to comment.