Skip to content

chore(astro): Move all *.astro components under /components - #3705

Merged
panteliselef merged 7 commits into
mainfrom
elef/eco-32-simplify-submodules-components
Jul 12, 2024
Merged

chore(astro): Move all *.astro components under /components#3705
panteliselef merged 7 commits into
mainfrom
elef/eco-32-simplify-submodules-components

Conversation

@panteliselef

@panteliselef panteliselef commented Jul 12, 2024

Copy link
Copy Markdown
Contributor

Description

Move @clerk/astro/components/* to @clerk/astro/components

- 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"

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Jul 12, 2024
@changeset-bot

changeset-bot Bot commented Jul 12, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6ee1eea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/astro Patch

Not sure what this means? Click here to learn what changesets are.

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

@panteliselef

Copy link
Copy Markdown
Contributor Author

!snapshot

@clerk-cookie

Copy link
Copy Markdown
Collaborator

Hey @panteliselef - the snapshot version command generated the following package versions:

Package Version
@clerk/astro 0.0.3-snapshot.v946ce16
gatsby-plugin-clerk 5.0.0-beta.45

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/astro

npm i @clerk/astro@0.0.3-snapshot.v946ce16 --save-exact

gatsby-plugin-clerk

npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact

Base automatically changed from elef/eco-32-simplify-submodules-and-drop-bundled-variant to main July 12, 2024 17:51
@panteliselef
panteliselef force-pushed the elef/eco-32-simplify-submodules-components branch from 946ce16 to 9975937 Compare July 12, 2024 18:12
@panteliselef
panteliselef marked this pull request as ready for review July 12, 2024 18:17
"./components/unstyled": "./components/unstyled/index.ts",
"./components/unstyled/*": "./components/unstyled/*",
"./components/*": "./components/*",
"./components": "./components/index.ts",

@wobsoriano wobsoriano Jul 12, 2024

Copy link
Copy Markdown
Member

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

Comment thread packages/astro/tsconfig.json

@wobsoriano wobsoriano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just have a minor question but this is good to go

@panteliselef
panteliselef merged commit 5d7d0ba into main Jul 12, 2024
@panteliselef
panteliselef deleted the elef/eco-32-simplify-submodules-components branch July 12, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants