Skip to content

refactor(shared): rename clerk-rq directory to query#8445

Open
jacekradko wants to merge 1 commit intojacek/clerk-rq-invert-ownershipfrom
jacek/rename-clerk-rq-dir
Open

refactor(shared): rename clerk-rq directory to query#8445
jacekradko wants to merge 1 commit intojacek/clerk-rq-invert-ownershipfrom
jacek/rename-clerk-rq-dir

Conversation

@jacekradko
Copy link
Copy Markdown
Member

Summary

Renames packages/shared/src/react/clerk-rq/packages/shared/src/react/query/. The rq shorthand was opaque ("react-query"); query/ reads naturally and matches the existing function vocabulary (useClerkQuery, getClerkQueryClient, useClerkInfiniteQuery).

Pure directory rename — no behavior change, no public surface change. The clerk-rq path was internal to @clerk/shared (which itself is described as an internal SDK utility package); not exposed via subpath exports, not referenced in any CHANGELOG or docs.

11 files relocated, 16 import sites updated, two doc comments refreshed. The stable __tag: 'clerk-rq-client' runtime identifier in mocks/clerk.ts is intentionally untouched to avoid behavior churn.

Stacking

Based on jacek/clerk-rq-invert-ownership (#8434). Will need to be retargeted to main once that PR merges, or merged through it.

Test plan

  • pnpm --filter @clerk/shared test — 1076 tests pass, no type errors
  • pnpm --filter @clerk/shared build — clean
  • grep clerk-rq returns only the deliberate runtime tag and the parent PR's changeset

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment May 2, 2026 0:25am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 2, 2026

🦋 Changeset detected

Latest commit: 550cbdd

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

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

Copy link
Copy Markdown
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

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

🧹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants