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: import sort source code, exception for the astro package #10242

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

ematipico
Copy link
Member

Changes

This PR applies import sorting to our source code, exception for the astro package.

The only file that I manually changed was packages/integrations/lit/server.js, where I "pinned" the shim at the top of the file, by adding a space.

Testing

The CI should pass

Docs

N/A, internal code change

Copy link

changeset-bot bot commented Feb 27, 2024

⚠️ No Changeset found

Latest commit: 42b8e2f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added feat: markdown Related to Markdown (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope) pkg: react Related to React (scope) pkg: preact Related to Preact (scope) pkg: solid Related to Solid (scope) pkg: lit Related to Lit (scope) pkg: integration Related to any renderer integration (scope) pkg: create-astro Related to the `create-astro` package (scope) labels Feb 27, 2024
@ematipico ematipico requested a review from a team February 27, 2024 08:48
@@ -1,6 +1,6 @@
import type { AstroIntegrationLogger } from 'astro';
import { relative, relative as relativePath } from 'node:path';
Copy link
Member

Choose a reason for hiding this comment

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

Weird

Copy link
Member Author

Choose a reason for hiding this comment

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

I submitted a bug in the Biome repository. The code, even though weird, is correct. Biome forgets the as import.

Hopefully this change won't break the adapter logic!

Copy link
Member

@Princesseuh Princesseuh left a comment

Choose a reason for hiding this comment

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

Looks great to me!

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
@ematipico ematipico merged commit 2dd00a0 into main Feb 27, 2024
13 checks passed
@ematipico ematipico deleted the chore/import-sorting-source-code branch February 27, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: markdown Related to Markdown (scope) pkg: create-astro Related to the `create-astro` package (scope) pkg: integration Related to any renderer integration (scope) pkg: lit Related to Lit (scope) pkg: preact Related to Preact (scope) pkg: react Related to React (scope) pkg: solid Related to Solid (scope) pkg: svelte Related to Svelte (scope) pkg: vue Related to Vue (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants