astro-with-clerk-auth

Community Astro SDK for Clerk with starter `astro-clerk-auth`

MIT License

Downloads
3.1K
Stars
45

Bot releases are visible (Hide)

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • 6054242: Support for hotloading clerk-js. Hotloading ensures that your application always run the latest and most stable version of Clerk.

    To enabled it, update the import path for the clerk integration to look like this

    import clerk from "astro-clerk-auth/hotload";
    
    export default defineConfig({
      integrations: [
        ...
        clerk({
          afterSignInUrl: "/",
          afterSignUpUrl: "/",
        }),
      ],
    });
    

    If in your app you are using updateClerkOptions from astro-clerk-auth/client you can update that import path to astro-clerk-auth/client/hotload

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • 03d94be: Replace .enterWith() with .run() when using async local storage.
    • After this change, usage of ClerkLayout will not be necessary for React SSR work properly.

Patch Changes

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • 3b3c26f: Enable installation with astro add command.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 112b4b6: Bump clerk beta versions
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 4b57912: Update documentation for protecting api routes.
  • f723cb6: Bump clerk packages.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • abadd2f: Re-export @clerk/backend from '/server'
  • 5b70352: Bump clerk beta versions.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 86ed346: Bump clerk beta
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 20e9708: Improve html semantics by positioning __CLERK_ASTRO_DATA__ inside the <head> tag.
  • 6a1d3dc: Bump clerk beta versions.
  • 81a70ce: Remove redirect as AuthReason.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 9e05766: Set vite configuration to target es2022.
  • 7d8a6dc: Recreate types from astro in order to avoid issues with exported types in Astro 3 and 4 where used directly.
    Astro 3 exported the types as generics whereas in Astro 4 those were regular types, this was causing the end type consumed in the package to be any.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • b72d6d1: Bump @clerk packages:
    • @clerk/backend to 1.0.0-beta-v5.19
    • @clerk/clerk-js to 5.0.0-beta-v5.21
    • @clerk/shared to 2.0.0-beta-v5.12
    • @clerk/types to 4.0.0-beta-v5.14
  • 5de3bec: Introduce the usage of AsyncLocalStorage to pass authObject as initial value for useAuth.
    • Changed compilerOptions.target from ES2020 to ES2022.
    • Renamed $ssrState store to $initialState.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • b20a1f8: Improve package.json of astro-clerk-auth
    Remove @clerk/* packages from external in tsup config
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • cd923d8: Remove carret from dependecies and remove unecessary module and type definitions in package.json.
  • 2f191a5: Update description of package.json.
  • 0837c36: Rename componentPropsMap to __astro_clerk_component_props.
  • 39fbfae: Remove duplication when injecting scripts in the integration.
  • 159af70: Update clerk-js to 5.0.0-beta-v5.20. Add clerk as dependencies instead of peer dependencies.
astro-with-clerk-auth - [email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 3915562: Initial release of the package.