Skip to content
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

feat(codemod): add codemod that replaces the react-query import specifiers #3801

Merged
merged 4 commits into from
Jul 13, 2022

Conversation

TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented Jul 13, 2022

No description provided.

@vercel
Copy link

vercel bot commented Jul 13, 2022

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

Name Status Preview Updated
query ✅ Ready (Inspect) Visit Preview Jul 13, 2022 at 10:16AM (UTC)

@TkDodo
Copy link
Collaborator Author

TkDodo commented Jul 13, 2022

the build errors are fixed in another PR :/

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 13, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 505da09:

Sandbox Source
@tanstack/query-example-react-basic Configuration
@tanstack/query-example-react-basic-typescript Configuration

@codecov-commenter
Copy link

Codecov Report

Merging #3801 (7449ad0) into beta (e0aad73) will decrease coverage by 0.29%.
The diff coverage is 92.81%.

@@            Coverage Diff             @@
##             beta    #3801      +/-   ##
==========================================
- Coverage   97.11%   96.81%   -0.30%     
==========================================
  Files          50       58       +8     
  Lines        2391     2669     +278     
  Branches      706      783      +77     
==========================================
+ Hits         2322     2584     +262     
- Misses         67       83      +16     
  Partials        2        2              
Impacted Files Coverage Δ
packages/query-core/src/infiniteQueryObserver.ts 100.00% <ø> (ø)
packages/query-core/src/logger.ts 100.00% <ø> (ø)
packages/react-query-devtools/src/Logo.tsx 100.00% <ø> (ø)
...kages/react-query-devtools/src/styledComponents.ts 92.30% <ø> (ø)
packages/react-query-devtools/src/theme.tsx 100.00% <ø> (ø)
packages/react-query-devtools/src/useMediaQuery.ts 92.30% <ø> (ø)
...-persist-client/src/PersistQueryClientProvider.tsx 100.00% <ø> (ø)
packages/react-query-persist-client/src/persist.ts 92.85% <ø> (ø)
...ages/react-query/codemods/v4/key-transformation.js 97.36% <ø> (ø)
packages/react-query/codemods/v4/utils/index.js 98.50% <ø> (ø)
... and 68 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7cfe5f...7449ad0. Read the comment docs.

@TkDodo TkDodo merged commit 5ed190b into TanStack:beta Jul 13, 2022
@TkDodo TkDodo deleted the feature/replace-import-specifier-codemod branch July 13, 2022 10:23
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