refactor(shared): rename clerk-rq directory to query#8445
Open
jacekradko wants to merge 1 commit intojacek/clerk-rq-invert-ownershipfrom
Open
refactor(shared): rename clerk-rq directory to query#8445jacekradko wants to merge 1 commit intojacek/clerk-rq-invert-ownershipfrom
jacekradko wants to merge 1 commit intojacek/clerk-rq-invert-ownershipfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 550cbdd The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames
packages/shared/src/react/clerk-rq/→packages/shared/src/react/query/. Therqshorthand 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-rqpath 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 inmocks/clerk.tsis intentionally untouched to avoid behavior churn.Stacking
Based on
jacek/clerk-rq-invert-ownership(#8434). Will need to be retargeted tomainonce that PR merges, or merged through it.Test plan
pnpm --filter @clerk/shared test— 1076 tests pass, no type errorspnpm --filter @clerk/shared build— cleangrep clerk-rqreturns only the deliberate runtime tag and the parent PR's changeset