Skip to content

Feature implementation from commits 02c3d51..b397fba#1

Open
yashuatla wants to merge 30 commits intofeature-base-1from
feature-head-1
Open

Feature implementation from commits 02c3d51..b397fba#1
yashuatla wants to merge 30 commits intofeature-base-1from
feature-head-1

Conversation

@yashuatla
Copy link
Copy Markdown
Owner

@yashuatla yashuatla commented Jun 24, 2025

PR Summary

Code Cleanup and Build Configuration Updates

Overview

This PR focuses on code cleanup and build configuration improvements across multiple packages, including removing unnecessary async keywords, simplifying type signatures, and updating Vite configurations to use custom conditions for @TanStack packages.

Change Types

Type Description
Refactor Removed unnecessary async keywords from test functions
Refactor Simplified type signature in QueryClient class
Enhancement Updated build configurations to use custom conditions
Refactor Standardized environment behavior in useQueries function

Affected Modules

Module / File Change Description
angular-query-experimental/src/__tests__/inject-mutation.test.ts Removed unnecessary async keyword from test function
angular-query-persist-client/vite.config.ts Updated Vite config to use custom conditions for @TanStack packages
svelte-query-devtools/vite.config.ts Removed tsconfigPaths plugin and added @tanstack/custom-condition
vue-query/src/__tests__/queryClient.test.ts Removed unnecessary async keywords from test functions
vue-query/src/queryClient.ts Simplified type signature of invalidateQueries method
vue-query/src/useQueries.ts Standardized behavior to always apply readonly/shallowReadonly wrappers

tannerlinsley and others added 30 commits April 14, 2025 10:54
* Remove prdicate typing

* Removing generics everywhere

* Fix type errors

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
… used in functions with explicit return types (TanStack#9030)

* fix(query-core): fix setQueryData type inference in typed contexts

* test(query-core): add test case for setQueryData type inference in functions

* fix(vue-query): fix setQueryData type inference in typed contexts

* test(vue-query): add test case for setQueryData type inference in functions
…k#9004)

* test(query-core): use fake timers for queryObserver.test.tsx

* chore: update

* chore: migrate

* chore: update

* Removes unused testing library dependency

Deletes `@testing-library/dom` from devDependencies in package.json and pnpm-lock.yaml to clean up unused dependencies and streamline the project's dependency tree.

* chore: update

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
…anStack#9054)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…test.ts (TanStack#9067)

* test(query-persist-client-core): use fake timers for createPersister.test.ts

* refactor: remove unnecessary export

---------

Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
…on` and `NonUndefinedGuard`, similar to react-query (TanStack#9073)

* fix(vue-query): update `initialData` type to allow InitialDataFunction and NonUndefinedGuard, similar to react-query

* ci: apply automated fixes

* test: update types to include `undefined` in useQueries and useQuery tests in vue-query

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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.