* test(query-devtools/Devtools): add tests for online toggle
* test(query-devtools/Devtools): remove redundant 'should set "onlineManager" offline' covered by label swap test
* test(query-devtools/Devtools): add tests for resize handle
* test(query-devtools/Devtools): assert 'panel' is 'HTMLElement' instead of 'not.toBeNull' for stronger 'getBoundingClientRect' guarantee
* test(query-devtools/Devtools): assert non-null before parsing 'localStorage' value to prevent 'Number(null) === 0' false positive in decrease assertions
* test(query-devtools/Devtools): add tests for settings menu
* ci: apply automated fixes
* test(query-devtools/Devtools): fail fast with 'expect' instead of conditional guards on selector lookups
* test(query-devtools/Devtools): coerce 'el.textContent' to string for 'TS18047' under strict 'vue-tsc' build
* test(query-devtools/Devtools): remove redundant 'should render the settings button' covered by other settings menu tests
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* test(query-devtools/Devtools): add tests for query list rendering, filtering, and status indicators
* test(query-devtools/Devtools): use 'some' to find 'CLEAR_MUTATION_CACHE' event in dispatched calls
* test(query-devtools/Devtools): use 'vi.useFakeTimers' and 'vi.advanceTimersByTimeAsync' for microtask flush
* test(query-devtools/Devtools): assert tooltip visibility on hover/focus instead of badge presence
* test(query-devtools/Devtools): add tests for initial state from 'initialIsOpen' and 'localStore.open'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* test(query-devtools/utils): add test for stale vs fresh rank in 'status' sort of 'sortFns'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat lit-query: add initial lit-query package
* remove internal docs from initial PR
* fix review issues
* align scripts with monorepo Nx targets and use workspace:* for query-core
* feat(lit-query): fix type inference and monorepo integration
- Fix createQueriesController tuple type inference with recursive types
- Add DataTag support to queryOptions
- Fix build config and vitest custom-condition resolution
- Fix example install scripts for standalone bootstrap
* fix(lit-query): polish package validation and examples
* ci: apply automated fixes
* lit-query: preserve provider handshake ordering in BaseController
* Update .changeset/lemon-memes-divide.md
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
* removing prettier config from adapter, so that global config from the monorepo is used
* removed the package local format scripts so formatting stays centralized at the monorepo root
* removing like other adapters keep build and test:build as separate targets
* Compared against the other adapters and removed the lit-query-only aliases/gates, keeping the standard Nx target names so root CI can pick them up consistently
* package:check has been removed. The CJS smoke check is still needed because lit-query publishes custom CJS output/types
* fix(lit-query): align lit examples and integration with monorepo conventions
* chore(lit-query): clean up stale package checks
* fix(lit-query): address review feedback for lit examples and lifecycle tests
* chore: fix lockfile
* fix: add customCondition
* docs(lit-query): add Lit docs and generated reference
* docs(lit-query): fix Lit docs review comment and align examples
---------
Co-authored-by: gauravchugh <gauravchugh@servicenow.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* test(vue-query-devtools): set up vitest environment with production fallback test
* chore(vue-query-devtools): unify 'defineConfig' and 'mergeConfig' import from 'vitest/config'
Follow-up to #10510. That PR removed NoInfer from all three persister
generics to fix TQueryFnData inference when the companion queryFn
declares a parameter (#7842). Keeping NoInfer on TQueryKey preserves
that fix while preventing the persister slot from widening TQueryKey
inference.
Without NoInfer on TQueryKey, the persister slot contributes to
TQueryKey inference. When Register.queryKey is augmented to a narrowed
constraint, TQueryKey widens to that constraint instead of the literal
passed to queryKey. Wrappers that brand their return with
DataTag<TQueryKey, ...> then produce a brand on the wider type, which
a plain literal tuple can no longer satisfy in contravariant positions
(vi.mocked(...).mockReturnValue, typed variable assignments, etc.).
TQueryFnData still participates in inference, so #10510's positive and
negative type tests continue to pass.
Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
* test(react-query-devtools): add tests for missing 'QueryClient', context provider, 'client' prop, and production fallback
* ci: apply automated fixes
* test(react-query-devtools): make production fallback test deterministic with 'vi.stubEnv' and 'vi.resetModules'
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>