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

core: fix runtime-import-check errors #10418

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

vince-fugnitto
Copy link
Member

What it does

The pull-request resolves runtime-import-check errors from core by moving relevant code under their proper runtimes (browser vs common vs node). The changes attempt to not introduce too much breaking functionality by re-exporting with a note about deprecation. Fixing the runtime-import-check errors are important to ensure that downstream applications do not run into problems where they import themselves from packages that are designed to work for that runtime (but are incorrectly declared by us).

How to test

There should not be a change in functionality:

  • CI - build, linting, and tests should pass

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto [email protected]

@vince-fugnitto vince-fugnitto added the quality issues related to code and application quality label Nov 15, 2021
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

LGTM! CI is passing everywhere and the changes don't seem to cause any regressions after manual inspection.

The code resolves `runtime-import-check` errors present in
`@theia/core`. The changes attempt to not introduce too many breaking
changes by exporting `common` functionalities from the existing files.

Signed-off-by: vince-fugnitto <[email protected]>
@vince-fugnitto
Copy link
Member Author

@paul-marechal do you have any feedback on the approach taken in the pull-request, or would it be fine to merge?

@paul-marechal paul-marechal merged commit 10c38b4 into master Nov 23, 2021
@paul-marechal paul-marechal deleted the vf/runtime-import-check-core branch November 23, 2021 17:59
@github-actions github-actions bot added this to the 1.20.0 milestone Nov 23, 2021
@alvsan09 alvsan09 mentioned this pull request May 30, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality issues related to code and application quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants