Skip to content

chore(astro): Simplify submodules and drop bundled variant - #3701

Merged
panteliselef merged 4 commits into
mainfrom
elef/eco-32-simplify-submodules-and-drop-bundled-variant
Jul 12, 2024
Merged

chore(astro): Simplify submodules and drop bundled variant#3701
panteliselef merged 4 commits into
mainfrom
elef/eco-32-simplify-submodules-and-drop-bundled-variant

Conversation

@panteliselef

@panteliselef panteliselef commented Jul 12, 2024

Copy link
Copy Markdown
Contributor

Description

Simplify submodules and drop the bunlded variant.

Moved

  • @clerk/astro/client/react to @clerk/astro/react
    Dropped
  • @clerk/astro/bundled
  • @clerk/astro/client/bundled
  • @clerk/astro/internal/bundled
  • @clerk/astro/integration
  • @clerk/astro/integration/bundled

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:

@changeset-bot

changeset-bot Bot commented Jul 12, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2dd9cdc

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
panteliselef force-pushed the elef/eco-32-simplify-submodules-and-drop-bundled-variant branch from 8e420ba to a62d8ff Compare July 12, 2024 13:18
@panteliselef
panteliselef marked this pull request as ready for review July 12, 2024 15:48
@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.va62d8ff
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.va62d8ff --save-exact

gatsby-plugin-clerk

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

Comment thread packages/astro/package.json Outdated
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
},
"./client/stores": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

❓ Are we going to keep /client/stores as a separate export?
Why don't we merge it into /client?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hmmm, i think we can do that yeah. @wobsoriano WDYT ?

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.

It makes sense since:

  1. They will know it should only be used in client
  2. We have a store suffix (i.e. $authStore) so they will know immediately that it is a nanostore

@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.

Love it 🚀

@panteliselef
panteliselef enabled auto-merge (squash) July 12, 2024 17:42
@panteliselef
panteliselef merged commit 83eefc6 into main Jul 12, 2024
@panteliselef
panteliselef deleted the elef/eco-32-simplify-submodules-and-drop-bundled-variant branch July 12, 2024 17:51
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.

4 participants