-
Notifications
You must be signed in to change notification settings - Fork 460
chore(astro): Move all *.astro components under /components #3705
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
Merged
panteliselef
merged 7 commits into
main
from
elef/eco-32-simplify-submodules-components
Jul 12, 2024
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d17c4f5
chore(astro): Simplify submodules and drop `bundled` variant
panteliselef f289a58
chore(astro): Add changeset
panteliselef 0928858
chore(astro): Move all *.astro components under `/components`
panteliselef 9975937
chore(astro): Add changeset
panteliselef 3106ab1
chore(astro): Add changeset
panteliselef 551a650
chore(astro): Fix linting
panteliselef 6ee1eea
Merge branch 'main' into elef/eco-32-simplify-submodules-components
panteliselef File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| "@clerk/astro": patch | ||
| --- | ||
|
|
||
| Move `@clerk/astro/components/*` to `@clerk/astro/components` | ||
|
|
||
| ```diff | ||
| - import { UserProfile } from "@clerk/astro/components/interactive" | ||
| + import { UserProfile } from "@clerk/astro/components" | ||
|
|
||
| - import { Protect } from "@clerk/astro/components/control" | ||
| + import { Protect } from "@clerk/astro/components" | ||
|
|
||
| - import { SignInButton } from "@clerk/astro/components/unstyled" | ||
| + import { SignInButton } from "@clerk/astro/components" | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
integration/templates/astro-node/src/pages/only-admins-react.astro
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
integration/templates/astro-node/src/pages/only-members-react.astro
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /** | ||
| * Control Components | ||
| */ | ||
| export { default as SignedIn } from './control/SignedIn.astro'; | ||
| export { default as SignedOut } from './control/SignedOut.astro'; | ||
| export { default as Protect } from './control/Protect.astro'; | ||
|
|
||
| /** | ||
| * Unstyled Components | ||
| */ | ||
| export { default as SignInButton } from './unstyled/SignInButton.astro'; | ||
| export { default as SignUpButton } from './unstyled/SignUpButton.astro'; | ||
| export { default as SignOutButton } from './unstyled/SignOutButton.astro'; | ||
|
|
||
| /** | ||
| * UI Components | ||
| */ | ||
| export { default as SignIn } from './interactive/SignIn.astro'; | ||
| export { default as SignUp } from './interactive/SignUp.astro'; | ||
| export { default as UserButton } from './interactive/UserButton.astro'; | ||
| export { default as UserProfile } from './interactive/UserProfile.astro'; | ||
| export { default as OrganizationProfile } from './interactive/OrganizationProfile.astro'; | ||
| export { default as OrganizationSwitcher } from './interactive/OrganizationSwitcher.astro'; | ||
| export { default as OrganizationList } from './interactive/OrganizationList.astro'; | ||
| export { default as GoogleOneTap } from './interactive/GoogleOneTap.astro'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh this is so much easier to grasp <3