Skip to content

chore(backend): Add getAuth() type helper tests #6079

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
merged 13 commits into from
Jun 6, 2025

Conversation

wobsoriano
Copy link
Member

@wobsoriano wobsoriano commented Jun 6, 2025

Description

This PR is a follow up to #6067 adding Vitest type tests and type improvements

Checklist

  • pnpm test runs as expected.
  • pnpm 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:

Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 11:16pm

Copy link

changeset-bot bot commented Jun 6, 2025

🦋 Changeset detected

Latest commit: 2088ba1

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

This PR includes changesets to release 11 packages
Name Type
@clerk/backend Patch
@clerk/nextjs Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/tanstack-react-start Patch
@clerk/testing 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

@wobsoriano
Copy link
Member Author

!snapshot

Copy link

pkg-pr-new bot commented Jun 6, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6079

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6079

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6079

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6079

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6079

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6079

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6079

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6079

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6079

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6079

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6079

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6079

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6079

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6079

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6079

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6079

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6079

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6079

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6079

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6079

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6079

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6079

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6079

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6079

commit: 2088ba1

@wobsoriano wobsoriano requested a review from tmilewski June 6, 2025 20:41
@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/agent-toolkit 0.1.1-snapshot.v20250606204042
@clerk/astro 2.9.1-snapshot.v20250606204042
@clerk/backend 2.0.1-snapshot.v20250606204042
@clerk/chrome-extension 2.4.12-snapshot.v20250606204042
@clerk/clerk-js 5.68.1-snapshot.v20250606204042
@clerk/clerk-expo 2.13.1-snapshot.v20250606204042
@clerk/express 1.7.0-snapshot.v20250606204042
@clerk/fastify 2.4.0-snapshot.v20250606204042
@clerk/nextjs 6.21.1-snapshot.v20250606204042
@clerk/nuxt 1.7.1-snapshot.v20250606204042
@clerk/react-router 1.6.0-snapshot.v20250606204042
@clerk/remix 4.8.1-snapshot.v20250606204042
@clerk/tanstack-react-start 0.17.0-snapshot.v20250606204042
@clerk/testing 1.8.1-snapshot.v20250606204042

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

npm i @clerk/agent-toolkit@0.1.1-snapshot.v20250606204042 --save-exact

@clerk/astro

npm i @clerk/astro@2.9.1-snapshot.v20250606204042 --save-exact

@clerk/backend

npm i @clerk/backend@2.0.1-snapshot.v20250606204042 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.4.12-snapshot.v20250606204042 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.68.1-snapshot.v20250606204042 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.13.1-snapshot.v20250606204042 --save-exact

@clerk/express

npm i @clerk/express@1.7.0-snapshot.v20250606204042 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.4.0-snapshot.v20250606204042 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.21.1-snapshot.v20250606204042 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.7.1-snapshot.v20250606204042 --save-exact

@clerk/react-router

npm i @clerk/react-router@1.6.0-snapshot.v20250606204042 --save-exact

@clerk/remix

npm i @clerk/remix@4.8.1-snapshot.v20250606204042 --save-exact

@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.17.0-snapshot.v20250606204042 --save-exact

@clerk/testing

npm i @clerk/testing@1.8.1-snapshot.v20250606204042 --save-exact

@wobsoriano
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

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

Package Version
@clerk/agent-toolkit 0.1.1-snapshot.v20250606225548
@clerk/astro 2.9.1-snapshot.v20250606225548
@clerk/backend 2.0.1-snapshot.v20250606225548
@clerk/chrome-extension 2.4.12-snapshot.v20250606225548
@clerk/clerk-js 5.68.1-snapshot.v20250606225548
@clerk/clerk-expo 2.13.1-snapshot.v20250606225548
@clerk/express 1.7.0-snapshot.v20250606225548
@clerk/fastify 2.4.0-snapshot.v20250606225548
@clerk/nextjs 6.21.1-snapshot.v20250606225548
@clerk/nuxt 1.7.1-snapshot.v20250606225548
@clerk/react-router 1.6.0-snapshot.v20250606225548
@clerk/remix 4.8.1-snapshot.v20250606225548
@clerk/tanstack-react-start 0.17.0-snapshot.v20250606225548
@clerk/testing 1.8.1-snapshot.v20250606225548

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

npm i @clerk/agent-toolkit@0.1.1-snapshot.v20250606225548 --save-exact

@clerk/astro

npm i @clerk/astro@2.9.1-snapshot.v20250606225548 --save-exact

@clerk/backend

npm i @clerk/backend@2.0.1-snapshot.v20250606225548 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.4.12-snapshot.v20250606225548 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.68.1-snapshot.v20250606225548 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.13.1-snapshot.v20250606225548 --save-exact

@clerk/express

npm i @clerk/express@1.7.0-snapshot.v20250606225548 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.4.0-snapshot.v20250606225548 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.21.1-snapshot.v20250606225548 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.7.1-snapshot.v20250606225548 --save-exact

@clerk/react-router

npm i @clerk/react-router@1.6.0-snapshot.v20250606225548 --save-exact

@clerk/remix

npm i @clerk/remix@4.8.1-snapshot.v20250606225548 --save-exact

@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.17.0-snapshot.v20250606225548 --save-exact

@clerk/testing

npm i @clerk/testing@1.8.1-snapshot.v20250606225548 --save-exact

@wobsoriano wobsoriano enabled auto-merge (squash) June 6, 2025 23:12
@wobsoriano wobsoriano merged commit 183e382 into main Jun 6, 2025
36 checks passed
@wobsoriano wobsoriano deleted the rob/get-auth-type-tests branch June 6, 2025 23:22
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