Skip to content

Conversation

@JumpLink
Copy link
Contributor

@JumpLink JumpLink commented Dec 3, 2020

Fixes yarn 2 issue: Cannot find module '@octokit/core' or its corresponding type declarations.

fix #207

I have tested is with my current project and it seems to be working.
The issue in my yarn 2 project has disappeared after linking to my local fork with this changes. I can also build @octokit/plugin-rest-endpoint-methods and I can run the rest:

image

@gr2m gr2m added the Type: Bug Something isn't working as documented label Dec 3, 2020
@JumpLink
Copy link
Contributor Author

JumpLink commented Dec 3, 2020

@gr2m I have implemented your change requests and still work with yarn 2

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pascal!

@gr2m gr2m changed the title [yarn 2] fix(package): add @octokit/core as peer dependency fix(package): add @octokit/core as peer dependency Dec 3, 2020
@gr2m gr2m merged commit 6c7f7da into octokit:master Dec 3, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2020

🎉 This PR is included in version 4.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add @octokit/core as peerDependency

2 participants