clerk / javascript

Official Javascript repository for Clerk authentication
https://clerk.com
MIT License
980 stars 221 forks source link

fix(astro): Accessing import.meta at build causes app to break #3675

Closed panteliselef closed 2 weeks ago

panteliselef commented 2 weeks ago

Description

Pretty much what the title says

Checklist

Type of change

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 282cce2beb5159032359caab3e834b9a6179a177

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 commented 2 weeks ago

!snapshot

clerk-cookie commented 2 weeks ago
Hey @panteliselef - the snapshot version command generated the following package versions: Package Version
@clerk/astro 0.0.2-snapshot.v282cce2
gatsby-plugin-clerk 5.0.0-beta.45
@clerk/testing 1.1.10-snapshot.v282cce2

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

npm i @clerk/astro@0.0.2-snapshot.v282cce2 --save-exact

gatsby-plugin-clerk

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

@clerk/testing

npm i @clerk/testing@1.1.10-snapshot.v282cce2 --save-exact
panteliselef commented 2 weeks ago

I've verified with the snapshot that this PR fixes the issue.