Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: split infoview API into separate package #93

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

Vtec234
Copy link
Member

@Vtec234 Vtec234 commented Dec 28, 2021

Related to the discussion on #80. We should not import all of @lean4/infoview from the extension host (a Node.js environment) since it references browser APIs, but we need part of it. According to here, this split is best achieved with an actual split into two packages rather than the browser/main fields of package.json. So this introduces @lean4/infoview-api with just a few types and interfaces.

@gebner
Copy link
Member

gebner commented Dec 29, 2021

Thanks!

@gebner gebner merged commit 6b33f25 into leanprover:master Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants