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

Remove dist/ JS imports #928

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Remove dist/ JS imports #928

merged 2 commits into from
Feb 24, 2025

Conversation

emersion
Copy link
Member

Instead, import from the package itself. That way we can ensure
we're only importing public API and we're not messing with
internal types.

Drop the eslint-disable import/no-unresolved comments, because
these errors aren't triggered anymore.

See individual commits.

@emersion emersion requested a review from a team as a code owner February 24, 2025 10:46
These are effectively public API, because they are referenced from
SpaceTimeChartProps.

Signed-off-by: Simon Ser <[email protected]>
Instead, import from the package itself. That way we can ensure
we're only importing public API and we're not messing with
internal types.

Drop the eslint-disable import/no-unresolved comments, because
these errors aren't triggered anymore.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion force-pushed the emr/no-dist-imports branch from 9cb3b0a to 1f50f2a Compare February 24, 2025 13:44
@jacomyal
Copy link
Contributor

LGTM 👍

@emersion emersion added this pull request to the merge queue Feb 24, 2025
Merged via the queue into dev with commit 0e3d41d Feb 24, 2025
6 checks passed
@emersion emersion deleted the emr/no-dist-imports branch February 24, 2025 16:26
emersion added a commit that referenced this pull request Feb 25, 2025
Follow-up for #928: I missed one.

Signed-off-by: Simon Ser <[email protected]>
emersion added a commit that referenced this pull request Feb 25, 2025
Follow-up for #928: I missed one.

Signed-off-by: Simon Ser <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Feb 26, 2025
Follow-up for #928: I missed one.

Signed-off-by: Simon Ser <[email protected]>
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.

3 participants